- 26 Feb, 2007 3 commits
-
-
Neal Norwitz authored
-
Jeremy Hylton authored
-
Georg Brandl authored
-
- 25 Feb, 2007 7 commits
-
-
Thomas Wouters authored
Don't use a fixed temporary name (gdbm). Don't use our own temp name creation (dbm). Should be backported to 2.5.
-
Neal Norwitz authored
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 authored
- clean up bogus use of the {datadescni} environment everywhere
-
Jeremy Hylton authored
-
Jeremy Hylton authored
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 authored
-
Neal Norwitz authored
-
- 23 Feb, 2007 2 commits
-
-
Brett Cannon authored
things cannot be raised or caught.
-
Neal Norwitz authored
-
- 21 Feb, 2007 2 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 19 Feb, 2007 10 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Martin v. Löwis authored
functions on platforms where the underlying system calls are available.
-
Lars Gustäbel authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 16 Feb, 2007 2 commits
-
-
Vinay Sajip authored
-
Brett Cannon authored
-
- 15 Feb, 2007 5 commits
-
-
Brett Cannon authored
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 authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Martin v. Löwis authored
-
- 14 Feb, 2007 4 commits
-
-
Lars Gustäbel authored
Buildbot.
-
Martin v. Löwis authored
whether to rerun libffi configure.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
- 13 Feb, 2007 5 commits
-
-
Lars Gustäbel authored
gzip header.
-
Lars Gustäbel authored
filename attribute is still accessible as a property that emits a DeprecationWarning.
-
Martin v. Löwis authored
Will backport.
-
Martin v. Löwis authored
Will backport to 2.5.
-
Martin v. Löwis authored
Fixes #1514451.
-