summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Closes #12291: Fixed bug which was found when doing multiple loads from one ↵Vinay Sajip2011-07-021-0/+3
| | | | stream.
* Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block isCharles-François Natali2011-07-021-0/+3
|\ | | | | | | freed by the garbage collector while the Heap lock is held.
| * Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed byCharles-François Natali2011-07-021-0/+3
| | | | | | | | the garbage collector while the Heap lock is held.
| * onto 3.1.5Benjamin Peterson2011-06-111-0/+12
| |
| * bump to 3.1.4v3.1.4Benjamin Peterson2011-06-111-1/+1
| |
* | Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.Antoine Pitrou2011-06-301-0/+2
| |
* | Issue #12451: The XInclude default loader of xml.etree now decodes files fromVictor Stinner2011-06-301-0/+5
| | | | | | | | | | | | UTF-8 instead of the locale encoding if the encoding is not specified. It now also opens XML files for the parser in binary mode instead of the text mode to avoid encoding issues.
* | Issue #12451: doctest.debug_script() doesn't create a temporary file anymore toVictor Stinner2011-06-301-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, toVictor Stinner2011-06-301-0/+3
| | | | | | | | read the Python script from the right encoding.
* | Issue #12451: distutils now opens the setup script in binary mode to read theVictor Stinner2011-06-301-0/+3
| | | | | | | | encoding cookie, instead of opening it in UTF-8.
* | Issue #12400: regrtest -W doesn't rerun the tests twice anymore, but capturesVictor Stinner2011-06-291-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 Deily2011-06-291-0/+11
| |
* | Issue #12141: Install a copy of template C module file so thatNed Deily2011-06-281-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() andNed Deily2011-06-281-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.9Ned Deily2011-06-281-0/+3
| | | | | | | | on Mac OS X. (Patch by Ronald Oussoren)
* | Issue 12404: Remove C89 incompatible code from mmap module.Ross Lagerwall2011-06-251-0/+3
| | | | | | | | Patch by Akira Kitada.
* | Close #12383: Fix subprocess module with env={}: don't copy the environmentVictor Stinner2011-06-211-0/+3
| | | | | | | | variables, start with an empty environment.
* | #11584: make Header and make_header handle binary unknown-8bit inputR David Murray2011-06-181-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 correctlyR David Murray2011-06-181-0/+3
| | | | | | | | This updates b21fdfa0019c, which fixed this bug incorrectly.
* | #11700: proxy object close methods can now be called multiple timesR David Murray2011-06-181-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 leakR David Murray2011-06-171-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.requestVictor Stinner2011-06-171-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 Curtin2011-06-131-0/+15
|\ \
| * | allow "fake" filenames in findsource (closes #9284)Benjamin Peterson2011-06-111-0/+3
| | | | | | | | | | | | | | | | | | This allows findsource() to work in doctests. A patch from Dirkjan Ochtman.
| * | merge 3.1 (#12009)Benjamin Peterson2011-06-101-0/+2
| |\ \ | | |/
| | * fix regression in netrc comment handling (closes #12009)Benjamin Peterson2011-06-101-0/+5
| | |
| * | #10694: zipfile now ignores garbage at the end of a zipfile.R David Murray2011-06-091-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 Murray2011-06-091-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 Sajip2011-06-091-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 Curtin2011-06-081-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 Curtin2011-06-131-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 Hettinger2011-06-031-0/+2
| |
* | merge 3.1 (#12221)Benjamin Peterson2011-06-011-0/+5
|\ \ | |/
| * simply use the Python version for pyexpat.__version__ #12221Benjamin Peterson2011-05-311-0/+10
| |
| * bump to 3.1.4rc1Benjamin Peterson2011-05-291-3/+3
| |
| * Issue #12205: Fix test_subprocess failure due to uninstalled test data.Ned Deily2011-05-291-0/+2
| |
* | Close #12085: Fix an attribute error in subprocess.Popen destructor if theVictor Stinner2011-05-311-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 codecsVictor Stinner2011-05-301-0/+6
| | | | | | | | iso2022_jp, iso2022_jp_2 and iso2022_kr
* | Issue #1195: fix the issue number of the NEWS entryVictor Stinner2011-05-301-1/+1
| |
* | Issue #12016: my_fgets() now always clears errors before calling fgets(). FixVictor Stinner2011-05-301-0/+4
| | | | | | | | | | the following case: sys.stdin.read() stopped with CTRL+d (end of file), raw_input() interrupted by CTRL+c.
* | Branch mergeÉric Araujo2011-05-291-4/+4
|\ \
| * | Fix typos in Misc/NEWSÉric Araujo2011-05-291-4/+4
| | |
* | | Issue #11217: For 64-bit/32-bit Mac OS X universal framework builds,Ned Deily2011-05-281-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 Deily2011-05-281-0/+3
|\ \ \ | | |/ | |/| | | | Patch by Mher Movsisyan.
| * | Issue #985064: Make plistlib more resilient to faulty input plists.Ned Deily2011-05-281-0/+3
| | | | | | | | | | | | Patch by Mher Movsisyan.
* | | Issue #9670: Increase the default stack size for secondary threads onNed Deily2011-05-281-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 onNed Deily2011-05-281-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 Stinner2011-05-251-3/+5
|\ \ | |/ | | | | returns None.
| * Issue #12175: RawIOBase.readall() now returns None if read() returns None.Victor Stinner2011-05-251-0/+2
| |
* | (Merge 3.1) Issue #12175: FileIO.readall() now raises a ValueError instead ofVictor Stinner2011-05-251-0/+3
|\ \ | |/ | | | | an IOError if the file is closed.