Éric Araujo
41bade96a4
Remove duplicates of cmp_to_key ( #12542 , reviewed by Raymond Hettinger)
15 years ago
Vinay Sajip
45dedaafc2
Fixes #12637 : Last resort messages now correctly handled. Thanks to Xavier de Gaye for the patch."
15 years ago
Antoine Pitrou
0e3c5a828e
Add a test for issue #1813 : getlocale() failing under a Turkish locale
(not a problem under 3.x)
15 years ago
Antoine Pitrou
cf9d3c08c8
Issue #1813 : Fix codec lookup under Turkish locales.
15 years ago
Antoine Pitrou
216a3bc36d
Issue #12624 : It is now possible to fail after the first failure when
running in verbose mode (`-v` or `-W`), by using the `--failfast`
(or `-G`) option to regrtest. This is useful with long test suites
such as test_io or test_subprocess.
15 years ago
Antoine Pitrou
ab85ff3d1a
Issue #12591 : Improve support of "universal newlines" in the subprocess
module: the piped streams can now be properly read from or written to.
(this was broken due to the 2.x to 3.x transition; communicate() support
is still sketchy)
15 years ago
Antoine Pitrou
e96ec68101
Issue #12591 : Allow io.TextIOWrapper to work with raw IO objects (without
a read1() method), and add an undocumented *write_through* parameter to
mandate unbuffered writes.
15 years ago
Nadeem Vawda
08f5f7aa81
Issue #10883 : Fix socket leaks in urllib.request.
* 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.
15 years ago
Senthil Kumaran
de02a7194c
Fix closes issue12581 - Increase the urllib.parse test coverage. Patch by Petter Haggholm.
15 years ago
Benjamin Peterson
2193d2b72b
type check AST strings and identifiers
This is related to a21829180423 as well as #12609 and #12610 .
15 years ago
Ezio Melotti
1beea5b7c1
#12601 : fix typo.
15 years ago
Ned Deily
2ea6fccf64
Issue #12587 : Correct faulty test file and reference in test_tokenize.
(Patch by Robert Xiao)
15 years ago
Antoine Pitrou
c57ed91e0c
Issue #12571 : Add a plat-linux3 directory mirroring the plat-linux2 directory,
so that "import DLFCN" and other similar imports work on Linux 3.0.
15 years ago
R David Murray
4634676cec
#7484 : no more <> around addresses in VRFY or EXPN
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.
The changeset also adds additional indirect tests for quoteaddr (null address
and IDNA-encoded address).
15 years ago
Eric V. Smith
12ebefc9d3
Closes #12579 . Positional fields with str.format_map() now raise a ValueError instead of SystemError.
15 years ago
Antoine Pitrou
0b447957c7
Close the call queue in concurrent.futures.ProcessPoolExecutor when
shutdown() is called, without waiting for the garbage collector to kick in.
15 years ago
Antoine Pitrou
f7f54759b5
Use test.script_helper in test_pydoc
15 years ago
Antoine Pitrou
a6e81a23b3
test_pydoc needs to cleanup after itself
15 years ago
Antoine Pitrou
707f228b1e
Try harder to reap dangling threads in test.support.reap_threads().
15 years ago
Antoine Pitrou
c081c0c6a0
Issue #12573 : Add resource checks for dangling Thread and Process objects.
15 years ago
Antoine Pitrou
8cdc40e3b0
Issue #11603 : Fix a crash when __str__ is rebound as __repr__.
Patch by Andreas Stührk.
15 years ago
Benjamin Peterson
5afa03a72e
catch nasty exception classes with __new__ that doesn't return a exception ( closes #11627 )
Patch from Andreas Stührk.
15 years ago
Antoine Pitrou
9470ab43a9
Make sure to reap worker threads and processes at the end of test_concurrent_futures
15 years ago
Charles-François Natali
1f0ccfa853
Merge - Issue #12502 : asyncore: fix polling loop with AF_UNIX sockets.
15 years ago
Charles-François Natali
e22813067e
Issue #12502 : asyncore: fix polling loop with AF_UNIX sockets.
15 years ago
Benjamin Peterson
eef80b6e70
this should be an identity test
15 years ago
Victor Stinner
5702ae6f3f
Issue #12250 : test_socketserver uses a timeout of 60 seconds instead of 20
test_shutdown() may fail on very slow buildbots like FreeBSD 6.4 just because
of the arbitrary timeout.
15 years ago
Ezio Melotti
7ebb706133
Restore the global state of the log vars, so that test_cgi can be run twice without failures.
15 years ago
Benjamin Peterson
6e18e04273
carefully cleanup pointer cache after creating struct pointers
15 years ago
Ned Deily
58e3350bd4
Issue #12549 : Correct test_platform to not fail when OS X returns 'x86_64'
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.
15 years ago
Victor Stinner
6636121950
Close #4376 : ctypes now supports nested structures in a endian different than
the parent structure. Patch by Vlad Riscutia.
15 years ago
Benjamin Peterson
34b2b263db
this can be done without a custom dict (also fixes #12544 )
15 years ago
Antoine Pitrou
84f1b1718d
Issue #12149 : Update the method cache after a type's dictionnary gets
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.
15 years ago
Georg Brandl
cd0dc16fdc
Bump version to 3.2.1.
15 years ago
Antoine Pitrou
4875c46538
Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
failure in name resolution.
Should fix a buildbot failure.
15 years ago
Antoine Pitrou
9163c473dc
Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
failure in name resolution.
Should fix a buildbot failure.
15 years ago
Antoine Pitrou
95531ea2f1
Avoid failing in test_robotparser when mueblesmoraleda.com is flaky and
an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder
Web site.
15 years ago
Antoine Pitrou
3aba49899c
Avoid failing in test_urllibnet.test_bad_address when some overzealous
DNS service (e.g. OpenDNS) resolves a non-existent domain name. The test
is now skipped instead.
15 years ago
Antoine Pitrou
72fff046a6
Avoid failing in test_urllibnet.test_bad_address when some overzealous
DNS service (e.g. OpenDNS) resolves a non-existent domain name. The test
is now skipped instead.
15 years ago
Antoine Pitrou
b9ac25d1c3
Issue #12440 : When testing whether some bits in SSLContext.options can be
reset, check the version of the OpenSSL headers Python was compiled against,
rather than the runtime version of the OpenSSL library.
15 years ago
Ned Deily
f6cbdc22be
Issue #8716 : Instead of relying on Aqua Tk exceptions to detect lack of
OS X window manager connection in tk tests, use OS X Application Services
API calls instead.
15 years ago
Victor Stinner
1848db891b
Issue #12493 : skip test_communicate_eintr() if signal.SIGALRM is missing
15 years ago
Victor Stinner
91e08772a6
Issue #12451 : pydoc: html_getfile() now uses tokenize.open() to support Python
scripts using a encoding different than UTF-8 (read the coding cookie of the
script).
15 years ago
Victor Stinner
2cfb6f3aa0
Issue #12493 : subprocess: communicate() handles EINTR
subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe.
15 years ago
Ned Deily
e2d519035f
Issue #12497 : Install test/data to prevent failures of the various codecmaps
tests.
15 years ago
Victor Stinner
e40b3aabfb
Issue #12469 : Run "wakeup" signal tests in subprocess to run the test in a
fresh process with only one thread and to not change signal handling of the
parent process.
15 years ago
Victor Stinner
4479841b83
Issue #12429 : Skip interrupted write tests on FreeBSD <= 7
On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.
15 years ago
Victor Stinner
cd1aa0d5ea
Issue #12429 : Skip interrupted write tests on FreeBSD <= 7
On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.
15 years ago
Ned Deily
4143535d86
Issue #8716 : Avoid crashes caused by Aqua Tk on OSX when attempting to run
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).
15 years ago
Senthil Kumaran
9ebe08d2f6
Fix closes issue12471 - wrong TypeError message when '%i' format spec was used.
15 years ago