summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* fix whitespace normalization before pushing.Gregory P. Smith2012-02-121-5/+5
|
* Issue #13930: Adds ability for 2to3 to write its output to a differentGregory P. Smith2012-02-124-14/+233
| | | | | | | | | directory tree instead of overwriting the input files. Adds three command line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix. Feature backports into stable release branches for 2to3 are allowed by a special exemption: http://mail.python.org/pipermail/python-dev/2011-December/115089.html
* Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotesPetri Lehtinen2012-02-122-22/+36
| | | | Closes #9750
* Issue #10287: nntplib now queries the server's CAPABILITIES again after ↵Antoine Pitrou2012-02-122-6/+61
| | | | | | authenticating (since the result may change, according to RFC 4643). Patch by Hynek Schlawack.
* Fix distutils.filelist.FileList under Windows (#13193).Éric Araujo2012-02-121-4/+2
| | | | | | | | The code used to call os.path.join to build a regex but without escaping the backslash, which lead to test failures on Windows. Antoine Pitrou fixed it in 0a94e2f807c7 by enhancing the code to accept both / and \, with proper escaping, but in my opinion this goes against the distutils feature freeze, hence this change.
* Issue #13989: Document that GzipFile does not support text mode.Nadeem Vawda2012-02-111-4/+7
| | | | Also, give a more helpful error message when opened with an invalid mode string.
* Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, buildingNed Deily2012-02-101-1/+32
| | | | | | | | | | | | | | Distutils-based packages with C extension modules may fail because Apple has removed gcc-4.2, the version used to build python.org 64-bit/32-bit Pythons. If the user does not explicitly override the default C compiler by setting the CC environment variable, Distutils will now attempt to compile extension modules with clang if gcc-4.2 is required but not found. Also as a convenience, if the user does explicitly set CC, substitute its value as the default compiler in the Distutils LDSHARED configuration variable for OS X. (Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u SDK, neither of which are available in Xcode 4. This change does not attempt to override settings to support their use with Xcode 4.)
* #13960: HTMLParser is now able to handle broken comments when strict=False.Ezio Melotti2012-02-102-1/+54
|
* Skip test_threading.test_reinit_tls_after_fork() on platforms where fork()Charles-François Natali2012-02-081-0/+1
| | | | can't be called reliably from a worker thread.
* Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ↵Petri Lehtinen2012-02-061-0/+22
| | | | ProgrammingError now.
* Issue #10881: Fix test_site failure with OS X framework builds.Ned Deily2012-02-051-10/+13
|
* Issue 964437 Make IDLE help window non-modal.Terry Jan Reedy2012-02-052-11/+64
| | | | Patch by Guilherme Polo and Roger Serwy.
* #13933 refine patch using 'new' builtinTerry Jan Reedy2012-02-051-4/+2
|
* Branch mergeÉric Araujo2012-02-053-1/+21
|\
| * Really make bztar support in shutil conditional.Éric Araujo2012-02-051-1/+0
| | | | | | | | | | This dict entry is added a few lines after if the bzip2 module is available, but removing this line was forgotten.
| * Stop ignoring RPMs in distutils' upload command (#2945).Éric Araujo2012-01-152-0/+21
| | | | | | | | | | | | | | Bug reported by Hartmut Goebel and patch contributed by Carl Robben. Carl tested the fix and we have a buildbot with rpm installed, so I’m committing even though I could not run this test (but I do understand the changed code :)
* | Issue #12142: Fixed reference cycle when importing ctypesMeador Inge2012-02-051-1/+1
| |
* | Issue #13933: IDLE auto-complete did not work with some importedNed Deily2012-02-041-2/+2
| | | | | | | | module, like hashlib. (Patch by Roger Serwy)
* | Fix failing test on big-endian machines (issue #13806).Antoine Pitrou2012-02-041-8/+23
| |
* | Issue #8184: Fix a potential file descriptor leak when aCharles-François Natali2012-02-041-4/+8
| | | | | | | | multiprocessing.Connection socket can't be bound.
* | remove unused importBenjamin Peterson2012-02-041-1/+0
| |
* | Issue #13861: Prevent test_apropos* test case failures in test_pydoc.Ned Deily2012-02-031-2/+2
| |
* | Issue #13901: Prevent test_distutils failures on OS X with --enable-shared.Ned Deily2012-02-031-2/+8
| |
* | Merge.Charles-François Natali2012-02-021-0/+23
|\ \
| * | Issue #13817: After fork(), reinit the ad-hoc TLS implementation earlier to fixCharles-François Natali2012-02-021-0/+23
| | | | | | | | | | | | | | | a random deadlock when fork() is called in a multithreaded process in debug mode, and make PyOS_AfterFork() more robust.
* | | Document absoluteness of sys.executablePetri Lehtinen2012-02-021-0/+3
|/ / | | | | | | Closes #13402.
* | Issue #1813: Revert workaround for a glibc bug on the Fedora buildbot.Stefan Krah2012-02-021-3/+0
| |
* | merge. again.Brian Curtin2012-02-011-1/+1
|\ \
| * | Add a hint that CSD == Service Pack.Brian Curtin2012-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | People searcing for the way to get a "service pack" will never find that we provide it here, and people that find this function won't know what CSD is until they run the function. On top of this, they won't know what the value means unless they really have a service pack installed. CSD, or Customer Service Diagnostics, is apparently no longer used, and was rarely used term at that. Most references to it online are from universities making Windows 2000 and XP service packs available to students.
* | | sqlite3: Handle strings with embedded zeros correctlyPetri Lehtinen2012-02-012-1/+43
|/ / | | | | | | Closes #13676.
* | whitespaceTerry Jan Reedy2012-01-311-1/+1
| |
* | #13506 Add '' to path for interactive interpreter by adding with_cwd parameterTerry Jan Reedy2012-01-312-9/+15
| | | | | | | | | | to PyShell.PyShell.transfer_path() and changing elsewhere as needed. Original patches by Marco Scataglini and Roger Serwy.
* | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵Antoine Pitrou2012-01-292-0/+10
| | | | | | | | | | | | in the file name. Patch by Hynek Schlawack.
* | remove tests from really old regex moduleBenjamin Peterson2012-01-291-285/+0
| |
* | Issue #13806: The size check in audioop decompression functions was too ↵Antoine Pitrou2012-01-281-6/+19
| | | | | | | | | | | | strict and could reject valid compressed data. Patch by Oleg Plakhotnyuk.
* | Issue #13895: fix test_ssl hanging under UbuntuAntoine Pitrou2012-01-281-20/+20
| |
* | Issue #13894: Skip test_threading.CRLockTests if _CRLock isn't available. PatchCharles-François Natali2012-01-281-0/+1
| | | | | | | | by Matt Joiner.
* | Fix intermittent test_ssl failure.Antoine Pitrou2012-01-271-0/+1
| |
* | Issue #13812: When a multiprocessing Process child raises an exception, ↵Antoine Pitrou2012-01-273-5/+27
| | | | | | | | flush stderr after printing the exception traceback.
* | Issue 13870: Fix out of date comment.Raymond Hettinger2012-01-261-1/+1
| |
* | Closes #13859: Replaced reference to StandardError with reference to ↵Vinay Sajip2012-01-251-1/+1
| | | | | | | | Exception. Thanks to Matt Joiner for spotting this and submitting a patch.
* | Port import fixes from 2.7.Antoine Pitrou2012-01-252-2/+2
| |
* | Port remaining test fixes, and fix test_importlib too.Antoine Pitrou2012-01-252-1/+14
| |
* | Make test work under 32-bit systems, and when invoked through ↵Antoine Pitrou2012-01-251-8/+16
| | | | | | | | | | | | Lib/test/regrtest.py (rather than `-m test.regrtest`)
* | Issue #11235: Fix OverflowError when trying to import a source file whose ↵Antoine Pitrou2012-01-242-0/+29
| | | | | | | | modification time doesn't fit in a 32-bit timestamp.
* | Issue #13772: In os.symlink() under Windows, do not try to guess the linkAntoine Pitrou2012-01-241-2/+7
| | | | | | | | | | target's type (file or directory). The detection was buggy and made the call non-atomic (therefore prone to race conditions).
* | Fix a unittest error seen on NetBSD 5.Gregory P. Smith2012-01-221-2/+12
| |
* | Fixes issue #8052: The posix subprocess module's close_fds behavior wasGregory P. Smith2012-01-211-0/+18
| | | | | | | | | | | | | | | | suboptimal by closing all possible file descriptors rather than just the open ones in the child process before exec(). It now closes only the open fds when it is possible to safely determine what those are.
* | Fix Issue6631 - Disallow relative file paths in urllib urlopenSenthil Kumaran2012-01-213-0/+7
| |
* | #13760: picklability tests for configparser exceptionsŁukasz Langa2012-01-201-0/+145
| |