]> granicus.if.org Git - python/log
python
13 years agoIssue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.
Charles-François Natali [Sun, 24 Jul 2011 20:41:18 +0000 (22:41 +0200)]
Issue #12560: Build libpython.so on OpenBSD. Patch by Stefan Sperling.

13 years agoAdd a test for issue #1813: getlocale() failing under a Turkish locale
Antoine Pitrou [Sun, 24 Jul 2011 00:40:25 +0000 (02:40 +0200)]
Add a test for issue #1813: getlocale() failing under a Turkish locale
(not a problem under 3.x)

13 years agoIssue #1813: Fix codec lookup under Turkish locales.
Antoine Pitrou [Sun, 24 Jul 2011 00:27:04 +0000 (02:27 +0200)]
Issue #1813: Fix codec lookup under Turkish locales.

13 years agoIssue #12624: It is now possible to fail after the first failure when
Antoine Pitrou [Sat, 23 Jul 2011 20:33:39 +0000 (22:33 +0200)]
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.

13 years agoIssue #12591: Improve support of "universal newlines" in the subprocess
Antoine Pitrou [Sat, 23 Jul 2011 20:03:45 +0000 (22:03 +0200)]
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)

13 years agoIssue #12591: Allow io.TextIOWrapper to work with raw IO objects (without
Antoine Pitrou [Sat, 23 Jul 2011 19:46:35 +0000 (21:46 +0200)]
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.

13 years agoAdd Misc/NEWS entry for c741ba9e37ef.
Nadeem Vawda [Sat, 23 Jul 2011 13:16:23 +0000 (15:16 +0200)]
Add Misc/NEWS entry for c741ba9e37ef.

13 years agoIssue #10883: Fix socket leaks in urllib.request.
Nadeem Vawda [Sat, 23 Jul 2011 12:03:00 +0000 (14:03 +0200)]
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.

13 years agoFix closes issue12581 - Increase the urllib.parse test coverage. Patch by Petter...
Senthil Kumaran [Sat, 23 Jul 2011 10:27:45 +0000 (18:27 +0800)]
Fix closes issue12581 - Increase the urllib.parse test coverage. Patch by Petter Haggholm.

13 years agoFix function name: open -> urlopen.
Georg Brandl [Sat, 23 Jul 2011 06:04:40 +0000 (08:04 +0200)]
Fix function name: open -> urlopen.

13 years agoIssue #12592: Make Python build on OpenBSD 5 (and future major releases).
Charles-François Natali [Fri, 22 Jul 2011 21:48:44 +0000 (23:48 +0200)]
Issue #12592: Make Python build on OpenBSD 5 (and future major releases).

13 years agoNone is ok for identifiers but not strings
Benjamin Peterson [Fri, 22 Jul 2011 16:09:07 +0000 (11:09 -0500)]
None is ok for identifiers but not strings

13 years agohardcode the old svn __version__
Benjamin Peterson [Fri, 22 Jul 2011 15:39:12 +0000 (10:39 -0500)]
hardcode the old svn __version__

13 years agotype check AST strings and identifiers
Benjamin Peterson [Fri, 22 Jul 2011 15:50:23 +0000 (10:50 -0500)]
type check AST strings and identifiers

This is related to a21829180423 as well as #12609 and #12610.

13 years agoIssue #12372: POSIX semaphores are broken on AIX: don't use them.
Charles-François Natali [Thu, 21 Jul 2011 17:45:31 +0000 (19:45 +0200)]
Issue #12372: POSIX semaphores are broken on AIX: don't use them.

13 years ago#12601: fix typo.
Ezio Melotti [Thu, 21 Jul 2011 08:16:32 +0000 (11:16 +0300)]
#12601: fix typo.

13 years ago#11435: link to the correct branch.
Ezio Melotti [Thu, 21 Jul 2011 06:35:19 +0000 (09:35 +0300)]
#11435: link to the correct branch.

13 years agoFix closes issue12524 - update http.client POST example with a working example.
Senthil Kumaran [Wed, 20 Jul 2011 13:56:24 +0000 (21:56 +0800)]
Fix closes issue12524 - update http.client POST example with a working example.

13 years agoUpstream merge
Barry Warsaw [Tue, 19 Jul 2011 23:25:56 +0000 (19:25 -0400)]
Upstream merge

13 years agoIssue #12587: Correct faulty test file and reference in test_tokenize.
Ned Deily [Tue, 19 Jul 2011 23:15:27 +0000 (16:15 -0700)]
Issue #12587: Correct faulty test file and reference in test_tokenize.
(Patch by Robert Xiao)

13 years ago- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
Barry Warsaw [Tue, 19 Jul 2011 22:28:30 +0000 (18:28 -0400)]
- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
  signature.  Without this, architectures where sizeof void* != sizeof int are
  broken.  Patch given by Hallvard B Furuseth.

13 years agoIssue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory,
Antoine Pitrou [Tue, 19 Jul 2011 22:26:23 +0000 (00:26 +0200)]
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.

13 years ago#7484: no more <> around addresses in VRFY or EXPN
R David Murray [Tue, 19 Jul 2011 01:38:54 +0000 (21:38 -0400)]
#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).

13 years agoFix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catali...
Senthil Kumaran [Tue, 19 Jul 2011 00:03:02 +0000 (08:03 +0800)]
Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob

13 years agoIssue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows.
Antoine Pitrou [Mon, 18 Jul 2011 23:26:58 +0000 (01:26 +0200)]
Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows.

13 years agoCloses #12579. Positional fields with str.format_map() now raise a ValueError instead...
Eric V. Smith [Mon, 18 Jul 2011 18:03:41 +0000 (14:03 -0400)]
Closes #12579. Positional fields with str.format_map() now raise a ValueError instead of SystemError.

13 years agoBetter English.
R David Murray [Mon, 18 Jul 2011 16:38:03 +0000 (12:38 -0400)]
Better English.

13 years agofix whitespace nit.
Senthil Kumaran [Sun, 17 Jul 2011 23:17:20 +0000 (07:17 +0800)]
fix whitespace nit.

13 years agoFix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
Senthil Kumaran [Sun, 17 Jul 2011 23:12:40 +0000 (07:12 +0800)]
Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.

13 years agoFix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro...
Senthil Kumaran [Sun, 17 Jul 2011 22:42:46 +0000 (06:42 +0800)]
Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi

13 years agoFix Issue10403 - datetime documentation clarification based on review in the reitveld...
Senthil Kumaran [Sun, 17 Jul 2011 11:01:14 +0000 (19:01 +0800)]
Fix Issue10403 - datetime documentation clarification based on review in the reitveld by Alexendar belopolsky.

13 years agoFix closes Issue11436 - Minor clarification to struct documentation for 's' format...
Senthil Kumaran [Sun, 17 Jul 2011 09:29:17 +0000 (17:29 +0800)]
Fix closes Issue11436 - Minor clarification to struct documentation for 's' format character.

13 years agoClose the call queue in concurrent.futures.ProcessPoolExecutor when
Antoine Pitrou [Sat, 16 Jul 2011 21:52:02 +0000 (23:52 +0200)]
Close the call queue in concurrent.futures.ProcessPoolExecutor when
shutdown() is called, without waiting for the garbage collector to kick in.

13 years agoUse test.script_helper in test_pydoc
Antoine Pitrou [Fri, 15 Jul 2011 20:42:12 +0000 (22:42 +0200)]
Use test.script_helper in test_pydoc

13 years agotest_pydoc needs to cleanup after itself
Antoine Pitrou [Fri, 15 Jul 2011 20:32:25 +0000 (22:32 +0200)]
test_pydoc needs to cleanup after itself

13 years agoTry harder to reap dangling threads in test.support.reap_threads().
Antoine Pitrou [Fri, 15 Jul 2011 20:29:44 +0000 (22:29 +0200)]
Try harder to reap dangling threads in test.support.reap_threads().

13 years agoIssue #12573: Add resource checks for dangling Thread and Process objects.
Antoine Pitrou [Fri, 15 Jul 2011 20:12:24 +0000 (22:12 +0200)]
Issue #12573: Add resource checks for dangling Thread and Process objects.

13 years agoMerge
Antoine Pitrou [Fri, 15 Jul 2011 19:19:02 +0000 (21:19 +0200)]
Merge

13 years agoIssue #11603: Fix a crash when __str__ is rebound as __repr__.
Antoine Pitrou [Fri, 15 Jul 2011 19:17:14 +0000 (21:17 +0200)]
Issue #11603: Fix a crash when __str__ is rebound as __repr__.
Patch by Andreas Stührk.

13 years agoIssue #11603: Fix a crash when __str__ is rebound as __repr__.
Antoine Pitrou [Fri, 15 Jul 2011 19:15:07 +0000 (21:15 +0200)]
Issue #11603: Fix a crash when __str__ is rebound as __repr__.
Patch by Andreas Stührk.

13 years agomerge heads
Benjamin Peterson [Fri, 15 Jul 2011 19:11:23 +0000 (14:11 -0500)]
merge heads

13 years agocatch nasty exception classes with __new__ that doesn't return a exception (closes...
Benjamin Peterson [Fri, 15 Jul 2011 19:09:26 +0000 (14:09 -0500)]
catch nasty exception classes with __new__ that doesn't return a exception (closes #11627)

Patch from Andreas Stührk.

13 years agoIssue #11321: Fix a crash with multiple imports of the _pickle module when
Antoine Pitrou [Fri, 15 Jul 2011 19:01:21 +0000 (21:01 +0200)]
Issue #11321: Fix a crash with multiple imports of the _pickle module when
embedding Python.  Patch by Andreas Stührk.

13 years agoMake sure to reap worker threads and processes at the end of test_concurrent_futures
Antoine Pitrou [Fri, 15 Jul 2011 18:25:20 +0000 (20:25 +0200)]
Make sure to reap worker threads and processes at the end of test_concurrent_futures

13 years agoMerge - Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.
Charles-François Natali [Thu, 14 Jul 2011 17:57:35 +0000 (19:57 +0200)]
Merge - Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.

13 years agoIssue #12502: asyncore: fix polling loop with AF_UNIX sockets.
Charles-François Natali [Thu, 14 Jul 2011 17:53:38 +0000 (19:53 +0200)]
Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.

13 years agothis should be an identity test
Benjamin Peterson [Thu, 14 Jul 2011 15:03:35 +0000 (10:03 -0500)]
this should be an identity test

13 years agoIssue #12250: test_socketserver uses a timeout of 60 seconds instead of 20
Victor Stinner [Thu, 14 Jul 2011 12:53:24 +0000 (14:53 +0200)]
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.

13 years agoRestore the global state of the log vars, so that test_cgi can be run twice without...
Ezio Melotti [Thu, 14 Jul 2011 12:18:57 +0000 (15:18 +0300)]
Restore the global state of the log vars, so that test_cgi can be run twice without failures.

13 years agocarefully cleanup pointer cache after creating struct pointers
Benjamin Peterson [Thu, 14 Jul 2011 04:09:30 +0000 (23:09 -0500)]
carefully cleanup pointer cache after creating struct pointers

13 years agoIssue #12549: Correct test_platform to not fail when OS X returns 'x86_64'
Ned Deily [Wed, 13 Jul 2011 22:07:04 +0000 (15:07 -0700)]
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.

13 years agoClose #4376: ctypes now supports nested structures in a endian different than
Victor Stinner [Wed, 13 Jul 2011 19:43:18 +0000 (21:43 +0200)]
Close #4376: ctypes now supports nested structures in a endian different than
the parent structure. Patch by Vlad Riscutia.

13 years agoRaise ValueError when attempting to set the _CHUNK_SIZE attribute of a TextIOWrapper...
Antoine Pitrou [Wed, 13 Jul 2011 19:07:49 +0000 (21:07 +0200)]
Raise ValueError when attempting to set the _CHUNK_SIZE attribute of a TextIOWrapper to a huge value, not TypeError.

13 years agoMake it clear that PyNumber_AsSsize_t() returns -1 on error.
Antoine Pitrou [Wed, 13 Jul 2011 19:02:22 +0000 (21:02 +0200)]
Make it clear that PyNumber_AsSsize_t() returns -1 on error.

13 years agoClarify that PyErr_NewException creates an exception *class*, not instance.
Georg Brandl [Wed, 13 Jul 2011 13:59:24 +0000 (15:59 +0200)]
Clarify that PyErr_NewException creates an exception *class*, not instance.

13 years agothis can be done without a custom dict (also fixes #12544)
Benjamin Peterson [Wed, 13 Jul 2011 00:21:42 +0000 (19:21 -0500)]
this can be done without a custom dict (also fixes #12544)

13 years agoIssue #12149: Update the method cache after a type's dictionnary gets
Antoine Pitrou [Tue, 12 Jul 2011 19:57:15 +0000 (21:57 +0200)]
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.

13 years agoUse infinitive, not 3rd person of present tense.
Antoine Pitrou [Sun, 10 Jul 2011 23:39:19 +0000 (01:39 +0200)]
Use infinitive, not 3rd person of present tense.

13 years agoIssue #12343: Add some notes on behaviour of non-blocking SSL sockets.
Antoine Pitrou [Sun, 10 Jul 2011 23:35:48 +0000 (01:35 +0200)]
Issue #12343: Add some notes on behaviour of non-blocking SSL sockets.

13 years agoMention logging.captureWarnings in the warnings module doc.
Antoine Pitrou [Sat, 9 Jul 2011 19:29:36 +0000 (21:29 +0200)]
Mention logging.captureWarnings in the warnings module doc.

13 years agoMove sys.subversion at the right place in alphabetical order, and informally deprecat...
Antoine Pitrou [Sat, 9 Jul 2011 14:02:19 +0000 (16:02 +0200)]
Move sys.subversion at the right place in alphabetical order, and informally deprecate it.

13 years agoIssue #12326: document the recommended idiom for checking sys.platform on Unix systems.
Antoine Pitrou [Sat, 9 Jul 2011 13:54:23 +0000 (15:54 +0200)]
Issue #12326: document the recommended idiom for checking sys.platform on Unix systems.
Also, point to the various alternatives.

13 years agoMerge 3.2.1 release clone into main repo.
Georg Brandl [Sat, 9 Jul 2011 08:58:37 +0000 (10:58 +0200)]
Merge 3.2.1 release clone into main repo.

13 years agoPost-release steps for 3.2.1.
Georg Brandl [Sat, 9 Jul 2011 08:56:06 +0000 (10:56 +0200)]
Post-release steps for 3.2.1.

13 years agoAdded tag v3.2.1 for changeset ac1f7e5c0510
Georg Brandl [Sat, 9 Jul 2011 06:56:41 +0000 (08:56 +0200)]
Added tag v3.2.1 for changeset ac1f7e5c0510

13 years agoBump version to 3.2.1. v3.2.1
Georg Brandl [Sat, 9 Jul 2011 06:56:21 +0000 (08:56 +0200)]
Bump version to 3.2.1.

13 years agoSkip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
Antoine Pitrou [Sat, 9 Jul 2011 00:31:24 +0000 (02:31 +0200)]
Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
failure in name resolution.

Should fix a buildbot failure.

13 years agoSkip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
Antoine Pitrou [Sat, 9 Jul 2011 00:31:24 +0000 (02:31 +0200)]
Skip network tests when getaddrinfo() returns EAI_AGAIN, meaning a temporary
failure in name resolution.

Should fix a buildbot failure.

13 years agoAvoid failing in test_robotparser when mueblesmoraleda.com is flaky and
Antoine Pitrou [Fri, 8 Jul 2011 17:43:51 +0000 (19:43 +0200)]
Avoid failing in test_robotparser when mueblesmoraleda.com is flaky and
an overzealous DNS service (e.g. OpenDNS) redirects to a placeholder
Web site.

13 years agoAvoid failing in test_urllibnet.test_bad_address when some overzealous
Antoine Pitrou [Fri, 8 Jul 2011 17:19:57 +0000 (19:19 +0200)]
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.

13 years agoAvoid failing in test_urllibnet.test_bad_address when some overzealous
Antoine Pitrou [Fri, 8 Jul 2011 17:19:57 +0000 (19:19 +0200)]
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.

13 years agoIssue #12440: When testing whether some bits in SSLContext.options can be
Antoine Pitrou [Fri, 8 Jul 2011 16:47:06 +0000 (18:47 +0200)]
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.

13 years agoIssue #12423: Fix os.abort() documentation
Victor Stinner [Fri, 8 Jul 2011 00:26:39 +0000 (02:26 +0200)]
Issue #12423: Fix os.abort() documentation

The Python signal handler for SIGABRT is not called on os.abort() (only if the
signal is raised manually or sent by another process). Patch by Kamil Kisiel.

13 years agoIssue #8716: Instead of relying on Aqua Tk exceptions to detect lack of
Ned Deily [Wed, 6 Jul 2011 02:09:37 +0000 (19:09 -0700)]
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.

13 years agoIssue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing
Victor Stinner [Tue, 5 Jul 2011 12:49:46 +0000 (14:49 +0200)]
Issue #12493: skip test_communicate_eintr() if signal.SIGALRM is missing

13 years agoIssue #12451: pydoc: html_getfile() now uses tokenize.open() to support Python
Victor Stinner [Tue, 5 Jul 2011 12:30:41 +0000 (14:30 +0200)]
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).

13 years agoIssue #12493: subprocess: communicate() handles EINTR
Victor Stinner [Tue, 5 Jul 2011 12:00:56 +0000 (14:00 +0200)]
Issue #12493: subprocess: communicate() handles EINTR

subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe.

13 years agoIssue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.
Victor Stinner [Tue, 5 Jul 2011 09:31:49 +0000 (11:31 +0200)]
Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows.

13 years agostart out this branch always with filename NULL
Benjamin Peterson [Tue, 5 Jul 2011 03:27:16 +0000 (22:27 -0500)]
start out this branch always with filename NULL

13 years agoIssue #12497: Install test/data to prevent failures of the various codecmaps
Ned Deily [Tue, 5 Jul 2011 02:06:20 +0000 (19:06 -0700)]
Issue #12497: Install test/data to prevent failures of the various codecmaps
tests.

13 years agoIssue #12496: Install test/capath directory to prevent test_connect_capath
Ned Deily [Tue, 5 Jul 2011 00:48:01 +0000 (17:48 -0700)]
Issue #12496:  Install test/capath directory to prevent test_connect_capath
testcase failure in test_ssl.

13 years agoFix whitespace nit in datetime and os rst files.
Senthil Kumaran [Mon, 4 Jul 2011 18:43:51 +0000 (11:43 -0700)]
Fix whitespace nit in datetime and os rst files.

13 years agoissue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribut...
Senthil Kumaran [Mon, 4 Jul 2011 18:28:30 +0000 (11:28 -0700)]
issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage.

13 years agoMerge 3.2.1 release clone changes into main 3.2 branch after 3.2.1rc2 release.
Georg Brandl [Mon, 4 Jul 2011 17:55:22 +0000 (19:55 +0200)]
Merge 3.2.1 release clone changes into main 3.2 branch after 3.2.1rc2 release.

13 years agoIssue #12469: Run "wakeup" signal tests in subprocess to run the test in a
Victor Stinner [Mon, 4 Jul 2011 15:35:10 +0000 (17:35 +0200)]
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.

13 years agoIssue #12429: Skip interrupted write tests on FreeBSD <= 7
Victor Stinner [Mon, 4 Jul 2011 09:48:17 +0000 (11:48 +0200)]
Issue #12429: Skip interrupted write tests on FreeBSD <= 7

On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.

13 years agoIssue #12429: Skip interrupted write tests on FreeBSD <= 7
Victor Stinner [Mon, 4 Jul 2011 09:48:17 +0000 (11:48 +0200)]
Issue #12429: Skip interrupted write tests on FreeBSD <= 7

On FreeBSD, the SIGALRM signal is sometimes received by the reader thread.

13 years agoIssue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run
Ned Deily [Mon, 4 Jul 2011 04:56:48 +0000 (21:56 -0700)]
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).

13 years agoFix closes issue12471 - wrong TypeError message when '%i' format spec was used.
Senthil Kumaran [Mon, 4 Jul 2011 04:03:16 +0000 (21:03 -0700)]
Fix closes issue12471 - wrong TypeError message when '%i' format spec was used.

13 years agoplug refleak
Benjamin Peterson [Mon, 4 Jul 2011 03:18:34 +0000 (22:18 -0500)]
plug refleak

13 years agoFix closes issue issue12470 - check for utime for the skipUnless condition.
Senthil Kumaran [Mon, 4 Jul 2011 01:21:38 +0000 (18:21 -0700)]
Fix closes issue issue12470 - check for utime for the skipUnless condition.

13 years agoFix closes issue issue12470 - check for utime for the skipUnless condition.
Senthil Kumaran [Mon, 4 Jul 2011 01:21:38 +0000 (18:21 -0700)]
Fix closes issue issue12470 - check for utime for the skipUnless condition.

13 years agoIssue #12467: warnings: fix a race condition if a warning is emitted at
Victor Stinner [Mon, 4 Jul 2011 00:43:09 +0000 (02:43 +0200)]
Issue #12467: warnings: fix a race condition if a warning is emitted at
shutdown, if globals()['__file__'] is None.

13 years agoPost-release steps.
Georg Brandl [Mon, 4 Jul 2011 06:20:48 +0000 (08:20 +0200)]
Post-release steps.

13 years agoIssue #12467: warnings: fix a race condition if a warning is emitted at
Victor Stinner [Mon, 4 Jul 2011 00:43:09 +0000 (02:43 +0200)]
Issue #12467: warnings: fix a race condition if a warning is emitted at
shutdown, if globals()['__file__'] is None.

13 years agoFix closes issue12438 - idlelib.PyShell's showformatwarning method was passing an...
Senthil Kumaran [Mon, 4 Jul 2011 00:39:20 +0000 (17:39 -0700)]
Fix closes issue12438  - idlelib.PyShell's showformatwarning method was passing an incorrect arg.

13 years agoFix closes issue12438 - idlelib.PyShell's showformatwarning method was passing an...
Senthil Kumaran [Mon, 4 Jul 2011 00:39:20 +0000 (17:39 -0700)]
Fix closes issue12438  - idlelib.PyShell's showformatwarning method was passing an incorrect arg.

13 years agoFix closes issue12432 - remove the unused sys from glob.py
Senthil Kumaran [Mon, 4 Jul 2011 00:21:05 +0000 (17:21 -0700)]
Fix closes issue12432 - remove the unused sys from glob.py

13 years agoIssue #12451: pydoc: importfile() now opens the Python script in binary mode,
Victor Stinner [Mon, 4 Jul 2011 00:08:50 +0000 (02:08 +0200)]
Issue #12451: pydoc: importfile() now opens the Python script in binary mode,
instead of text mode using the locale encoding, to avoid encoding issues.

13 years agoIssue #12451: runpy: run_path() now opens the Python script in binary mode,
Victor Stinner [Sun, 3 Jul 2011 23:45:39 +0000 (01:45 +0200)]
Issue #12451: runpy: run_path() now opens the Python script in binary mode,
instead of text mode using the locale encoding, to support other encodings than
UTF-8 (scripts using the coding cookie).