- 31 Mar, 2009 25 commits
-
-
Georg Brandl authored
-
Georg Brandl authored
........ r70858 | georg.brandl | 2009-03-31 13:38:56 -0500 (Di, 31 Mär 2009) | 1 line #5241: document missing U in regex howto. ........
-
R. David Murray authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70779 | r.david.murray | 2009-03-30 19:10:37 -0400 (Mon, 30 Mar 2009) | 3 lines Actually suppress warnings in test_at_least_import_untested_modules inside the catch_warnings context manager. ........
-
Raymond Hettinger authored
-
Kristján Valur Jónsson authored
-
Kristján Valur Jónsson authored
get_file() no longer leaks a FILE structure. If given a file descriptor, it calls dup() to get a new handle. Then both the FILE object and the fd can be closed. This is important, because otherwise, the leaked FILE object will be closed on process exit, causing assertions on Windows, e.g. in the test_multiprocessing.py regression test.
-
Georg Brandl authored
Forward-port of #992207 fix: document that the parser only accepts \\n newlines. (And remove a leftover footnote.)
-
Georg Brandl authored
........ r70838 | georg.brandl | 2009-03-31 11:54:38 -0500 (Di, 31 Mär 2009) | 1 line #992207: document that the parser only accepts \\n newlines. ........
-
Jeremy Hylton authored
carefully tested.
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
........ r70825 | georg.brandl | 2009-03-31 10:46:30 -0500 (Di, 31 Mär 2009) | 1 line #5566: fix versionadded from PyLong ssize_t functions. ........
-
Jeremy Hylton authored
svn+ssh://pythondev@svn.python.org/python/trunk The merge ran into a lot of conflicts because dicts were replaced with sets in the Python 3 version of the symbol table. ........ r70801 | jeremy.hylton | 2009-03-31 09:17:03 -0400 (Tue, 31 Mar 2009) | 3 lines Add is_declared_global() which distinguishes between implicit and explicit global variables. ........ r70809 | jeremy.hylton | 2009-03-31 09:48:15 -0400 (Tue, 31 Mar 2009) | 14 lines Global statements from one function leaked into parallel functions. Re http://bugs.python.org/issue4315 The symbol table used the same name dictionaries to recursively analyze each of its child blocks, even though the dictionaries are modified during analysis. The fix is to create new temporary dictionaries via the analyze_child_block(). The only information that needs to propagate back up is the names of the free variables. Add more comments and break out a helper function. This code doesn't get any easier to understand when you only look at it once a year. ........
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Request are now available as public attributes, e.g. full_url and host. The accessor methods are deprecated. The implementation replace the complicated __getattr__ machinery with a _parse() method. The response from an HTTP request is now an HTTPResponse instance instead of an addinfourl() wrapper instance. The wrapper provided minimal extract functionality and was undocumented. The API of addinfourl() was preserved, except for close hooks, by adding a few methods and public attributes to the HTTPResponse class.
-
Hirokazu Yamamoto authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70800 | hirokazu.yamamoto | 2009-03-31 22:13:05 +0900 | 1 line Issue #5387: Fixed mmap.move crash by integer overflow. ........
-
Ronald Oussoren authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70802 | ronald.oussoren | 2009-03-31 08:20:45 -0500 (Tue, 31 Mar 2009) | 4 lines Minor update to OSX build-installer script, needed to ensure that the build will succeed in a clean checkout and with a non-default deployment target. ........
-
Georg Brandl authored
Fix segfaults when running test_exceptions with coverage tracing, caused by wrongly defining Exception.__context__ as a T_OBJECT structmember which does not set the member to NULL on None assignment, and generally does not do type checks. This could be used to crash the interpreter by setting any object to __context__. The same applies to __cause__. Also document the PyException_* functions.
-
Brett Cannon authored
than str did not output the type of the argument but the object itself.
-
Jesse Noller authored
-
Jesse Noller authored
-
Georg Brandl authored
Add new copydir_run_2to3() function, for use e.g. in test runners to transparently convert and run tests written for Python 2.
-
Georg Brandl authored
-
- 30 Mar, 2009 15 commits
-
-
Ronald Oussoren authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70778 | ronald.oussoren | 2009-03-30 18:10:35 -0500 (Mon, 30 Mar 2009) | 4 lines Fix issue #4865: add /Library/Python/2.7/site-packages to sys.path on OSX, to make it easier to share (some) installed packages between the system install and a user install. ........
-
Barry Warsaw authored
"Port" the fix for issue 1974 from the trunk (2.7). Because Python 3.x does things much better, less changes are necessary. This also shoves test_email_codecs_rename.py onto test_email_codecs.py even though the test needs to be ported to Python 3.
-
Jesse Noller authored
-
Guido van Rossum authored
imp.find_module() were converted to UTF-8 while the path is converted to the default filesystem encoding, causing nonsense. Thanks to Andrew Svetlov. (This time to the right branch. Will block duplicate merge to 3.0.2.)
-
Senthil Kumaran authored
-
Brett Cannon authored
strftime). Already didn't accept bytes but make the check earlier. This also lifts the limitation of requiring ASCII. Closes issue #5236. Thanks Tennessee Leeuwenburg.
-
Georg Brandl authored
-
Guido van Rossum authored
-
Ronald Oussoren authored
-
Ronald Oussoren authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70746 | ronald.oussoren | 2009-03-30 15:02:08 -0500 (Mon, 30 Mar 2009) | 2 lines Fix for issue 13095 ........
-
Ronald Oussoren authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70741 | ronald.oussoren | 2009-03-30 14:56:25 -0500 (Mon, 30 Mar 2009) | 2 lines Fixes issue 5270 ........
-
Brett Cannon authored
entries in sys.path_importer_cache. While this differs from semantics in how __import__ works, it prevents any implicit semantics from taking hold with users.
-
Ronald Oussoren authored
on OSX.
-
Ronald Oussoren authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70737 | ronald.oussoren | 2009-03-30 14:34:51 -0500 (Mon, 30 Mar 2009) | 6 lines * Set a custom icon on the Python installer DMG * Remove last traces of "MacPython" * Add options to build different flavors of the installer (still defaulting to a 2-way universal build that runs on OSX 10.3) ........
-
Ronald Oussoren authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70735 | ronald.oussoren | 2009-03-30 14:22:56 -0500 (Mon, 30 Mar 2009) | 3 lines Remove usage of the deprecated '-cString' and '+stringWithCString:' API's in PythonLauncher, replacing them with the correct counterparts. ........
-