summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* #12601: fix typo.Ezio Melotti2011-07-211-1/+1
|
* Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory,Antoine Pitrou2011-07-195-0/+1083
| | | | 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-192-8/+14
| | | | | | 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.
* Backport 2eb8789e30e7.Alex Gaynor2011-07-171-6/+15
|
* Issue #11603: Fix a crash when __str__ is rebound as __repr__.Antoine Pitrou2011-07-151-0/+8
| | | | Patch by Andreas Stührk.
* port 8d05f697acd4 (#11627)Benjamin Peterson2011-07-151-0/+8
|
* Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.Charles-François Natali2011-07-141-2/+4
|
* Issue #12250: test_socketserver uses a timeout of 60 seconds instead of 20Victor Stinner2011-07-141-2/+1
| | | | | test_shutdown() may fail on very slow buildbots like FreeBSD 6.4 just because of the arbitrary timeout.
* carefully cleanup pointer cache after creating struct pointersBenjamin Peterson2011-07-141-12/+12
|
* Issue #12549: Correct test_platform to not fail when OS X returns 'x86_64'Ned Deily2011-07-132-1/+2
| | | | | 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-18/+36
| | | | the parent structure. Patch by Vlad Riscutia.
* this can be done without a custom dict (also fixes #12544)Benjamin Peterson2011-07-131-22/+3
|
* Issue #12149: Update the method cache after a type's dictionnary getsAntoine Pitrou2011-07-121-1/+18
| | | | | | | | | 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/+1
| | | | | | failure in name resolution. Should fix a buildbot failure.
* Avoid failing in test_robotparser when mueblesmoraleda.com is flaky andAntoine Pitrou2011-07-081-1/+16
| | | | | 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/+8
| | | | | 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/+1
| | | | Python 3.1. callable() is again supported in Python 3.2.
* Issue #8716: Instead of relying on Aqua Tk exceptions to detect lack ofNed Deily2011-07-061-28/+38
| | | | | OS X window manager connection in tk tests, use OS X Application Services API calls instead.
* Issue #8716: Back out temporary changeset 18ce15f841cfNed Deily2011-07-051-14/+0
|
* Issue #8716: Add temporary code for 2.7 to help diagnose buildbot failure.Ned Deily2011-07-051-0/+14
|
* Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missingVictor Stinner2011-07-051-0/+2
|
* Issue #12493: subprocess: communicate() handles EINTRVictor Stinner2011-07-052-3/+19
| | | | | subprocess.Popen.communicate() now also handles EINTR errors if the process has only one pipe.
* test_io: make quiet the DeprecationWarning('classic int division')Victor Stinner2011-07-051-1/+1
|
* test_array: make quiet the DeprecationWarningVictor Stinner2011-07-051-1/+4
|
* Issue #12429: Skip interrupted write tests on FreeBSD <= 7Victor Stinner2011-07-041-0/+2
| | | | On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.
* Issue #8716: Fix errors in the non-OS X path of the 27 backport.Ned Deily2011-07-041-1/+2
|
* Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to runNed Deily2011-07-043-16/+45
| | | | | test_tk or test_ttk_guionly under a username that is not currently logged in to the console windowserver (as may be the case under buildbot or ssh).
* Issue #10734: Temporarily disable test_ttk test_heading_callback on 2.7 as well.Ned Deily2011-07-041-1/+2
|
* Issue #12467: warnings: fix a race condition if a warning is emitted atVictor Stinner2011-07-041-0/+12
| | | | shutdown, if globals()['__file__'] is None.
* Fix closes issue12438 - idlelib.PyShell's showformatwarning method was ↵Senthil Kumaran2011-07-041-1/+1
| | | | passing an incorrect arg.
* Issue #12352: In test_free_from_gc(), restore the GC thresholds even if the GCCharles-François Natali2011-07-021-4/+3
| | | | wasn't enabled at first.
* Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed byCharles-François Natali2011-07-022-6/+58
| | | | the garbage collector while the Heap lock is held.
* Issue #11870: Skip test_threading.test_2_join_in_forked_process() on platformsVictor Stinner2011-07-011-22/+13
| | | | | | | with known OS bugs Share the list of platforms with known OS bugs with other tests. Patch written by Charles-François Natali.
* Fixup repr for dict_proxy objects.Raymond Hettinger2011-06-291-0/+4
|
* Issue #9516: Change distutils to no longer globally attempt to check andNed Deily2011-06-292-16/+27
| | | | | | | | | | | | | | | | | | | | set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process on OS X. This could cause failures in non-distutils subprocesses and was unreliable since tests or user programs could modify the interpreter environment after distutils set it. Instead, have distutils set the the deployment target only in the environment of each build subprocess. Continue to use the previous algorithm for deriving the deployment target value: if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env: use the interpreter build configure MACOSX_DEPLOYMENT_TARGET elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value: use the env MACOSX_DEPLOYMENT_TARGET else: # env value less than interpreter build configure value raise exception This allows building extensions that can only run on newer versions of the OS than the version python was built for, for example with a python built for 10.3 or later and an extension that needs to be built for 10.5.
* Issue #9516: Correct and expand OS X deployment target tests in distutilsNed Deily2011-06-291-11/+38
| | | | test_build_ext.
* Issue #12141: Install a copy of template C module file so thatNed Deily2011-06-281-0/+5
| | | | | 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-282-12/+50
| | | | | | | 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-4/+16
| | | | on Mac OS X. (Patch by Ronald Oussoren)
* fix wsBenjamin Peterson2011-06-271-1/+1
|
* add more ast tests (closes #11302)Benjamin Peterson2011-06-271-0/+178
| | | | A patch from Vincent Legoll.
* strip trailing wsBenjamin Peterson2011-06-272-6/+6
|
* update profile license (closes #12417)Benjamin Peterson2011-06-272-49/+32
|
* Fix closes issue1067702 The problem with close multiple ftp transfers were ↵Senthil Kumaran2011-06-261-3/+4
| | | | due cases where sockets/file were not closed immediately. Tightned those cases and failure is no longer observed.
* Issue 11802: filecmp cache was growing without bound.Raymond Hettinger2011-06-251-5/+6
|
* Issue 10326: Fix regression to get test cases to pickle again.Raymond Hettinger2011-06-252-7/+43
|
* Code simplification suggested by Sven Marnach.Raymond Hettinger2011-06-251-5/+3
|
* Revert d370d609d09b as requested by Terry Jan Reedy:Victor Stinner2011-06-201-1/+1
| | | | "#3067: locale.setlocale() accepts a Unicode locale."
* Issue #12285: multiprocessing.Pool() raises a ValueError if the number ofVictor Stinner2011-06-202-0/+5
| | | | processes if negative or null.
* Close #3067: locale.setlocale() accepts a Unicode locale.Victor Stinner2011-06-201-1/+1
|