]> granicus.if.org Git - python/log
python
13 years agoIssue #9670: Increase the default stack size for secondary threads on
Ned Deily [Sat, 28 May 2011 07:36:12 +0000 (00:36 -0700)]
Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren)

13 years agoIssue #9670: Increase the default stack size for secondary threads on
Ned Deily [Sat, 28 May 2011 07:19:56 +0000 (00:19 -0700)]
Issue #9670: Increase the default stack size for secondary threads on
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren)

13 years agomerge 3.1
Benjamin Peterson [Fri, 27 May 2011 19:17:19 +0000 (14:17 -0500)]
merge 3.1

13 years agofix spacing
Benjamin Peterson [Fri, 27 May 2011 19:17:04 +0000 (14:17 -0500)]
fix spacing

13 years agomerge 3.1
Benjamin Peterson [Fri, 27 May 2011 19:10:36 +0000 (14:10 -0500)]
merge 3.1

13 years agofix indentation
Benjamin Peterson [Fri, 27 May 2011 19:10:24 +0000 (14:10 -0500)]
fix indentation

13 years agoMerge 3.1
Éric Araujo [Thu, 26 May 2011 14:50:31 +0000 (16:50 +0200)]
Merge 3.1

13 years agoBranch merge
Éric Araujo [Thu, 26 May 2011 14:50:19 +0000 (16:50 +0200)]
Branch merge

13 years agoBranch merge
Éric Araujo [Thu, 26 May 2011 14:49:59 +0000 (16:49 +0200)]
Branch merge

13 years agoIssue #12090: backport 79fcd71d0356
Stefan Krah [Wed, 25 May 2011 22:37:45 +0000 (00:37 +0200)]
Issue #12090: backport 79fcd71d0356

13 years ago(Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read()
Victor Stinner [Wed, 25 May 2011 20:49:15 +0000 (22:49 +0200)]
(Merge 3.1) Issue #12175: RawIOBase.readall() now returns None if read()
returns None.

13 years agoIssue #12175: RawIOBase.readall() now returns None if read() returns None.
Victor Stinner [Wed, 25 May 2011 20:47:16 +0000 (22:47 +0200)]
Issue #12175: RawIOBase.readall() now returns None if read() returns None.

13 years ago(Merge 3.1) Issue #12175: FileIO.readall() now raises a ValueError instead of
Victor Stinner [Wed, 25 May 2011 20:11:55 +0000 (22:11 +0200)]
(Merge 3.1) Issue #12175: FileIO.readall() now raises a ValueError instead of
an IOError if the file is closed.

13 years agoIssue #12175: FileIO.readall() now raises a ValueError instead of an IOError if
Victor Stinner [Wed, 25 May 2011 20:09:03 +0000 (22:09 +0200)]
Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError if
the file is closed.

13 years agoMerge 3.1
Éric Araujo [Wed, 25 May 2011 16:13:49 +0000 (18:13 +0200)]
Merge 3.1

13 years agoFix two typos
Éric Araujo [Wed, 25 May 2011 16:13:29 +0000 (18:13 +0200)]
Fix two typos

13 years agoBranch merge
Éric Araujo [Wed, 25 May 2011 16:12:22 +0000 (18:12 +0200)]
Branch merge

13 years ago(Merge 3.1) Issue #12057: Add cjkencodings directory to the Makefile and
Victor Stinner [Tue, 24 May 2011 23:15:59 +0000 (01:15 +0200)]
(Merge 3.1) Issue #12057: Add cjkencodings directory to the Makefile and
Tools/msi/msi.py

13 years agoIssue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py
Victor Stinner [Tue, 24 May 2011 23:13:59 +0000 (01:13 +0200)]
Issue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py

13 years ago(Merge 3.1) Issue #12057: Add tests for the HZ encoding
Victor Stinner [Tue, 24 May 2011 22:16:43 +0000 (00:16 +0200)]
(Merge 3.1) Issue #12057: Add tests for the HZ encoding

13 years agoIssue #12057: Add tests for the HZ encoding
Victor Stinner [Tue, 24 May 2011 22:06:51 +0000 (00:06 +0200)]
Issue #12057: Add tests for the HZ encoding

13 years agoIssue #12070: Fix the Makefile parser of the sysconfig module to handle
Victor Stinner [Tue, 24 May 2011 21:37:07 +0000 (23:37 +0200)]
Issue #12070: Fix the Makefile parser of the sysconfig module to handle
correctly references to "bogus variable" (e.g. "prefix=$/opt/python").

13 years ago(Merge 3.1) Issue #12100: Don't reset incremental encoders of CJK codecs at
Victor Stinner [Tue, 24 May 2011 20:22:17 +0000 (22:22 +0200)]
(Merge 3.1) Issue #12100: Don't reset incremental encoders of CJK codecs at
each call to their encode() method anymore, but continue to call the reset()
method if the final argument is True.

13 years agoIssue #12100: Don't reset incremental encoders of CJK codecs at each call to
Victor Stinner [Tue, 24 May 2011 20:17:55 +0000 (22:17 +0200)]
Issue #12100: Don't reset incremental encoders of CJK codecs at each call to
their encode() method anymore, but continue to call the reset() method if the
final argument is True.

13 years agomerge 3.1
Benjamin Peterson [Tue, 24 May 2011 17:51:24 +0000 (12:51 -0500)]
merge 3.1

13 years agobackout 8b384de4e780, so a proper fix can be considered (#5715)
Benjamin Peterson [Tue, 24 May 2011 17:50:34 +0000 (12:50 -0500)]
backout 8b384de4e780, so a proper fix can be considered (#5715)

13 years agomerge 3.1
Benjamin Peterson [Tue, 24 May 2011 17:44:26 +0000 (12:44 -0500)]
merge 3.1

13 years agouse '->' to indicate return values
Benjamin Peterson [Tue, 24 May 2011 17:42:51 +0000 (12:42 -0500)]
use '->' to indicate return values

13 years agomerge 3.1
Benjamin Peterson [Tue, 24 May 2011 17:09:26 +0000 (12:09 -0500)]
merge 3.1

13 years agogenerally, sockets should be closed after they're used
Benjamin Peterson [Tue, 24 May 2011 17:06:31 +0000 (12:06 -0500)]
generally, sockets should be closed after they're used

13 years agoIssue #5715: In socketserver, close the server socket in the child process.
Charles-François Natali [Tue, 24 May 2011 16:27:25 +0000 (18:27 +0200)]
Issue #5715: In socketserver, close the server socket in the child process.

13 years agoIssue #5715: In socketserver, close the server socket in the child process.
Charles-François Natali [Tue, 24 May 2011 16:23:15 +0000 (18:23 +0200)]
Issue #5715: In socketserver, close the server socket in the child process.

13 years ago#12074: remove the /0 when there are no failures.
Ezio Melotti [Mon, 23 May 2011 22:00:10 +0000 (01:00 +0300)]
#12074: remove the /0 when there are no failures.

13 years agomerge heads
Benjamin Peterson [Mon, 23 May 2011 21:29:50 +0000 (16:29 -0500)]
merge heads

13 years agomerge 3.1
Benjamin Peterson [Mon, 23 May 2011 21:22:42 +0000 (16:22 -0500)]
merge 3.1

13 years agoIssue #12074: regrtest displays also the current number of failures
Victor Stinner [Mon, 23 May 2011 21:14:05 +0000 (23:14 +0200)]
Issue #12074: regrtest displays also the current number of failures

13 years agocorrectly lookup __dir__
Benjamin Peterson [Mon, 23 May 2011 21:11:05 +0000 (16:11 -0500)]
correctly lookup __dir__

13 years agoClean-up example.
Raymond Hettinger [Mon, 23 May 2011 19:45:34 +0000 (12:45 -0700)]
Clean-up example.

13 years agoMerge 3.1
Victor Stinner [Mon, 23 May 2011 12:57:05 +0000 (14:57 +0200)]
Merge 3.1

13 years agotest_codecs now removes the temporay file (created by the test)
Victor Stinner [Mon, 23 May 2011 12:51:42 +0000 (14:51 +0200)]
test_codecs now removes the temporay file (created by the test)

13 years agoAdd 3.2.1rc2 uuid.
Martin v. Löwis [Mon, 23 May 2011 05:02:07 +0000 (07:02 +0200)]
Add 3.2.1rc2 uuid.

13 years agoIssue #10801: Remove a debug print() from test_zipfile
Victor Stinner [Sun, 22 May 2011 20:12:27 +0000 (22:12 +0200)]
Issue #10801: Remove a debug print() from test_zipfile

13 years agoIssue #12138: fix use of transient_internet() in test_urllibnet
Antoine Pitrou [Sun, 22 May 2011 15:35:17 +0000 (17:35 +0200)]
Issue #12138: fix use of transient_internet() in test_urllibnet

13 years agoAdd 3.2.1rc2 uuid.
Martin v. Loewis [Sun, 22 May 2011 10:59:35 +0000 (12:59 +0200)]
Add 3.2.1rc2 uuid.

13 years agoIssue 12126: removing incorrect claim about return value of select
Eli Bendersky [Sun, 22 May 2011 03:57:17 +0000 (06:57 +0300)]
Issue 12126: removing incorrect claim about return value of select
merge 3.1 -> 3.2

13 years agoIssue 12126: removing incorrect claim about return value of select
Eli Bendersky [Sun, 22 May 2011 03:56:15 +0000 (06:56 +0300)]
Issue 12126: removing incorrect claim about return value of select

13 years agoSimplify example
Raymond Hettinger [Sat, 21 May 2011 16:33:45 +0000 (09:33 -0700)]
Simplify example

13 years agoSet up branch to be rc2 next.
Georg Brandl [Sat, 21 May 2011 15:36:20 +0000 (17:36 +0200)]
Set up branch to be rc2 next.

13 years agoMerge release branch after 3.2.1rc1.
Georg Brandl [Sat, 21 May 2011 15:35:33 +0000 (17:35 +0200)]
Merge release branch after 3.2.1rc1.

13 years agomerge 3.1
Benjamin Peterson [Fri, 20 May 2011 16:49:19 +0000 (11:49 -0500)]
merge 3.1

13 years agothis should actually be an IOError
Benjamin Peterson [Fri, 20 May 2011 16:49:06 +0000 (11:49 -0500)]
this should actually be an IOError

13 years agomerge 3.1
Benjamin Peterson [Fri, 20 May 2011 16:41:59 +0000 (11:41 -0500)]
merge 3.1

13 years agoadd example for not using access
Benjamin Peterson [Fri, 20 May 2011 16:41:13 +0000 (11:41 -0500)]
add example for not using access

13 years ago#12072: merge with 3.1.
Ezio Melotti [Fri, 20 May 2011 12:06:32 +0000 (15:06 +0300)]
#12072: merge with 3.1.

13 years ago#12072: add missing parenthesis in the doc. Patch by Sandro Tosi.
Ezio Melotti [Fri, 20 May 2011 12:04:38 +0000 (15:04 +0300)]
#12072: add missing parenthesis in the doc.  Patch by Sandro Tosi.

13 years agotest_pydoc: skip PydocServerTest if thread support is disabled
Victor Stinner [Fri, 20 May 2011 00:29:13 +0000 (02:29 +0200)]
test_pydoc: skip PydocServerTest if thread support is disabled

13 years ago(Merge 3.1) Issue #12124: zipimport doesn't keep a reference to
Victor Stinner [Thu, 19 May 2011 22:18:58 +0000 (00:18 +0200)]
(Merge 3.1) Issue #12124: zipimport doesn't keep a reference to
zlib.decompress() anymore to be able to unload the module.

13 years agoIssue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
Victor Stinner [Thu, 19 May 2011 22:16:09 +0000 (00:16 +0200)]
Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymore
to be able to unload the module.

13 years agoFix section title
Antoine Pitrou [Wed, 18 May 2011 16:58:09 +0000 (18:58 +0200)]
Fix section title

13 years agoIssue #12065: connect_ex() on an SSL socket now returns the original errno
Antoine Pitrou [Wed, 18 May 2011 16:51:06 +0000 (18:51 +0200)]
Issue #12065: connect_ex() on an SSL socket now returns the original errno
when the socket's timeout expires (it used to return None).

13 years agoOoops, add the missing file of the backport of commit 33543b4e0e5d from Python
Victor Stinner [Wed, 18 May 2011 11:48:41 +0000 (13:48 +0200)]
Ooops, add the missing file of the backport of commit 33543b4e0e5d from Python
3.2 (#10801: In zipfile, support different encodings for the header and the
filenames.  Patch by MvL, test by Eli Bendersky.)

13 years agoBackport commit 33543b4e0e5d from Python 3.2: #10801: In zipfile, support
Victor Stinner [Wed, 18 May 2011 11:43:23 +0000 (13:43 +0200)]
Backport commit 33543b4e0e5d from Python 3.2: #10801: In zipfile, support
different encodings for the header and the filenames.  Patch by MvL, test by
Eli Bendersky.

13 years agoIssue #12096: Fix a race condition in test_threading.test_waitfor(). Patch
Victor Stinner [Tue, 17 May 2011 22:16:14 +0000 (00:16 +0200)]
Issue #12096: Fix a race condition in test_threading.test_waitfor(). Patch
written by Charles-François Natali.

13 years agoFixes #11088: IDLE crashes when using F5 to run a script on OSX with Tk 8.5
Ronald Oussoren [Tue, 17 May 2011 12:48:40 +0000 (14:48 +0200)]
Fixes #11088: IDLE crashes when using F5 to run a script on OSX with Tk 8.5

Without this patch IDLE will crash reliably on OSX when Tkinter
is linked to TkCocoa 8.5.x.

To reproduce:

* Create a new file (script.py) with the following two lines:

x = input('prompt: ')
print(x)

* Save the script

* Run the script using the F5 keyboard shortcut
  (running from the menu works fine)

The patch is a fairly crude hack, but we haven't found a better
workaround for this Tk bug yet.

13 years ago(merge) Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instea...
Ronald Oussoren [Tue, 17 May 2011 11:03:54 +0000 (13:03 +0200)]
(merge) Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instead of "UTF8"

On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale
while "en_US.UTF8" is not. As the former works on Linux as well it is better
to normalize to that value.

13 years agoFix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instead of...
Ronald Oussoren [Tue, 17 May 2011 10:44:54 +0000 (12:44 +0200)]
Fix #10154 and #10090: locale normalizes the UTF-8 encoding to "UTF-8" instead of "UTF8"

On MacOSX and OpenBSD (and possibly other BSDs) "en_US.UTF-8" is a valid locale
while "en_US.UTF8" is not. As the former works on Linux as well it is better
to normalize to that value.

13 years ago(Merge 3.1) Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't
Victor Stinner [Mon, 16 May 2011 15:20:07 +0000 (17:20 +0200)]
(Merge 3.1) Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't
exist anymore

13 years agoIssue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymore
Victor Stinner [Mon, 16 May 2011 15:18:51 +0000 (17:18 +0200)]
Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymore

13 years ago(Merge 3.1) Issue #11614: Fix importlib tests for the new __hello__ module
Victor Stinner [Mon, 16 May 2011 14:59:49 +0000 (16:59 +0200)]
(Merge 3.1) Issue #11614: Fix importlib tests for the new __hello__ module

13 years agoIssue #11614: Fix importlib tests for the new __hello__ module
Victor Stinner [Mon, 16 May 2011 14:57:18 +0000 (16:57 +0200)]
Issue #11614: Fix importlib tests for the new __hello__ module

13 years ago(Merge 3.1) Issue #12057: Convert CJK encoding testcase BLOB into multiple text
Victor Stinner [Mon, 16 May 2011 14:45:15 +0000 (16:45 +0200)]
(Merge 3.1) Issue #12057: Convert CJK encoding testcase BLOB into multiple text
files

13 years agoIssue #12057: Convert CJK encoding testcase BLOB into multiple text files
Victor Stinner [Mon, 16 May 2011 14:43:38 +0000 (16:43 +0200)]
Issue #12057: Convert CJK encoding testcase BLOB into multiple text files

13 years ago(Merge 3.1) Issue #11614: import __hello__ prints "Hello World!". Patch written
Victor Stinner [Mon, 16 May 2011 14:32:33 +0000 (16:32 +0200)]
(Merge 3.1) Issue #11614: import __hello__ prints "Hello World!". Patch written
by Andreas Stührk.

13 years agoIssue #11614: import __hello__ prints "Hello World!". Patch written by Andreas
Victor Stinner [Mon, 16 May 2011 14:29:35 +0000 (16:29 +0200)]
Issue #11614: import __hello__ prints "Hello World!". Patch written by Andreas
Stührk.

13 years agoAdd 3.2.1 UUIDs
Martin v. Löwis [Mon, 16 May 2011 05:56:32 +0000 (07:56 +0200)]
Add 3.2.1 UUIDs

13 years agoNull merge 3.1 (fix already applied: 4a82be47a948+5060a92a8597).
Victor Stinner [Sun, 15 May 2011 16:59:29 +0000 (18:59 +0200)]
Null merge 3.1 (fix already applied: 4a82be47a948+5060a92a8597).

13 years agoIssue #10756: atexit normalizes the exception before displaying it. Patch by
Victor Stinner [Sun, 15 May 2011 16:57:44 +0000 (18:57 +0200)]
Issue #10756: atexit normalizes the exception before displaying it. Patch by
Andreas Stührk.

Backport a fix already applied to Python 3.2+ (4a82be47a948 + 5060a92a8597).

13 years agoAdded tag v3.2.1rc1 for changeset cfa9364997c7
Georg Brandl [Sun, 15 May 2011 15:52:56 +0000 (17:52 +0200)]
Added tag v3.2.1rc1 for changeset cfa9364997c7

13 years agoBump to 3.2.1rc1. v3.2.1rc1
Georg Brandl [Sun, 15 May 2011 15:52:42 +0000 (17:52 +0200)]
Bump to 3.2.1rc1.

13 years agoUpdate pydoc topics and handle suspicious markup.
Georg Brandl [Sun, 15 May 2011 15:51:24 +0000 (17:51 +0200)]
Update pydoc topics and handle suspicious markup.

13 years agoNEWS entry for fix of issue #9516
Ronald Oussoren [Sun, 15 May 2011 14:50:28 +0000 (16:50 +0200)]
NEWS entry for fix of issue #9516

13 years agoIssue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell.
Ronald Oussoren [Sun, 15 May 2011 14:46:11 +0000 (16:46 +0200)]
Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell.

Without this patch python will fail to start properly when the environment
variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is
not compatible with the value during Python's build. This is caused by code
in sysconfig that was only meant to be used in disutils.

13 years agoBranch merge.
Georg Brandl [Sun, 15 May 2011 08:42:56 +0000 (10:42 +0200)]
Branch merge.

13 years ago(Merge 3.1) Issue #12060: Use sig_atomic_t type and volatile keyword in the
Victor Stinner [Sun, 15 May 2011 08:27:09 +0000 (10:27 +0200)]
(Merge 3.1) Issue #12060: Use sig_atomic_t type and volatile keyword in the
signal module. Patch written by Charles-François Natali.

13 years agoIssue #12060: Use sig_atomic_t type and volatile keyword in the signal module.
Victor Stinner [Sun, 15 May 2011 08:21:59 +0000 (10:21 +0200)]
Issue #12060: Use sig_atomic_t type and volatile keyword in the signal module.
Patch written by Charles-François Natali.

13 years agoFix-up NEWS: entries made after 3.2.1b1 go into the 3.2.1c1 section.
Georg Brandl [Sun, 15 May 2011 07:49:19 +0000 (09:49 +0200)]
Fix-up NEWS: entries made after 3.2.1b1 go into the 3.2.1c1 section.

13 years agoMerge #6498 fix from 3.1.
Georg Brandl [Sun, 15 May 2011 06:49:29 +0000 (08:49 +0200)]
Merge #6498 fix from 3.1.

13 years agoCloses #6498: fix several misspellings of "SystemExit" as "SystemError".
Georg Brandl [Sun, 15 May 2011 06:49:12 +0000 (08:49 +0200)]
Closes #6498: fix several misspellings of "SystemExit" as "SystemError".

13 years agoMerge: Fix copy-paste mistake in new zlib test.
Nadeem Vawda [Sat, 14 May 2011 22:48:57 +0000 (00:48 +0200)]
Merge: Fix copy-paste mistake in new zlib test.

13 years agoFix copy-paste mistake in new zlib test.
Nadeem Vawda [Sat, 14 May 2011 22:48:24 +0000 (00:48 +0200)]
Fix copy-paste mistake in new zlib test.

13 years agofix whitespace
Gregory P. Smith [Sat, 14 May 2011 22:35:19 +0000 (15:35 -0700)]
fix whitespace

13 years agomerge heads
Gregory P. Smith [Sat, 14 May 2011 22:33:43 +0000 (15:33 -0700)]
merge heads

13 years agomerge heads.
Gregory P. Smith [Sat, 14 May 2011 22:26:35 +0000 (15:26 -0700)]
merge heads.

13 years agoMerge: #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.
Nadeem Vawda [Sat, 14 May 2011 22:20:52 +0000 (00:20 +0200)]
Merge: #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.

Raise an OverflowError if the input data is too large, instead of silently
truncating the input and returning an incorrect result.

13 years agoIssue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.
Nadeem Vawda [Sat, 14 May 2011 22:19:50 +0000 (00:19 +0200)]
Issue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.

Raise an OverflowError if the input data is too large, instead of silently
truncating the input and returning an incorrect result.

13 years agoFixes Issue #12059: Properly handle missing hash functions even when
Gregory P. Smith [Sat, 14 May 2011 22:15:49 +0000 (15:15 -0700)]
Fixes Issue #12059: Properly handle missing hash functions even when
the expected builtin modules are not present.

This includes a unittest for __get_builtin_constructor() in the face
of such an error.

13 years agoMerge heads (!)
Kurt B. Kaiser [Sat, 14 May 2011 21:50:02 +0000 (17:50 -0400)]
Merge heads (!)

13 years agoMerge heads
Kurt B. Kaiser [Sat, 14 May 2011 21:31:54 +0000 (17:31 -0400)]
Merge heads

13 years agoMerge heads
Kurt B. Kaiser [Sat, 14 May 2011 21:30:58 +0000 (17:30 -0400)]
Merge heads

13 years agoMerge from 3.1
Kurt B. Kaiser [Sat, 14 May 2011 21:22:14 +0000 (17:22 -0400)]
Merge from 3.1
Issue #6378: Further adjust idle.bat to start associated Python