summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #13988: move the python bootstrap code to cElementTree.py, and remove ↵Florent Xicluna2012-02-111-0/+150
| | | | obsolete code for Python 2.4 and 2.5.
* simplifyPhilip Jenvey2012-02-101-4/+1
|
* Issue #13590: mergeNed Deily2012-02-101-1/+32
|\
| * 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: merge with 3.2.Ezio Melotti2012-02-102-1/+54
|\ \ | |/
| * #13960: HTMLParser is now able to handle broken comments when strict=False.Ezio Melotti2012-02-102-1/+54
| |
* | Use sys.version_info instead of sys.version in packaging.Éric Araujo2012-02-108-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | The contents of this attribute are an implementation detail, as documented for #9442, so we should not parse it, to support non-CPython VMs with distutils2 in the future. Unfortunately, one use comes directly from PEP 345, so an edit will have to be agreed before fixing the code (see comment in p7g.markers). Other remaining uses are found in p7g.compiler and could be replaced by the platform module (which also parses sys.version, but then it wouldn’t be my fault :)
* | Branch mergeÉric Araujo2012-02-1011-253/+167
|\ \
| * | Start improving 2to3 code in packaging (#13462).Éric Araujo2012-02-096-194/+97
| | | | | | | | | | | | | | | | | | - Change the fixers used in tests to something not provided by lib2to3 - Test conversion of doctests in text files - Factor out test boilerplate into a common method
| * | Synchronize packaging.tests.support with distutils2Éric Araujo2012-02-091-19/+22
| | |
| * | More boolean tests for packaging metadata environment markersÉric Araujo2012-02-091-3/+7
| | |
| * | Remove unneeded importÉric Araujo2012-02-091-1/+1
| | |
| * | Group commands by topic in “pysetup run --list-commands” output.Éric Araujo2012-02-093-36/+40
| | | | | | | | | | | | | | | | | | This fixes a regression from distutils, where “setup.py --help-commands” prints out commands grouped by topic (i.e. building vs. installing), which is more useful than using sorted.
* | | Undocument and clean up sqlite3.OptimizedUnicodePetri Lehtinen2012-02-091-0/+2
| | | | | | | | | | | | Closes #13921.
* | | Undo a bad mq management thingy.Brett Cannon2012-02-091-44/+0
| | |
* | | Whitespace normalization.Brett Cannon2012-02-081-1/+0
| | |
* | | Use the cwd when the empty string is found in sys.path. This leads toBrett Cannon2012-02-082-1/+55
| | | | | | | | | | | | | | | __file__ being an absolute path when the module is found in the current directory.
* | | Move setup code from importlib.__init__ toBrett Cannon2012-02-082-27/+47
| | | | | | | | | | | | importlib._bootstrap._setup().
* | | Don't fail in the face of a lacking attribute when wrapping aBrett Cannon2012-02-081-1/+2
| | | | | | | | | | | | function.
* | | get_terminal_size() can also fail with ENOTTY if the fd is not connected to ↵Antoine Pitrou2012-02-081-2/+9
| | | | | | | | | | | | a terminal.
* | | Relax tests to fix buildbot failureAntoine Pitrou2012-02-082-4/+4
| | |
* | | Issue #13609: Add two functions to query the terminal size:Antoine Pitrou2012-02-083-1/+128
| | | | | | | | | | | | | | | os.get_terminal_size (low level) and shutil.get_terminal_size (high level). Patch by Zbigniew Jędrzejewski-Szmek.
* | | Backout f8409b3d6449: the PEP 410 is not accepted yetVictor Stinner2012-02-082-60/+4
| | |
* | | PEP 410Victor Stinner2012-02-082-4/+60
| | |
* | | 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.
| * | 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 #8184: multiprocessing: On Windows, don't set SO_REUSEADDR on ConnectionCharles-François Natali2012-02-082-3/+20
| |/ |/| | | | | | | sockets, and set FILE_FLAG_FIRST_PIPE_INSTANCE on named pipes, to make sure two listeners can't bind to the same socket/pipe (or any existing socket/pipe).
* | Issue #13964: Skip os.*utime*() tests if os.stat() doesn't support timestampVictor Stinner2012-02-081-0/+11
| | | | | | | | with a subsecond resolution
* | Issue #13964: Split os.*utime*() subsecond tests into multiple tests to helpVictor Stinner2012-02-081-38/+75
| | | | | | | | debugging
* | Issue #13964: Test also os.futimesat()Victor Stinner2012-02-081-1/+8
| |
* | Issue #13964: Write tests for new os.*utime*() functionsVictor Stinner2012-02-081-0/+37
| |
* | Issue #13846: Add time.monotonic(), monotonic clock.Victor Stinner2012-02-071-1/+17
| |
* | Re-order importlib benchmarks to be consistent. Also print out what ↵Brett Cannon2012-02-071-6/+8
| | | | | | | | implementation of __import__ is used.
* | MergeBrett Cannon2012-02-073-7/+7
|\ \
| * | Following Nick's suggestion, rename posix.fdlistdir() to posix.flistdir(), toCharles-François Natali2012-02-063-7/+7
| | | | | | | | | | | | | | | be consistent with other functions accepting file descriptors (fdlistdir() was added in 3.3, so hasn't been released yet).
* | | Have importlib.test.benchmark test with tabnanny as a medium-sized test.Brett Cannon2012-02-071-32/+58
|/ /
* | Fix typos in comments.Éric Araujo2012-02-061-3/+3
| | | | | | | | | | Reported by David-Sarah Hopwood on the Bitbucket bug tracker of Tarek’s former verlib/distutils.version project.
* | Issue #10881: mergeNed Deily2012-02-061-10/+13
|\ \ | |/
| * Issue #10881: Fix test_site failure with OS X framework builds.Ned Deily2012-02-051-10/+13
| |
* | Merge with 3.2 #964437Terry Jan Reedy2012-02-052-11/+64
|\ \ | |/
| * Issue 964437 Make IDLE help window non-modal.Terry Jan Reedy2012-02-052-11/+64
| | | | | | | | Patch by Guilherme Polo and Roger Serwy.
* | Merge with 3.2Terry Jan Reedy2012-02-051-4/+2
|\ \ | |/ | | | | #13933 refine patch using 'new' builtin
| * #13933 refine patch using 'new' builtinTerry Jan Reedy2012-02-051-4/+2
| |
* | Issue #13734: Add os.fwalk(), a directory walking function yielding fileCharles-François Natali2012-02-052-7/+154
| | | | | | | | descriptors.
* | Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715)Éric Araujo2012-02-053-1/+21
|\ \ | |/
| * 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 :)
* | | Branch mergeÉric Araujo2012-02-056-47/+95
|\ \ \