]> granicus.if.org Git - python/log
python
13 years agoMerge: #13781: Fix GzipFile to work with os.fdopen()'d file objects.
Nadeem Vawda [Wed, 18 Jan 2012 07:32:25 +0000 (09:32 +0200)]
Merge: #13781: Fix GzipFile to work with os.fdopen()'d file objects.

13 years agoIssue #13781: Fix GzipFile to work with os.fdopen()'d file objects.
Nadeem Vawda [Wed, 18 Jan 2012 07:25:58 +0000 (09:25 +0200)]
Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects.

13 years agoMERGE: And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distu...
Jesus Cea [Wed, 18 Jan 2012 04:05:41 +0000 (05:05 +0100)]
MERGE: And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name

13 years agoAnd yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils...
Jesus Cea [Wed, 18 Jan 2012 04:04:49 +0000 (05:04 +0100)]
And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name

13 years agoMERGE: Yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils...
Jesus Cea [Wed, 18 Jan 2012 03:49:54 +0000 (04:49 +0100)]
MERGE: Yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name

13 years agoYet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn...
Jesus Cea [Wed, 18 Jan 2012 03:49:26 +0000 (04:49 +0100)]
Yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name

13 years ago#13665: merge with 3.2.
Ezio Melotti [Wed, 18 Jan 2012 03:43:21 +0000 (05:43 +0200)]
#13665: merge with 3.2.

13 years ago#13665: s/string/bytes/ in error message.
Ezio Melotti [Wed, 18 Jan 2012 03:42:39 +0000 (05:42 +0200)]
#13665: s/string/bytes/ in error message.

13 years agoUse ASCII quotes and fix markup.
Ezio Melotti [Wed, 18 Jan 2012 03:40:00 +0000 (05:40 +0200)]
Use ASCII quotes and fix markup.

13 years agoMERGE: Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't...
Jesus Cea [Wed, 18 Jan 2012 03:28:05 +0000 (04:28 +0100)]
MERGE: Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name

13 years agoEmergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include...
Jesus Cea [Wed, 18 Jan 2012 03:27:37 +0000 (04:27 +0100)]
Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name

13 years agoMERGE: Closes #13803: Under Solaris, distutils doesn't include bitness in the directo...
Jesus Cea [Wed, 18 Jan 2012 03:01:24 +0000 (04:01 +0100)]
MERGE: Closes #13803: Under Solaris, distutils doesn't include bitness in the directory name

13 years agoCloses #13803: Under Solaris, distutils doesn't include bitness in the directory...
Jesus Cea [Wed, 18 Jan 2012 02:58:42 +0000 (03:58 +0100)]
Closes #13803: Under Solaris, distutils doesn't include bitness in the directory name

13 years agoMerge
Antoine Pitrou [Wed, 18 Jan 2012 01:05:38 +0000 (02:05 +0100)]
Merge

13 years agoIssue #10278: fix a typo in the doc
Victor Stinner [Wed, 18 Jan 2012 00:57:19 +0000 (01:57 +0100)]
Issue #10278: fix a typo in the doc

13 years agoClose #10278: Add time.wallclock() function, monotonic clock.
Victor Stinner [Wed, 18 Jan 2012 00:50:21 +0000 (01:50 +0100)]
Close #10278: Add time.wallclock() function, monotonic clock.

13 years agoFix error handling in timemodule.c
Antoine Pitrou [Wed, 18 Jan 2012 00:41:44 +0000 (01:41 +0100)]
Fix error handling in timemodule.c

13 years agoAdd missing versionadded in webbrowser doc.
Ezio Melotti [Wed, 18 Jan 2012 00:32:07 +0000 (02:32 +0200)]
Add missing versionadded in webbrowser doc.

13 years agoIssue #13809: Make bz2 module work with threads disabled.
Nadeem Vawda [Tue, 17 Jan 2012 23:57:14 +0000 (01:57 +0200)]
Issue #13809: Make bz2 module work with threads disabled.

Original patch by Amaury Forgeot d'Arc.

13 years agoTest running of code in a sub-interpreter
Antoine Pitrou [Tue, 17 Jan 2012 23:22:06 +0000 (00:22 +0100)]
Test running of code in a sub-interpreter
(prelude to issue #6531).

13 years agoTest running of code in a sub-interpreter
Antoine Pitrou [Tue, 17 Jan 2012 23:21:11 +0000 (00:21 +0100)]
Test running of code in a sub-interpreter
(prelude to issue #6531).

13 years agoIssue #13727: Add 3 macros to access PyDateTime_Delta members:
Amaury Forgeot d'Arc [Tue, 17 Jan 2012 20:31:50 +0000 (21:31 +0100)]
Issue #13727: Add 3 macros to access PyDateTime_Delta members:
PyDateTime_DELTA_GET_DAYS, PyDateTime_DELTA_GET_SECONDS,
PyDateTime_DELTA_GET_MICROSECONDS.

Please use them instead of directly accessing PyDateTime_Delta struct members.

13 years agoIssue #13589: Fix some serialization primitives in the aifc module.
Antoine Pitrou [Tue, 17 Jan 2012 16:14:30 +0000 (17:14 +0100)]
Issue #13589: Fix some serialization primitives in the aifc module.
Patch by Oleg Plakhotnyuk.

13 years agoIssue #13589: Fix some serialization primitives in the aifc module.
Antoine Pitrou [Tue, 17 Jan 2012 16:13:04 +0000 (17:13 +0100)]
Issue #13589: Fix some serialization primitives in the aifc module.
Patch by Oleg Plakhotnyuk.

13 years agoAdd missing sentinel to PyCursesWindow_getsets
Ronald Oussoren [Tue, 17 Jan 2012 15:53:20 +0000 (16:53 +0100)]
Add missing sentinel to PyCursesWindow_getsets

The PyCursesWindow_getsets array was introduced without sentinel in c3581ca21a57.

13 years agofix indentation
Benjamin Peterson [Mon, 16 Jan 2012 23:02:21 +0000 (18:02 -0500)]
fix indentation

13 years agobreak out switch at correct place
Benjamin Peterson [Mon, 16 Jan 2012 22:44:12 +0000 (17:44 -0500)]
break out switch at correct place

13 years agoonly finish error if one occurred
Benjamin Peterson [Mon, 16 Jan 2012 22:31:43 +0000 (17:31 -0500)]
only finish error if one occurred

13 years agomove LINENO define to where it actually belongs
Benjamin Peterson [Mon, 16 Jan 2012 22:29:05 +0000 (17:29 -0500)]
move LINENO define to where it actually belongs

13 years agostreamline normalizer identification a bit
Benjamin Peterson [Mon, 16 Jan 2012 22:22:31 +0000 (17:22 -0500)]
streamline normalizer identification a bit

13 years agoRemove "documenting" latex document.
Georg Brandl [Mon, 16 Jan 2012 20:40:20 +0000 (21:40 +0100)]
Remove "documenting" latex document.

13 years agoRemove "documenting" latex document.
Georg Brandl [Mon, 16 Jan 2012 20:40:12 +0000 (21:40 +0100)]
Remove "documenting" latex document.

13 years agoRemove "documenting" latex document.
Georg Brandl [Mon, 16 Jan 2012 20:39:56 +0000 (21:39 +0100)]
Remove "documenting" latex document.

13 years agodon't ready in case_operation, since most callers do it themselves
Benjamin Peterson [Mon, 16 Jan 2012 19:28:50 +0000 (14:28 -0500)]
don't ready in case_operation, since most callers do it themselves

13 years agoIssue: #12409: merge with 3.2
Sandro Tosi [Mon, 16 Jan 2012 17:03:51 +0000 (18:03 +0100)]
Issue: #12409: merge with 3.2

13 years agoIssue: #12409: remove obsolete susp-entries
Sandro Tosi [Mon, 16 Jan 2012 17:02:09 +0000 (18:02 +0100)]
Issue: #12409: remove obsolete susp-entries

13 years agoIssue #13588: Rename decorators in importlib.
Brett Cannon [Mon, 16 Jan 2012 16:46:22 +0000 (11:46 -0500)]
Issue #13588: Rename decorators in importlib.
More descriptive names are now used in order to make tracebacks
more readable.

13 years agofix spelling
Benjamin Peterson [Mon, 16 Jan 2012 14:56:35 +0000 (09:56 -0500)]
fix spelling

13 years agoinvert condition (head bang)
Benjamin Peterson [Mon, 16 Jan 2012 14:55:53 +0000 (09:55 -0500)]
invert condition (head bang)

13 years agomurder tabs
Benjamin Peterson [Mon, 16 Jan 2012 14:54:28 +0000 (09:54 -0500)]
murder tabs

13 years agofix possible refleaks
Benjamin Peterson [Mon, 16 Jan 2012 14:50:48 +0000 (09:50 -0500)]
fix possible refleaks

13 years agouse helpful PyUnicode_IS_ASCII macro
Benjamin Peterson [Mon, 16 Jan 2012 14:49:20 +0000 (09:49 -0500)]
use helpful PyUnicode_IS_ASCII macro

13 years agoPyUnicode_DecodeUTF8 will always return a ready string
Benjamin Peterson [Mon, 16 Jan 2012 14:47:42 +0000 (09:47 -0500)]
PyUnicode_DecodeUTF8 will always return a ready string

13 years agorewrite such that this actually makes sense
Benjamin Peterson [Mon, 16 Jan 2012 14:42:36 +0000 (09:42 -0500)]
rewrite such that this actually makes sense

13 years agoregenerated using autoconf, includes dirfd test.
Gregory P. Smith [Mon, 16 Jan 2012 10:09:41 +0000 (02:09 -0800)]
regenerated using autoconf, includes dirfd test.

13 years agoAdd a test for the dirfd library function (to be used in an upcoming
Gregory P. Smith [Mon, 16 Jan 2012 10:09:11 +0000 (02:09 -0800)]
Add a test for the dirfd library function (to be used in an upcoming
change).  configure will be regenerated in the next commit.

13 years agoregenerate configure using autoconf. includes the dirfd test.
Gregory P. Smith [Mon, 16 Jan 2012 10:05:55 +0000 (02:05 -0800)]
regenerate configure using autoconf.  includes the dirfd test.

13 years agoTest for the dirfd library function (for use in some upcoming
Gregory P. Smith [Mon, 16 Jan 2012 10:05:23 +0000 (02:05 -0800)]
Test for the dirfd library function (for use in some upcoming
changes).

13 years agoMerge with 3.2 #6528 None, True, False are keywords in 3.x. Patch by R. Serwy.
Terry Jan Reedy [Mon, 16 Jan 2012 08:22:33 +0000 (03:22 -0500)]
Merge with 3.2 #6528 None, True, False are keywords in 3.x. Patch by R. Serwy.

13 years ago#6528 None, True, False are keywords in 3.x. Patch by Roger Serwy.
Terry Jan Reedy [Mon, 16 Jan 2012 08:20:27 +0000 (03:20 -0500)]
#6528 None, True, False are keywords in 3.x. Patch by Roger Serwy.

13 years ago#13715: merge with 3.2.
Ezio Melotti [Mon, 16 Jan 2012 06:46:11 +0000 (08:46 +0200)]
#13715: merge with 3.2.

13 years ago#13715: fix typo in unicodedata doc. Patch by Eli Collins.
Ezio Melotti [Mon, 16 Jan 2012 06:42:32 +0000 (08:42 +0200)]
#13715: fix typo in unicodedata doc.  Patch by Eli Collins.

13 years ago#13695: merge with 3.2.
Ezio Melotti [Mon, 16 Jan 2012 06:29:42 +0000 (08:29 +0200)]
#13695: merge with 3.2.

13 years ago#13695: fix a couple of typos in the doc.
Ezio Melotti [Mon, 16 Jan 2012 06:28:54 +0000 (08:28 +0200)]
#13695: fix a couple of typos in the doc.

13 years agokill useless import added by 87331661042b
Benjamin Peterson [Mon, 16 Jan 2012 03:43:10 +0000 (22:43 -0500)]
kill useless import added by 87331661042b

13 years agofix old titlecase function for extended case chars
Benjamin Peterson [Mon, 16 Jan 2012 02:33:32 +0000 (21:33 -0500)]
fix old titlecase function for extended case chars

13 years agomerge 3.2 (#13766)
Benjamin Peterson [Mon, 16 Jan 2012 02:28:13 +0000 (21:28 -0500)]
merge 3.2 (#13766)

13 years agoexplain why we need this grammar file (closes #13766)
Benjamin Peterson [Mon, 16 Jan 2012 02:28:00 +0000 (21:28 -0500)]
explain why we need this grammar file (closes #13766)

13 years agocomment about how flags could be expanded
Benjamin Peterson [Mon, 16 Jan 2012 02:26:23 +0000 (21:26 -0500)]
comment about how flags could be expanded

13 years agodelta encoding of upper/lower/title makes a glorious return (#12736)
Benjamin Peterson [Mon, 16 Jan 2012 02:19:20 +0000 (21:19 -0500)]
delta encoding of upper/lower/title makes a glorious return (#12736)

13 years agoIssue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes.
Meador Inge [Mon, 16 Jan 2012 01:31:57 +0000 (19:31 -0600)]
Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes.

13 years agoIssue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes.
Meador Inge [Mon, 16 Jan 2012 01:15:36 +0000 (19:15 -0600)]
Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes.

13 years agoMerge with 3.2 #13039 allow proper deletion of '>>> ' in IDLE editor windows.
Terry Jan Reedy [Mon, 16 Jan 2012 00:08:28 +0000 (19:08 -0500)]
Merge with 3.2 #13039 allow proper deletion of '>>> ' in IDLE editor windows.
Patch by Roger Serwy.

13 years ago#13039 allow proper deletion of '>>> ' in IDLE editor windows.
Terry Jan Reedy [Mon, 16 Jan 2012 00:03:23 +0000 (19:03 -0500)]
#13039 allow proper deletion of '>>> ' in IDLE editor windows.
Patch by Roger Serwy.

13 years agoConsolidate the occurrances of the prime used as the multiplier when hashing.
Gregory P. Smith [Sat, 14 Jan 2012 23:45:13 +0000 (15:45 -0800)]
Consolidate the occurrances of the prime used as the multiplier when hashing.

13 years agoConsolidate the occurrances of the prime used as the multiplier when hashing
Gregory P. Smith [Sat, 14 Jan 2012 23:31:34 +0000 (15:31 -0800)]
Consolidate the occurrances of the prime used as the multiplier when hashing
to a single #define instead of having several copies in several files.

This excludes the Modules/ tree (datetime and expat both have a copy
for their own purposes with no need for it to be the same).

13 years agomerge heads
Gregory P. Smith [Sat, 14 Jan 2012 23:09:07 +0000 (15:09 -0800)]
merge heads

13 years agoRemove an unnecessary extra copy of the bytes hash function.
Gregory P. Smith [Sat, 14 Jan 2012 22:31:13 +0000 (14:31 -0800)]
Remove an unnecessary extra copy of the bytes hash function.

This copy also had a bug in it, it fails to incorporate the length
into the hash by using it as the loop variable so it'll always be -1
by the time it is XORed in.

As such: I'm doing this only in Python 3.3 and not backporting as it
would change the existing hash behavior of datetime objects.

13 years agomerge with 3.2
Sandro Tosi [Sat, 14 Jan 2012 21:27:56 +0000 (22:27 +0100)]
merge with 3.2

13 years agoremove 'Documenting Python' and its references, it's now on devguide
Sandro Tosi [Sat, 14 Jan 2012 21:23:27 +0000 (22:23 +0100)]
remove 'Documenting Python' and its references, it's now on devguide

13 years agoMention the additional way to use the lvl parameter and when it changed.
Gregory P. Smith [Sat, 14 Jan 2012 21:19:20 +0000 (13:19 -0800)]
Mention the additional way to use the lvl parameter and when it changed.

13 years agoMention the additional way to use the lvl parameter and when it changed.
Gregory P. Smith [Sat, 14 Jan 2012 20:46:17 +0000 (12:46 -0800)]
Mention the additional way to use the lvl parameter and when it changed.

13 years agofix possible refleaks if PyUnicode_READY fails
Benjamin Peterson [Sat, 14 Jan 2012 18:37:31 +0000 (13:37 -0500)]
fix possible refleaks if PyUnicode_READY fails

13 years agoalways explicitly check for -1 from PyUnicode_READY
Benjamin Peterson [Sat, 14 Jan 2012 18:34:47 +0000 (13:34 -0500)]
always explicitly check for -1 from PyUnicode_READY

13 years agoadd str.casefold() (closes #13752)
Benjamin Peterson [Sat, 14 Jan 2012 18:23:30 +0000 (13:23 -0500)]
add str.casefold() (closes #13752)

13 years agoIssue #13786: Remove unimplemented 'trace' long option from regrtest.py.
Meador Inge [Sat, 14 Jan 2012 17:54:43 +0000 (11:54 -0600)]
Issue #13786: Remove unimplemented 'trace' long option from regrtest.py.

13 years agoIssue #13786: Remove unimplemented 'trace' long option from regrtest.py.
Meador Inge [Sat, 14 Jan 2012 17:50:33 +0000 (11:50 -0600)]
Issue #13786: Remove unimplemented 'trace' long option from regrtest.py.

13 years agoUse GetModuleHandleW to avoid *A functions where possible.
Martin v. Löwis [Sat, 14 Jan 2012 16:54:09 +0000 (17:54 +0100)]
Use GetModuleHandleW to avoid *A functions where possible.

13 years agoIssue #13725: Add a NEWS entry.
Meador Inge [Sat, 14 Jan 2012 15:56:42 +0000 (09:56 -0600)]
Issue #13725: Add a NEWS entry.

13 years agoIssue #13725: Add a NEWS entry.
Meador Inge [Sat, 14 Jan 2012 15:32:41 +0000 (09:32 -0600)]
Issue #13725: Add a NEWS entry.

13 years agoIssue #13725: regrtest does not recognize -d flag.
Meador Inge [Sat, 14 Jan 2012 15:17:10 +0000 (09:17 -0600)]
Issue #13725: regrtest does not recognize -d flag.

Patch by Erno Tukia.

13 years agoIssue #13725: regrtest does not recognize -d flag.
Meador Inge [Sat, 14 Jan 2012 15:12:55 +0000 (09:12 -0600)]
Issue #13725: regrtest does not recognize -d flag.

Patch by Erno Tukia.

13 years agomake YieldFrom its own distinct from Yield (closes #13780)
Benjamin Peterson [Sat, 14 Jan 2012 13:58:23 +0000 (08:58 -0500)]
make YieldFrom its own distinct from Yield (closes #13780)

13 years agomerge from 3.2 - Fix issue13726: -S accepts an argument just as --start.
Senthil Kumaran [Sat, 14 Jan 2012 13:08:15 +0000 (21:08 +0800)]
merge from 3.2 - Fix issue13726: -S accepts an argument just as --start.

13 years agoFix issue13726: -S accepts an argument just as --start.
Senthil Kumaran [Sat, 14 Jan 2012 13:07:31 +0000 (21:07 +0800)]
Fix issue13726: -S accepts an argument just as --start.

13 years agomerge heads.
Senthil Kumaran [Sat, 14 Jan 2012 11:13:06 +0000 (19:13 +0800)]
merge heads.

13 years agomerge from 3.2 - Fix Issue #13642: Unquote before b64encoding user:password during...
Senthil Kumaran [Sat, 14 Jan 2012 11:12:28 +0000 (19:12 +0800)]
merge from 3.2 - Fix Issue #13642: Unquote before b64encoding user:password during Basic Authentication.

13 years agoFix Issue #13642: Unquote before b64encoding user:password during Basic Authentication.
Senthil Kumaran [Sat, 14 Jan 2012 11:09:04 +0000 (19:09 +0800)]
Fix Issue #13642: Unquote before b64encoding user:password during Basic Authentication.

13 years agoMerge.
Charles-François Natali [Sat, 14 Jan 2012 10:53:37 +0000 (11:53 +0100)]
Merge.

13 years agoIssue #12760: Refer to the new 'x' open mode as "exclusive creation" mode.
Charles-François Natali [Sat, 14 Jan 2012 10:51:00 +0000 (11:51 +0100)]
Issue #12760: Refer to the new 'x' open mode as "exclusive creation" mode.

13 years agomerge from 3.2
Senthil Kumaran [Sat, 14 Jan 2012 10:39:23 +0000 (18:39 +0800)]
merge from 3.2

13 years agomerge from 3.2
Senthil Kumaran [Sat, 14 Jan 2012 10:39:06 +0000 (18:39 +0800)]
merge from 3.2

13 years agoAdding the -o option for Issue13726
Senthil Kumaran [Sat, 14 Jan 2012 10:38:28 +0000 (18:38 +0800)]
Adding the -o option for Issue13726

13 years agoIssue13726 - Fix the ambiguous -S flag in regrtest. It is -o/--slow for printing...
Senthil Kumaran [Sat, 14 Jan 2012 10:26:27 +0000 (18:26 +0800)]
Issue13726 - Fix the  ambiguous -S flag in regrtest. It is -o/--slow for printing the 10 slowest test.

13 years agoAdd a separate NEWS entry for a change to PyObject_CallMethod in the PEP 380 patch...
Nick Coghlan [Sat, 14 Jan 2012 06:45:48 +0000 (16:45 +1000)]
Add a separate NEWS entry for a change to PyObject_CallMethod in the PEP 380 patch, and make the private CallMethod variants consistent with the public one

13 years agoFix indenting
Nick Coghlan [Sat, 14 Jan 2012 06:08:08 +0000 (16:08 +1000)]
Fix indenting

13 years agoRemove lingering artifact of an initial PEP 380 Grammar change that was later reverted
Nick Coghlan [Sat, 14 Jan 2012 06:03:07 +0000 (16:03 +1000)]
Remove lingering artifact of an initial PEP 380 Grammar change that was later reverted

13 years agoMerge
Terry Jan Reedy [Sat, 14 Jan 2012 04:47:41 +0000 (23:47 -0500)]
Merge

13 years agoMerge with 3.2 #13730 grammar fix
Terry Jan Reedy [Sat, 14 Jan 2012 04:44:49 +0000 (23:44 -0500)]
Merge with 3.2 #13730 grammar fix

13 years agoAdd versionchanged notes for PEP 380
Nick Coghlan [Sat, 14 Jan 2012 04:43:24 +0000 (14:43 +1000)]
Add versionchanged notes for PEP 380