summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Issue #12841: Fix tarfile extraction of non-existent uids/gids.Lars Gustäbel2011-09-051-0/+5
| | | | | | | | | | | | | | | | | | | | | tarfile unnecessarily checked the existence of numerical user and group ids on extraction. If one of them did not exist the respective id of the current user (i.e. root) was used for the file and ownership information was lost. (Patch by Sebastien Luttringer)
* | | Issue #12764: Fix a crash in ctypes when the name of a Structure field is notAmaury Forgeot d'Arc2011-09-021-0/+3
|/ / | | | | | | a string.
* | Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed toAmaury Forgeot d'Arc2011-08-301-0/+3
| | | | | | | | some functions like file.write().
* | Make bdist_* commands respect --skip-build passed to bdist (#10946)Éric Araujo2011-08-291-0/+3
| |
* | Issue #12287: Fix a stack corruption in ossaudiodev module when the FD isCharles-François Natali2011-08-281-0/+3
| | | | | | | | greater than FD_SETSIZE.
* | Issue #12839: Fix crash in zlib module due to version mismatch.Nadeem Vawda2011-08-282-0/+4
| | | | | | | | | | | | | | | | | | If the version of zlib used to compile the zlib module is incompatible with the one that is actually linked in, then calls into zlib will fail. This can leave attributes of the z_stream uninitialized, so we must take care to avoid segfaulting by trying to use an invalid pointer. Fix by Richard M. Tew.
* | Issue #12786: Set communication pipes used by subprocess.Popen CLOEXEC to avoidCharles-François Natali2011-08-251-0/+3
| | | | | | | | them being inherited by other subprocesses.
* | Issue #4106: Fix occasional exceptions printed out by multiprocessing on ↵Antoine Pitrou2011-08-241-0/+3
| | | | | | | | | | | | | | interpreter shutdown. This bug doesn't seem to exist on 3.2, where daemon threads are killed before Py_Finalize() is entered.
* | Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-0/+3
| | | | | | | | Also added some tests.
* | Issue #12821: Fix test_fcntl failures on OpenBSD 5.Charles-François Natali2011-08-231-0/+2
| |
* | Issue #12678: Fix distutils sdist test on Windows.Nadeem Vawda2011-08-211-0/+1
| | | | | | | | Patch by Jeremy Kloth.
* | Issue #12213: Fix a buffering bug with interleaved reads and writes thatAntoine Pitrou2011-08-201-0/+3
| | | | | | | | could appear on io.BufferedRandom streams.
* | Issue #12326: sys.platform is now always 'linux2' on LinuxVictor Stinner2011-08-201-0/+3
| | | | | | | | Even if Python is compiled on Linux 3.
* | Guard shutil._make_archive against a logger=None argument.Éric Araujo2011-08-191-0/+2
| | | | | | | | | | Backporting two lines from the 3.x tests was enough to trigger the bug. I also took the opportunity of making the logging call lazy.
* | Issue #12650: Fix a race condition where a subprocess.Popen could leakCharles-François Natali2011-08-181-0/+3
| | | | | | | | resources (FD/zombie) when killed at the wrong time.
* | NEWS entry.Barry Warsaw2011-08-151-0/+3
| |
* | #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and ↵Ezio Melotti2011-08-151-0/+3
| | | | | | | | cased non-letter characters.
* | Fix closes issue12683 - urljoin to work with relative join of svn scheme.Senthil Kumaran2011-08-031-0/+3
| |
* | Fix incorrect mtime comparison in distutils (#11933).Éric Araujo2011-08-022-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a regression introduced in 9211a5d7d0b4, when uses of ST_MTIME constants were changed to uses of st_mtime attributes. As diagnosed in the bug report, this change is not merely stylistic: st_mtime is a float but ST_MTIME’s resolution is rounded to the seconds, so there was a mismatch between the values seen by file_util and dep_util which caused an sdist to be unnecessarily created a second time on an ext4 filesystem. This patch has been tested by John S. Gruber, who reported the bug. As this is a simple code revert, I think it’s okay to commit without a unit test.
* | Stop trying to write into the stdlib during lib2to3 tests (#12331).Éric Araujo2011-07-311-0/+3
| | | | | | | | | | This prevents tests from failing when run from a Python installed in a read-only directory.
* | Fix regression with distutils MANIFEST handing (#11104, #8688).Éric Araujo2011-07-312-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The changed behavior of sdist in 2.7 broke packaging for projects that wanted to use a manually-maintained MANIFEST file (instead of having a MANIFEST.in template and letting distutils generate the MANIFEST). The fixes that were committed for #8688 (d29399100973 by Tarek and f7639dcdffc3 by me) did not fix all issues exposed in the bug report, and also added one problem: the MANIFEST file format gained comments, but the read_manifest method was not updated to handle (i.e. ignore) them. This changeset should fix everything; the tests have been expanded and I successfully tested with Mercurial, which suffered from this regression. I have grouped the versionchanged directives for these bugs in one place and added micro version numbers to help users know the quirks of the exact version they’re using. I also removed a stanza in the docs that was forgotten in Tarek’s first changeset. Initial report, thorough diagnosis and patch by John Dennis, further work on the patch by Stephen Thorne, and a few edits and additions by me.
* | Make “pydoc somebuiltin.somemethod” work (#8887)Éric Araujo2011-07-291-0/+3
| |
* | Issue 12514: Use try/finally to assure that timeit restores GC when done.Raymond Hettinger2011-07-292-0/+4
| |
* | Fixes #10639: reindent.py should not convert newlinesJason R. Coombs2011-07-271-0/+6
| | | | | | | | Backport of changeset 070dc6e359fb, reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
* | - Issue #12603: Fix pydoc.synopsis() on files with non-negative st_mtime.Charles-François Natali2011-07-271-0/+2
| |
* | Issue #12607: In subprocess, fix issue where if stdin, stdout or stderr isRoss Lagerwall2011-07-271-0/+3
| | | | | | | | given as a low fd, it gets overwritten.
* | Issue #12590: IDLE editor window now always displays the first lineNed Deily2011-07-271-0/+3
| | | | | | | | when opening a long file. With Tk 8.5, the first line was hidden.
* | Issue #12102: Document that buffered files must be flushed before being usedRoss Lagerwall2011-07-251-0/+3
| | | | | | | | with mmap. Patch by Steffen Daode Nurpmeso.
* | Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.Charles-François Natali2011-07-242-0/+3
| |
* | Issue #1813: Fix codec lookup and setting/getting locales under Turkish locales.Antoine Pitrou2011-07-241-0/+3
| |
* | Fix typo in NEWS entry for dbf1e1a27427.Nadeem Vawda2011-07-231-1/+1
| |
* | Issue #10883: Fix socket leaks in urllib.request.Nadeem Vawda2011-07-231-0/+2
| | | | | | | | | | | | | | | | * ftpwrapper now uses reference counting to ensure that the underlying socket is closed when the ftpwrapper object is no longer in use * ftplib.FTP.ntransfercmd() now closes the socket if an error occurs Initial patch by Victor Stinner.
* | Issue #12592: Make Python build on OpenBSD 5 (and future major releases).Charles-François Natali2011-07-221-0/+2
| |
* | news noteBenjamin Peterson2011-07-221-0/+3
| |
* | Issue #12372: POSIX semaphores are broken on AIX: don't use them.Charles-François Natali2011-07-211-0/+2
| |
* | Upstream merge.Barry Warsaw2011-07-191-9/+17
|\ \
| * | - Issue #10309: Define _GNU_SOURCE so that mremap() gets the properBarry Warsaw2011-07-191-9/+17
| | | | | | | | | | | | | | | signature. Without this, architectures where sizeof void* != sizeof int are broken. Patch given by Hallvard B Furuseth.
* | | Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory,Antoine Pitrou2011-07-191-0/+4
|/ / | | | | | | so that "import DLFCN" and other similar imports work on Linux 3.0.
* | #7484: no more <> around addresses in VRFY or EXPNR David Murray2011-07-191-0/+3
| | | | | | | | | | | | The RFC doesn't say that they are allowed; apparently many mailers accept them, but not postfix. Contributions to this patch were made by Felipe Cruz and Catalin Iacob.
* | Issue #12574: correct capitalization of the Queue module. Patch by Rafe KettlerEli Bendersky2011-07-171-0/+1
| |
* | Issue #11603: Fix a crash when __str__ is rebound as __repr__.Antoine Pitrou2011-07-151-0/+3
| | | | | | | | Patch by Andreas Stührk.
* | port 8d05f697acd4 (#11627)Benjamin Peterson2011-07-151-0/+3
| |
* | Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.Charles-François Natali2011-07-141-0/+2
| |
* | Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'Ned Deily2011-07-131-0/+3
| | | | | | | | | | as the processor type on some Mac systems. Also fix NameError in fallback _mac_ver_gestalt function. And remove out-of-date URL in docs.
* | Close #4376: ctypes now supports nested structures in a endian different thanVictor Stinner2011-07-132-0/+4
| | | | | | | | the parent structure. Patch by Vlad Riscutia.
* | Issue #12149: Update the method cache after a type's dictionnary getsAntoine Pitrou2011-07-122-0/+7
| | | | | | | | | | | | | | | | | | cleared by the garbage collector. This fixes a segfault when an instance and its type get caught in a reference cycle, and the instance's deallocator calls one of the methods on the type (e.g. when subclassing IOBase). Diagnosis and patch by Davide Rizzo.
* | Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporaryAntoine Pitrou2011-07-091-0/+3
| | | | | | | | | | | | failure in name resolution. Should fix a buildbot failure.
* | Avoid failing in test_robotparser when mueblesmoraleda.com is flaky andAntoine Pitrou2011-07-081-0/+4
| | | | | | | | | | an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder Web site.
* | Avoid failing in test_urllibnet.test_bad_address when some overzealousAntoine Pitrou2011-07-081-0/+4
| | | | | | | | | | DNS service (e.g. OpenDNS) resolves a non-existent domain name. The test is now skipped instead.
* | Close #12501: Adjust callable() warning: callable() is only not supported inVictor Stinner2011-07-081-0/+3
| | | | | | | | Python 3.1. callable() is again supported in Python 3.2.