]> granicus.if.org Git - python/log
python
12 years agoMerge from 3.3
Nick Coghlan [Fri, 19 Oct 2012 13:37:28 +0000 (23:37 +1000)]
Merge from 3.3

12 years agoRemove unused import
Nick Coghlan [Fri, 19 Oct 2012 13:37:16 +0000 (23:37 +1000)]
Remove unused import

12 years agoMerge fix from #6074 from 3.3
Nick Coghlan [Fri, 19 Oct 2012 13:36:15 +0000 (23:36 +1000)]
Merge fix from #6074 from 3.3

12 years agoIssue #6074: Apply an appropriate fix for importlib based imports
Nick Coghlan [Fri, 19 Oct 2012 13:32:00 +0000 (23:32 +1000)]
Issue #6074: Apply an appropriate fix for importlib based imports

12 years agoPropagate dummy merge from 3.3
Nick Coghlan [Fri, 19 Oct 2012 13:01:45 +0000 (23:01 +1000)]
Propagate dummy merge from 3.3

12 years agoDummy merge from 3.2, as that approach to resolving #6074 is not applicable to importlib
Nick Coghlan [Fri, 19 Oct 2012 12:58:06 +0000 (22:58 +1000)]
Dummy merge from 3.2, as that approach to resolving #6074 is not applicable to importlib

12 years agoIssue #6074: Forward port Windows read-only source file fix from 2.7
Nick Coghlan [Fri, 19 Oct 2012 12:38:14 +0000 (22:38 +1000)]
Issue #6074: Forward port Windows read-only source file fix from 2.7

12 years agoFix issue #16270: urllib may hang when used for retrieving files via FTP by using...
Giampaolo Rodola' [Fri, 19 Oct 2012 11:40:28 +0000 (13:40 +0200)]
Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager.

12 years agoFix issue #16270: urllib may hang when used for retrieving files via FTP by using...
Giampaolo Rodola' [Fri, 19 Oct 2012 11:34:32 +0000 (13:34 +0200)]
Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager.

12 years agoFix issue #16270: urllib may hang when used for retrieving files via FTP by using...
Giampaolo Rodola' [Fri, 19 Oct 2012 11:25:17 +0000 (13:25 +0200)]
Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager.

12 years agoMerge with 3.3
Georg Brandl [Fri, 19 Oct 2012 05:37:56 +0000 (07:37 +0200)]
Merge with 3.3

12 years agoFix merging mistake.
Georg Brandl [Fri, 19 Oct 2012 05:37:44 +0000 (07:37 +0200)]
Fix merging mistake.

12 years agoIssue #16226: Fix IDLE Path Browser crash.
Ned Deily [Fri, 19 Oct 2012 01:19:11 +0000 (18:19 -0700)]
Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)

12 years agoIssue #16226: Fix IDLE Path Browser crash.
Ned Deily [Fri, 19 Oct 2012 01:16:44 +0000 (18:16 -0700)]
Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)

12 years agoIssue 16280: Drop questionable special-casing of null pointer in PyLong_FromVoidPtr.
Mark Dickinson [Thu, 18 Oct 2012 21:18:42 +0000 (22:18 +0100)]
Issue 16280: Drop questionable special-casing of null pointer in PyLong_FromVoidPtr.

12 years agoFollowup to issue #15958: add join.h to Makefile dependencies for byte strings
Antoine Pitrou [Thu, 18 Oct 2012 19:31:22 +0000 (21:31 +0200)]
Followup to issue #15958: add join.h to Makefile dependencies for byte strings
(thanks Serhiy).

12 years agoIssue #16277: merge fix from 3.3
Mark Dickinson [Thu, 18 Oct 2012 18:53:45 +0000 (19:53 +0100)]
Issue #16277: merge fix from 3.3

12 years agoIssue #16277: merge fix from 3.2
Mark Dickinson [Thu, 18 Oct 2012 18:53:28 +0000 (19:53 +0100)]
Issue #16277: merge fix from 3.2

12 years agoIssue #16277: in PyLong_FromVoidPtr, add missing branch for sizeof(void*) <= sizeof...
Mark Dickinson [Thu, 18 Oct 2012 18:21:43 +0000 (19:21 +0100)]
Issue #16277: in PyLong_FromVoidPtr, add missing branch for sizeof(void*) <= sizeof(long).

12 years agoMerge from 3.3: clarify universal-newline wording in tutorial (issue #16266).
Chris Jerdonek [Thu, 18 Oct 2012 03:29:07 +0000 (20:29 -0700)]
Merge from 3.3: clarify universal-newline wording in tutorial (issue #16266).

This also null merges from a previous commit.

12 years agoMerge from 3.2: clarify universal-newline wording in tutorial (issue #16266).
Chris Jerdonek [Thu, 18 Oct 2012 03:21:05 +0000 (20:21 -0700)]
Merge from 3.2: clarify universal-newline wording in tutorial (issue #16266).

12 years agoClarify universal-newline wording in tutorial (issue #16266).
Chris Jerdonek [Thu, 18 Oct 2012 03:17:41 +0000 (20:17 -0700)]
Clarify universal-newline wording in tutorial (issue #16266).

12 years agoMerge heads.
Trent Nelson [Wed, 17 Oct 2012 22:08:40 +0000 (18:08 -0400)]
Merge heads.

12 years agoMerge heads.
Trent Nelson [Wed, 17 Oct 2012 22:08:16 +0000 (18:08 -0400)]
Merge heads.

12 years agoMerge issue #15298.
Trent Nelson [Wed, 17 Oct 2012 22:05:27 +0000 (18:05 -0400)]
Merge issue #15298.

12 years agoIssue #15298: refactor previous fix from 66959d419369.
Trent Nelson [Wed, 17 Oct 2012 22:03:24 +0000 (18:03 -0400)]
Issue #15298: refactor previous fix from 66959d419369.

12 years agoIssue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified
Christian Heimes [Wed, 17 Oct 2012 21:52:17 +0000 (23:52 +0200)]
Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified
endianess detection and handling.

12 years agomerge heads
Andrew Svetlov [Wed, 17 Oct 2012 14:33:26 +0000 (17:33 +0300)]
merge heads

12 years agomerge heads
Andrew Svetlov [Wed, 17 Oct 2012 14:29:20 +0000 (17:29 +0300)]
merge heads

12 years agonull merge
Andrew Svetlov [Wed, 17 Oct 2012 14:26:48 +0000 (17:26 +0300)]
null merge

12 years agonull merge
Andrew Svetlov [Wed, 17 Oct 2012 14:21:36 +0000 (17:21 +0300)]
null merge

12 years agonull merge
Andrew Svetlov [Wed, 17 Oct 2012 14:20:46 +0000 (17:20 +0300)]
null merge

12 years agoMerge issue #9583: Document startup option/environment interaction.
Andrew Svetlov [Wed, 17 Oct 2012 14:16:45 +0000 (17:16 +0300)]
Merge issue #9583: Document startup option/environment interaction.

Patch by Todd Rovito.

12 years agoMerge issue #9583: Document startup option/environment interaction.
Andrew Svetlov [Wed, 17 Oct 2012 14:16:19 +0000 (17:16 +0300)]
Merge issue #9583: Document startup option/environment interaction.

Patch by Todd Rovito.

12 years agoIssue #9583: Document startup option/environment interaction.
Andrew Svetlov [Wed, 17 Oct 2012 14:15:43 +0000 (17:15 +0300)]
Issue #9583: Document startup option/environment interaction.

Patch by Todd Rovito.

12 years agoIssue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
Antoine Pitrou [Wed, 17 Oct 2012 14:14:40 +0000 (16:14 +0200)]
Issue #15378: Fix Tools/unicode/comparecodecs.py.  Patch by Serhiy Storchaka.

12 years agoIssue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
Antoine Pitrou [Wed, 17 Oct 2012 14:13:55 +0000 (16:13 +0200)]
Issue #15378: Fix Tools/unicode/comparecodecs.py.  Patch by Serhiy Storchaka.

12 years agoIssue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
Antoine Pitrou [Wed, 17 Oct 2012 14:12:30 +0000 (16:12 +0200)]
Issue #15378: Fix Tools/unicode/comparecodecs.py.  Patch by Serhiy Storchaka.

12 years agoMerge issue #16265: Fix collapsing of code sample in tutorial.
Andrew Svetlov [Wed, 17 Oct 2012 13:46:50 +0000 (16:46 +0300)]
Merge issue #16265: Fix collapsing of code sample in tutorial.

Thanks to Yongzhi Pan from docs@

12 years agoMerge issue #16265: Fix collapsing of code sample in tutorial.
Andrew Svetlov [Wed, 17 Oct 2012 13:46:00 +0000 (16:46 +0300)]
Merge issue #16265: Fix collapsing of code sample in tutorial.

Thanks to Yongzhi Pan from docs@

12 years agoIssue #16265: Fix collapsing of code sample in tutorial.
Andrew Svetlov [Wed, 17 Oct 2012 13:41:28 +0000 (16:41 +0300)]
Issue #16265: Fix collapsing of code sample in tutorial.

Thanks to Yongzhi Pan from docs@

12 years agotest_logging.py: where needed use unittest's assertGreater, assertLesser, assertIs...
Giampaolo Rodola' [Wed, 17 Oct 2012 11:24:27 +0000 (13:24 +0200)]
test_logging.py: where needed use unittest's assertGreater, assertLesser, assertIs rather than assertTrue (also in order to debug issue 16264)

12 years agoIssue #16257: make test_create_connection() handle ENETUNREACH.
Trent Nelson [Wed, 17 Oct 2012 10:16:02 +0000 (06:16 -0400)]
Issue #16257: make test_create_connection() handle ENETUNREACH.

12 years agoIssue #16257: make test_create_connection() handle ENETUNREACH.
Trent Nelson [Wed, 17 Oct 2012 10:15:40 +0000 (06:15 -0400)]
Issue #16257: make test_create_connection() handle ENETUNREACH.

12 years agoIssue #16257: make test_create_connection() handle ENETUNREACH.
Trent Nelson [Wed, 17 Oct 2012 10:15:15 +0000 (06:15 -0400)]
Issue #16257: make test_create_connection() handle ENETUNREACH.

12 years agoIssue #15819: use standard autoconf preset output variables.
Trent Nelson [Wed, 17 Oct 2012 08:49:26 +0000 (04:49 -0400)]
Issue #15819: use standard autoconf preset output variables.

Reported by: Roumen Petrov

12 years agoIssue #15819: use standard autoconf preset output variables.
Trent Nelson [Wed, 17 Oct 2012 08:47:31 +0000 (04:47 -0400)]
Issue #15819: use standard autoconf preset output variables.

Reported by: Roumen Petrov

12 years agoIssue #15819: use standard autoconf preset output variables.
Trent Nelson [Wed, 17 Oct 2012 08:45:30 +0000 (04:45 -0400)]
Issue #15819: use standard autoconf preset output variables.

Reported by: Roumen Petrov

12 years agoMerge issue #15298: fix an OS X bootstrap issue with _sysconfigdata.py.
Trent Nelson [Wed, 17 Oct 2012 08:24:44 +0000 (04:24 -0400)]
Merge issue #15298: fix an OS X bootstrap issue with _sysconfigdata.py.

12 years agoIssue #15298: fix an OS X bootstrap issue with _sysconfigdata.py.
Trent Nelson [Wed, 17 Oct 2012 08:23:50 +0000 (04:23 -0400)]
Issue #15298: fix an OS X bootstrap issue with _sysconfigdata.py.

Reported by: Ned Deily.

12 years agomerge for issue #16160: Subclass support now works for types.SimpleNamespace.
Eric Snow [Wed, 17 Oct 2012 05:45:49 +0000 (22:45 -0700)]
merge for issue #16160: Subclass support now works for types.SimpleNamespace.

12 years agoClose #16160: Subclass support now works for types.SimpleNamespace. Thanks to RDM...
Eric Snow [Wed, 17 Oct 2012 05:35:38 +0000 (22:35 -0700)]
Close #16160: Subclass support now works for types.SimpleNamespace.  Thanks to RDM for noticing.

12 years agoMerge: A couple more whatsnew updates.
R David Murray [Wed, 17 Oct 2012 01:54:12 +0000 (21:54 -0400)]
Merge: A couple more whatsnew updates.

12 years agoA couple more whatsnew updates.
R David Murray [Wed, 17 Oct 2012 01:52:24 +0000 (21:52 -0400)]
A couple more whatsnew updates.

12 years agoMerge for issue #15744: add tests for the writelines() method of file objects.
Antoine Pitrou [Tue, 16 Oct 2012 21:06:17 +0000 (23:06 +0200)]
Merge for issue #15744: add tests for the writelines() method of file objects.

12 years agoMerge for issue #15744: add tests for the writelines() method of file objects.
Antoine Pitrou [Tue, 16 Oct 2012 21:05:01 +0000 (23:05 +0200)]
Merge for issue #15744: add tests for the writelines() method of file objects.

12 years agoAlso add tests for TextIOWrapper.writelines() (issue #15744).
Antoine Pitrou [Tue, 16 Oct 2012 21:02:27 +0000 (23:02 +0200)]
Also add tests for TextIOWrapper.writelines() (issue #15744).

12 years agoAdd tests for the writelines() method of file objects.
Antoine Pitrou [Tue, 16 Oct 2012 20:57:11 +0000 (22:57 +0200)]
Add tests for the writelines() method of file objects.
Original patch by Felipe Cruz.

12 years agoReformat _tkinter code to follow PEP7
Andrew Svetlov [Tue, 16 Oct 2012 19:50:34 +0000 (22:50 +0300)]
Reformat _tkinter code to follow PEP7

12 years agoIssue #15958: bytes.join and bytearray.join now accept arbitrary buffer objects.
Antoine Pitrou [Tue, 16 Oct 2012 19:07:23 +0000 (21:07 +0200)]
Issue #15958: bytes.join and bytearray.join now accept arbitrary buffer objects.

12 years agoMerge typo fix.
Ezio Melotti [Tue, 16 Oct 2012 18:51:06 +0000 (21:51 +0300)]
Merge typo fix.

12 years agoFix typo.
Ezio Melotti [Tue, 16 Oct 2012 18:50:33 +0000 (21:50 +0300)]
Fix typo.

12 years agoBump autoconf from 2.68 to 2.69.
Trent Nelson [Tue, 16 Oct 2012 15:51:08 +0000 (11:51 -0400)]
Bump autoconf from 2.68 to 2.69.

12 years agoMerge issue #15819: tweak logic in previous commit.
Trent Nelson [Tue, 16 Oct 2012 15:09:31 +0000 (11:09 -0400)]
Merge issue #15819: tweak logic in previous commit.

12 years agoMerge issue #15819: tweak logic in previous commit.
Trent Nelson [Tue, 16 Oct 2012 15:07:31 +0000 (11:07 -0400)]
Merge issue #15819: tweak logic in previous commit.

12 years agoIssue #15819: tweak logic in previous commit (617591e7d708).
Trent Nelson [Tue, 16 Oct 2012 15:04:04 +0000 (11:04 -0400)]
Issue #15819: tweak logic in previous commit (617591e7d708).

12 years agoMerge concurrent.futures dict comp tweak from 3.3
Nick Coghlan [Tue, 16 Oct 2012 13:14:38 +0000 (23:14 +1000)]
Merge concurrent.futures dict comp tweak from 3.3

12 years agoA dict comprehension is much prettier (thanks Antoine)
Nick Coghlan [Tue, 16 Oct 2012 13:14:03 +0000 (23:14 +1000)]
A dict comprehension is much prettier (thanks Antoine)

12 years agoMerge heads.
Trent Nelson [Tue, 16 Oct 2012 12:56:46 +0000 (08:56 -0400)]
Merge heads.

12 years agoMerge heads.
Trent Nelson [Tue, 16 Oct 2012 12:56:41 +0000 (08:56 -0400)]
Merge heads.

12 years agoMerge issue #15819: additional fixes for out-of-tree builds from read-only src.
Trent Nelson [Tue, 16 Oct 2012 12:53:13 +0000 (08:53 -0400)]
Merge issue #15819: additional fixes for out-of-tree builds from read-only src.

Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.

In addition, for 3.3, make sure importlib.h gets generated into the
build directory.

12 years agoMerge issue #15819: additional fixes for out-of-tree builds from read-only src.
Trent Nelson [Tue, 16 Oct 2012 12:51:24 +0000 (08:51 -0400)]
Merge issue #15819: additional fixes for out-of-tree builds from read-only src.

Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.

In addition, for 3.3, make sure importlib.h gets generated into the
build directory.

12 years agoMerge concurrent.futures example changes from 3.3
Nick Coghlan [Tue, 16 Oct 2012 12:51:11 +0000 (22:51 +1000)]
Merge concurrent.futures example changes from 3.3

12 years agoTweak the threaded example in concurrent.futures
Nick Coghlan [Tue, 16 Oct 2012 12:50:04 +0000 (22:50 +1000)]
Tweak the threaded example in concurrent.futures

12 years agoIssue #15819: additional fixes for out-of-tree builds from read-only src.
Trent Nelson [Tue, 16 Oct 2012 12:41:32 +0000 (08:41 -0400)]
Issue #15819: additional fixes for out-of-tree builds from read-only src.

Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.

12 years agoMerge issue #15298: ensure _sysconfigdata is generated in build directory,
Trent Nelson [Tue, 16 Oct 2012 12:17:11 +0000 (08:17 -0400)]
Merge issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by: Richard Oudkerk (sbt).

12 years agoIssue #15298: ensure _sysconfigdata is generated in build directory,
Trent Nelson [Tue, 16 Oct 2012 12:13:12 +0000 (08:13 -0400)]
Issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by Richard Oudkerk (sbt).

12 years agoMerge issue #15833: don't raise an exception if importlib can't write
Trent Nelson [Tue, 16 Oct 2012 12:03:21 +0000 (08:03 -0400)]
Merge issue #15833: don't raise an exception if importlib can't write
byte-compiled files.

This fixes a regression introduced by 3.3.

Patch by Charles-François Natali.

12 years agoMerge heads.
Trent Nelson [Tue, 16 Oct 2012 11:48:34 +0000 (07:48 -0400)]
Merge heads.

12 years agoIssue #15833: don't raise an exception if importlib can't write byte-compiled
Trent Nelson [Tue, 16 Oct 2012 11:47:34 +0000 (07:47 -0400)]
Issue #15833: don't raise an exception if importlib can't write byte-compiled
files.

This fixes a regression introduced by 3.3.  Patch by Charles-François Natali.

12 years agoMerge issue #15936: Reformat text for os.random to follow Larry Hastings suggestion
Andrew Svetlov [Tue, 16 Oct 2012 10:52:53 +0000 (13:52 +0300)]
Merge issue #15936: Reformat text for os.random to follow Larry Hastings suggestion

12 years agoIssue #15936: Reformat text for os.random to follow Larry Hastings suggestion
Andrew Svetlov [Tue, 16 Oct 2012 10:52:25 +0000 (13:52 +0300)]
Issue #15936: Reformat text for os.random to follow Larry Hastings suggestion

12 years agoMerge issue #15936: Add link from os.urandom to random.SystemRandom
Andrew Svetlov [Tue, 16 Oct 2012 10:15:35 +0000 (13:15 +0300)]
Merge issue #15936: Add link from os.urandom to random.SystemRandom

12 years agoIssue #15936: Add link from os.urandom to random.SystemRandom
Andrew Svetlov [Tue, 16 Oct 2012 10:15:06 +0000 (13:15 +0300)]
Issue #15936: Add link from os.urandom to random.SystemRandom

12 years agoCloses #16244: Merged change from 3.3.
Vinay Sajip [Tue, 16 Oct 2012 09:33:30 +0000 (10:33 +0100)]
Closes #16244: Merged change from 3.3.

12 years agoIssue #16244: Merged change from 3.2.
Vinay Sajip [Tue, 16 Oct 2012 09:32:13 +0000 (10:32 +0100)]
Issue #16244: Merged change from 3.2.

12 years agoIssue #16244: Remove file mode overrides.
Vinay Sajip [Tue, 16 Oct 2012 09:28:31 +0000 (10:28 +0100)]
Issue #16244: Remove file mode overrides.

12 years agoIssue #16225: Merge from 3.3: Add additional note to tutorial about looping.
Chris Jerdonek [Tue, 16 Oct 2012 02:47:32 +0000 (19:47 -0700)]
Issue #16225: Merge from 3.3: Add additional note to tutorial about looping.

12 years agoIssue #16225: Merge from 3.2: Add additional note to tutorial about looping.
Chris Jerdonek [Tue, 16 Oct 2012 02:46:34 +0000 (19:46 -0700)]
Issue #16225: Merge from 3.2: Add additional note to tutorial about looping.

12 years agoIssue #16225: Add additional note to tutorial about changing sequence while looping.
Chris Jerdonek [Tue, 16 Oct 2012 02:44:47 +0000 (19:44 -0700)]
Issue #16225: Add additional note to tutorial about changing sequence while looping.

12 years agologging's SocketHandler: get rid of some legacy code and use the newer socket.create_...
Giampaolo Rodola' [Mon, 15 Oct 2012 14:57:37 +0000 (16:57 +0200)]
logging's SocketHandler: get rid of some legacy code and use the newer socket.create_connection() utility function

12 years agoIssue #16234: Modify sha3's block_size method to return NotImplemented.
Christian Heimes [Sun, 14 Oct 2012 20:16:27 +0000 (22:16 +0200)]
Issue #16234: Modify sha3's block_size method to return NotImplemented.
This makes the sha3 types unusable from the hmac module. HMAC-SHA3 hasn't been specified yet.

12 years agoIssue #15721: make _tkinter module pep384 compatible.
Andrew Svetlov [Sun, 14 Oct 2012 13:54:35 +0000 (16:54 +0300)]
Issue #15721: make _tkinter module pep384 compatible.

12 years agoUpdate comment: SPARC requires proper alignment
Christian Heimes [Sun, 14 Oct 2012 12:36:09 +0000 (14:36 +0200)]
Update comment: SPARC requires proper alignment

12 years agoget 64bit platforms without uint64 right again
Christian Heimes [Sun, 14 Oct 2012 02:17:50 +0000 (04:17 +0200)]
get 64bit platforms without uint64 right again

12 years agomerge
Christian Heimes [Sun, 14 Oct 2012 00:53:40 +0000 (02:53 +0200)]
merge

12 years agoForce 32bit Keccak implementation on SPARC. It look like the Solaris CC compiler...
Christian Heimes [Sun, 14 Oct 2012 00:52:01 +0000 (02:52 +0200)]
Force 32bit Keccak implementation on SPARC. It look like the Solaris CC compiler doesn't like the address alignment.

12 years agoClean up some warnings in test suite output.
Nadeem Vawda [Sat, 13 Oct 2012 23:42:32 +0000 (01:42 +0200)]
Clean up some warnings in test suite output.

12 years agoKeccak: fromBytesToWord() and fromWordToBytes() are required on 64bit big endian...
Christian Heimes [Sat, 13 Oct 2012 22:59:29 +0000 (00:59 +0200)]
Keccak: fromBytesToWord() and fromWordToBytes() are required on 64bit big endian platforms

12 years agomerge heads
Benjamin Peterson [Sat, 13 Oct 2012 15:58:23 +0000 (11:58 -0400)]
merge heads