- 29 Sep, 2010 16 commits
-
-
Victor Stinner authored
Redecode the filenames of: - all modules: __file__ and __path__ attributes - all code objects: co_filename attribute - sys.path - sys.meta_path - sys.executable - sys.path_importer_cache (keys) Keep weak references to all code objects until initfsencoding() is called, to be able to redecode co_filename attribute of all code objects.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
now conforms to the philosophy of bytes and unicode separation in Python 3. A test suite has also been added.
-
Brian Curtin authored
r85073 changed the importing in wintypes to not use *, so the previous usage here became even more incorrect.
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Victor Stinner authored
* Convert unicode to wide character string before creating the PyCapsule object * Catch integer overflow * Avoid useless memset() * Prepare the support of surrogates
-
Victor Stinner authored
Allocate memory with PyMem_Alloc() instead of the PyBytes API. Prepare the surrogates support.
-
Victor Stinner authored
It simplifies the code and prepare the surrogates support.
-
Victor Stinner authored
Don't truncate path if it is too long anymore, and allocate fewer memory (but allocate it on the heap, not on the stack).
-
Victor Stinner authored
-
Victor Stinner authored
Use the same behaviour than Python 2.7.
-
Victor Stinner authored
lines variable was not set on IOError
-
R. David Murray authored
-
R. David Murray authored
Patch by Sandro Tosi.
-
- 28 Sep, 2010 18 commits
-
-
Antoine Pitrou authored
of the concrete objects layer, while the buffer protocol is part of the abstract objects layer.
-
Antoine Pitrou authored
instead.
-
Antoine Pitrou authored
-
R. David Murray authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
retry the select() loop instead of bailing out. This is because select() can incorrectly report a socket as ready for reading (for example, if it received some data with an invalid checksum).
-
Hirokazu Yamamoto authored
-
Hirokazu Yamamoto authored
-
Hirokazu Yamamoto authored
-
Hirokazu Yamamoto authored
-
Antoine Pitrou authored
-
Ronald Oussoren authored
-
Ronald Oussoren authored
on MacOSX. Patch by Sylvain Mora, issue #9701.
-
Hirokazu Yamamoto authored
-
Hirokazu Yamamoto authored
-
Mark Dickinson authored
-
Hirokazu Yamamoto authored
-
- 27 Sep, 2010 6 commits
-
-
Brett Cannon authored
people towards importlib.import_module(). Closes issue #7397.
-
Brian Curtin authored
DeleteKeyEx, and OpenKeyEx. Note that CKE and DKE are new functions for 3.2 so I didn't give them a versionchanged because of the existing versionadded. OpenKeyEx already existed so it gets a versionchanged tag.
-
Antoine Pitrou authored
received. Now sendall() properly calls signal handlers if necessary, and retries sending if these returned successfully, including on sockets with a timeout.
-
Alexander Belopolsky authored
- Eliminated code repetition between run and runctx; - Removed redundant calls to dict.key; - Removed unused "blabbed" attribute; - Simplified the loop in write_results_file().
-
Vinay Sajip authored
-
Kristján Valur Jónsson authored
Add a Py_SetPath api to override magic path computations when starting up python.
-