Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #12451: doctest.debug_script() doesn't create a temporary file anymore to | Victor Stinner | 2011-06-30 | 1 | -0/+3 |
| | | | | | | avoid encoding issues (it used the locale encoding, whereas UTF-8 should be). Remove also an unused import (warnings). | ||||
* | Issue #12451: pydoc.synopsis() now reads the encoding cookie if available, to | Victor Stinner | 2011-06-30 | 1 | -0/+3 |
| | | | | read the Python script from the right encoding. | ||||
* | Issue #12451: distutils now opens the setup script in binary mode to read the | Victor Stinner | 2011-06-30 | 1 | -0/+3 |
| | | | | encoding cookie, instead of opening it in UTF-8. | ||||
* | Issue #12400: regrtest -W doesn't rerun the tests twice anymore, but captures | Victor Stinner | 2011-06-29 | 1 | -0/+4 |
| | | | | | the output and displays it on failure instead. regrtest -v doesn't print the error twice anymore if there is only one error. | ||||
* | Issue #9516: Update Misc/NEWS. | Ned Deily | 2011-06-29 | 1 | -0/+11 |
| | |||||
* | Issue #12141: Install a copy of template C module file so that | Ned Deily | 2011-06-28 | 1 | -0/+4 |
| | | | | | test_build_ext of test_distutils is no longer silently skipped when run outside of a build directory. | ||||
* | Issue #8746: Correct faulty configure checks so that os.chflags() and | Ned Deily | 2011-06-28 | 1 | -0/+8 |
| | | | | | | | os.lchflags() are once again built on systems that support these functions (*BSD and OS X). Also add new stat file flags for OS X (UF_HIDDEN and UF_COMPRESSED). Also add additional tests for os.chflags() and os.lchflags(). (Tests by Garrett Cooper) | ||||
* | Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9 | Ned Deily | 2011-06-28 | 1 | -0/+3 |
| | | | | on Mac OS X. (Patch by Ronald Oussoren) | ||||
* | Issue 12404: Remove C89 incompatible code from mmap module. | Ross Lagerwall | 2011-06-25 | 1 | -0/+3 |
| | | | | Patch by Akira Kitada. | ||||
* | Close #12383: Fix subprocess module with env={}: don't copy the environment | Victor Stinner | 2011-06-21 | 1 | -0/+3 |
| | | | | variables, start with an empty environment. | ||||
* | #11584: make Header and make_header handle binary unknown-8bit input | R David Murray | 2011-06-18 | 1 | -1/+2 |
| | | | | | | | | Analogous to the decode_header fix, this fix makes Header.append and make_header correctly handle the unknown-8bit charset introduced by email5.1, when the input to them is binary strings. Previous to this fix the make_header(decode_header(x)) == x invariant was broken in the face of the unknown-8bit charset. | ||||
* | #11584: make decode_header handle Header objects correctly | R David Murray | 2011-06-18 | 1 | -0/+3 |
| | | | | This updates b21fdfa0019c, which fixed this bug incorrectly. | ||||
* | #11700: proxy object close methods can now be called multiple times | R David Murray | 2011-06-18 | 1 | -0/+3 |
| | | | | This makes them work like the close provided by regular file objects. | ||||
* | #11767: use context manager to close file in __getitem__ to prevent FD leak | R David Murray | 2011-06-17 | 1 | -0/+2 |
| | | | | | | | | All of the other methods in mailbox that create message objects take care to close the file descriptors they use, so it seems to make sense to have __getitem__ do so as well. Patch by Filip Gruszczyński. | ||||
* | Issue #12133: fix a ResourceWarning in urllib.request | Victor Stinner | 2011-06-17 | 1 | -0/+4 |
| | | | | | | AbstractHTTPHandler.do_open() of urllib.request closes the HTTP connection if its getresponse() method fails with a socket error. Patch written by Ezio Melotti. | ||||
* | branch merge? | Brian Curtin | 2011-06-13 | 1 | -0/+15 |
|\ | |||||
| * | allow "fake" filenames in findsource (closes #9284) | Benjamin Peterson | 2011-06-11 | 1 | -0/+3 |
| | | | | | | | | | | | | This allows findsource() to work in doctests. A patch from Dirkjan Ochtman. | ||||
| * | merge 3.1 (#12009) | Benjamin Peterson | 2011-06-10 | 1 | -0/+2 |
| |\ | |||||
| | * | fix regression in netrc comment handling (closes #12009) | Benjamin Peterson | 2011-06-10 | 1 | -0/+5 |
| | | | |||||
| * | | #10694: zipfile now ignores garbage at the end of a zipfile. | R David Murray | 2011-06-09 | 1 | -0/+2 |
| | | | | | | | | | | | | Original fix by 'rep', final patch (with tests) by Xuanji Li. | ||||
| * | | #12283: Fixed regression in smtplib quoting of leading dots in DATA. | R David Murray | 2011-06-09 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | I unfortunately introduced the regression when I refactored the code, and there were no tests of quoting so it wasn't caught. Now there is one. | ||||
| * | | Issue #12168: SysLogHandler now allows NUL termination to be controlled ↵ | Vinay Sajip | 2011-06-09 | 1 | -0/+3 |
| | | | | | | | | | | | | using a new 'append_nul' attribute on the handler. | ||||
| * | | Fix #11583. Changed os.path.isdir to use GetFileAttributes instead of os.stat. | Brian Curtin | 2011-06-08 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | By changing to the Windows GetFileAttributes API in nt._isdir we can figure out if the path is a directory without opening the file via os.stat. This has the minor benefit of speeding up os.path.isdir by at least 2x for regular files and 10-15x improvements were seen on symbolic links (which opened the file multiple times during os.stat). Since os.path.isdir is used in several places on interpreter startup, we get a minor speedup in startup time. | ||||
* | | | Fix #12084. os.stat on Windows wasn't working properly with relative symlinks. | Brian Curtin | 2011-06-13 | 1 | -0/+3 |
|/ / | | | | | | | | | | | | | | | | | | | | | Use of DeviceIoControl to obtain the symlink path via the reparse tag was removed. The code now uses GetFinalPathNameByHandle in the case of a symbolic link and works properly given the added test which creates a symbolic link and calls os.stat on it from multiple locations. Victor Stinner also noticed an issue with os.lstat following the os.stat code path when being passed bytes. The posix_lstat function was adjusted to properly hook up win32_lstat instead of the previous STAT macro (win32_stat). | ||||
* | | Fix named tuples to work with vars(). | Raymond Hettinger | 2011-06-03 | 1 | -0/+2 |
| | | |||||
* | | merge 3.1 (#12221) | Benjamin Peterson | 2011-06-01 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | simply use the Python version for pyexpat.__version__ #12221 | Benjamin Peterson | 2011-05-31 | 1 | -0/+10 |
| | | |||||
| * | bump to 3.1.4rc1 | Benjamin Peterson | 2011-05-29 | 1 | -3/+3 |
| | | |||||
| * | Issue #12205: Fix test_subprocess failure due to uninstalled test data. | Ned Deily | 2011-05-29 | 1 | -0/+2 |
| | | |||||
* | | Close #12085: Fix an attribute error in subprocess.Popen destructor if the | Victor Stinner | 2011-05-31 | 1 | -0/+4 |
| | | | | | | | | | | constructor has failed, e.g. because of an undeclared keyword argument. Patch written by Oleg Oshmyan. | ||||
* | | Issue #12057: Add tests for ISO 2022 codecs | Victor Stinner | 2011-05-30 | 1 | -0/+6 |
| | | | | | | | | iso2022_jp, iso2022_jp_2 and iso2022_kr | ||||
* | | Issue #1195: fix the issue number of the NEWS entry | Victor Stinner | 2011-05-30 | 1 | -1/+1 |
| | | |||||
* | | Issue #12016: my_fgets() now always clears errors before calling fgets(). Fix | Victor Stinner | 2011-05-30 | 1 | -0/+4 |
| | | | | | | | | | | the following case: sys.stdin.read() stopped with CTRL+d (end of file), raw_input() interrupted by CTRL+c. | ||||
* | | Branch merge | Éric Araujo | 2011-05-29 | 1 | -4/+4 |
|\ \ | |||||
| * | | Fix typos in Misc/NEWS | Éric Araujo | 2011-05-29 | 1 | -4/+4 |
| | | | |||||
* | | | Issue #11217: For 64-bit/32-bit Mac OS X universal framework builds, | Ned Deily | 2011-05-28 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | ensure "make install" creates symlinks in --prefix bin for the "-32" files in the framework bin directory like the installer does. | ||||
* | | | Issue #985064: Make plistlib more resilient to faulty input plists. | Ned Deily | 2011-05-28 | 1 | -0/+3 |
|\ \ \ | | |/ | |/| | | | | Patch by Mher Movsisyan. | ||||
| * | | Issue #985064: Make plistlib more resilient to faulty input plists. | Ned Deily | 2011-05-28 | 1 | -0/+3 |
| | | | | | | | | | | | | Patch by Mher Movsisyan. | ||||
* | | | Issue #9670: Increase the default stack size for secondary threads on | Ned Deily | 2011-05-28 | 1 | -0/+5 |
|\ \ \ | |/ / | | / | |/ |/| | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren) | ||||
| * | Issue #9670: Increase the default stack size for secondary threads on | Ned Deily | 2011-05-28 | 1 | -0/+5 |
| | | | | | | | | | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren) | ||||
* | | (Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read() | Victor Stinner | 2011-05-25 | 1 | -3/+5 |
|\ \ | |/ | | | | | returns None. | ||||
| * | Issue #12175: RawIOBase.readall() now returns None if read() returns None. | Victor Stinner | 2011-05-25 | 1 | -0/+2 |
| | | |||||
* | | (Merge 3.1) Issue #12175: FileIO.readall() now raises a ValueError instead of | Victor Stinner | 2011-05-25 | 1 | -0/+3 |
|\ \ | |/ | | | | | an IOError if the file is closed. | ||||
| * | Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if | Victor Stinner | 2011-05-25 | 1 | -0/+3 |
| | | | | | | | | the file is closed. | ||||
* | | Issue #12070: Fix the Makefile parser of the sysconfig module to handle | Victor Stinner | 2011-05-24 | 1 | -0/+3 |
| | | | | | | | | correctly references to "bogus variable" (e.g. "prefix=$/opt/python"). | ||||
* | | (Merge 3.1) Issue #12100: Don't reset incremental encoders of CJK codecs at | Victor Stinner | 2011-05-24 | 1 | -0/+4 |
|\ \ | |/ | | | | | | | each call to their encode() method anymore, but continue to call the reset() method if the final argument is True. | ||||
| * | Issue #12100: Don't reset incremental encoders of CJK codecs at each call to | Victor Stinner | 2011-05-24 | 1 | -0/+4 |
| | | | | | | | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True. | ||||
* | | Issue #5715: In socketserver, close the server socket in the child process. | Charles-François Natali | 2011-05-24 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Issue #5715: In socketserver, close the server socket in the child process. | Charles-François Natali | 2011-05-24 | 1 | -0/+2 |
| | | |||||
* | | merge 3.1 | Benjamin Peterson | 2011-05-23 | 1 | -0/+3 |
|\ \ | |/ |