- 25 Şub, 2007 6 kayıt (commit)
-
-
Neal Norwitz yazdı
of some of the common builtin types. Use a bit in tp_flags for each common builtin type. Check the bit to determine if any instance is a subclass of these common types. The check avoids a function call and O(n) search of the base classes. The check is done in the various Py*_Check macros rather than calling PyType_IsSubtype(). All the bits are set in tp_flags when the type is declared in the Objects/*object.c files because PyType_Ready() is not called for all the types. Should PyType_Ready() be called for all types? If so and the change is made, the changes to the Objects/*object.c files can be reverted (remove setting the tp_flags). Objects/typeobject.c would also have to be modified to add conditions for Py*_CheckExact() in addition to each the PyType_IsSubtype check.
-
Fred Drake yazdı
- clean up bogus use of the {datadescni} environment everywhere
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
I can't think of an easy way to test this behavior. It only occurs when the file system default encoding and the interpreter default encoding are different, such that you can open the file but not decode its name.
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
- 23 Şub, 2007 2 kayıt (commit)
-
-
Brett Cannon yazdı
things cannot be raised or caught.
-
Neal Norwitz yazdı
-
- 21 Şub, 2007 2 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 19 Şub, 2007 10 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Martin v. Löwis yazdı
functions on platforms where the underlying system calls are available.
-
Lars Gustäbel yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 16 Şub, 2007 2 kayıt (commit)
-
-
Vinay Sajip yazdı
-
Brett Cannon yazdı
-
- 15 Şub, 2007 5 kayıt (commit)
-
-
Brett Cannon yazdı
calling __import__. This helps make the expected search locations for encoding modules be more explicit. One could use an explicit value for __path__ when making the call to __import__ to force the exact location searched for encodings. This would give the most strict search path possible if one is worried about malicious code being imported. The unfortunate side-effect of that is that if __path__ was modified on 'encodings' on purpose in a safe way it would not be picked up in future __import__ calls.
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Martin v. Löwis yazdı
-
- 14 Şub, 2007 4 kayıt (commit)
-
-
Lars Gustäbel yazdı
Buildbot.
-
Martin v. Löwis yazdı
whether to rerun libffi configure.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
- 13 Şub, 2007 7 kayıt (commit)
-
-
Lars Gustäbel yazdı
gzip header.
-
Lars Gustäbel yazdı
filename attribute is still accessible as a property that emits a DeprecationWarning.
-
Martin v. Löwis yazdı
Will backport.
-
Martin v. Löwis yazdı
Will backport to 2.5.
-
Martin v. Löwis yazdı
Fixes #1514451.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
Will backport.
-
- 12 Şub, 2007 2 kayıt (commit)
-
-
Armin Rigo yazdı
(The line has no effect anyway, but is present because it's customary call the base class __init__).
-
Martin v. Löwis yazdı
Fixes #847665. Will backport.
-