]> granicus.if.org Git - python/log
python
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

13 years ago#13730 grammar fix
Terry Jan Reedy [Sat, 14 Jan 2012 04:43:13 +0000 (23:43 -0500)]
#13730 grammar fix

13 years agoFix merge glitch in What's New
Nick Coghlan [Sat, 14 Jan 2012 04:19:49 +0000 (14:19 +1000)]
Fix merge glitch in What's New

13 years agoSilence compilation warnings on Windows
Amaury Forgeot d'Arc [Fri, 13 Jan 2012 21:12:37 +0000 (22:12 +0100)]
Silence compilation warnings on Windows

13 years agoFix compilation with C89 compilers (Windows...)
Amaury Forgeot d'Arc [Fri, 13 Jan 2012 20:08:49 +0000 (21:08 +0100)]
Fix compilation with C89 compilers (Windows...)

13 years agoFix a crash when the return value of a subgenerator is a temporary
Amaury Forgeot d'Arc [Fri, 13 Jan 2012 20:06:12 +0000 (21:06 +0100)]
Fix a crash when the return value of a subgenerator is a temporary
object (with a refcount of 1)

13 years agoIssue #13764: remove outdated script Misc/build.sh
Antoine Pitrou [Fri, 13 Jan 2012 18:41:42 +0000 (19:41 +0100)]
Issue #13764: remove outdated script Misc/build.sh

13 years agotest_strlit was never run
Antoine Pitrou [Thu, 12 Jan 2012 21:36:48 +0000 (22:36 +0100)]
test_strlit was never run

13 years ago#11633 At least 2 people prefer earlier revision.
Terry Jan Reedy [Thu, 12 Jan 2012 19:49:02 +0000 (14:49 -0500)]
#11633 At least 2 people prefer earlier revision.

13 years agoIssue #13724: improve documentation for socket.create_connection.
Antoine Pitrou [Thu, 12 Jan 2012 07:06:19 +0000 (08:06 +0100)]
Issue #13724: improve documentation for socket.create_connection.

13 years agofold into one if statement
Benjamin Peterson [Thu, 12 Jan 2012 02:00:16 +0000 (21:00 -0500)]
fold into one if statement

13 years agoMinor correction. #11418
Terry Jan Reedy [Wed, 11 Jan 2012 19:54:34 +0000 (14:54 -0500)]
Minor correction. #11418

13 years agoCloses #11633 Clarify print buffering.
Terry Jan Reedy [Wed, 11 Jan 2012 19:09:49 +0000 (14:09 -0500)]
Closes #11633 Clarify print buffering.

13 years ago#13754 String returned if less than *or equal to* x 3
Terry Jan Reedy [Wed, 11 Jan 2012 08:29:42 +0000 (03:29 -0500)]
#13754 String returned if less than *or equal to* x 3
Close *13753 'seq' now 'iterable'

13 years agoRemove unused certificate from the test directory.
Antoine Pitrou [Tue, 10 Jan 2012 22:45:54 +0000 (23:45 +0100)]
Remove unused certificate from the test directory.

13 years agoIssue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable...
Senthil Kumaran [Tue, 10 Jan 2012 17:29:08 +0000 (01:29 +0800)]
Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter.

13 years ago#11906 Make test_argparse work interactively by removing extra space
Terry Jan Reedy [Mon, 9 Jan 2012 23:20:09 +0000 (18:20 -0500)]
#11906 Make test_argparse work interactively by removing extra space
in comparison string that argparse does not add when program name is blank.

13 years agoIssue #13747: fix SSL compatibility table.
Antoine Pitrou [Mon, 9 Jan 2012 20:43:18 +0000 (21:43 +0100)]
Issue #13747: fix SSL compatibility table.

13 years agoIssue #13747: fix documentation error about the default SSL version.
Antoine Pitrou [Mon, 9 Jan 2012 20:35:11 +0000 (21:35 +0100)]
Issue #13747: fix documentation error about the default SSL version.

13 years agoIssue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.
Ross Lagerwall [Sun, 8 Jan 2012 06:29:40 +0000 (08:29 +0200)]
Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.

13 years agoPy_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from...
Sandro Tosi [Sat, 7 Jan 2012 17:34:07 +0000 (18:34 +0100)]
Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from docs@

13 years agoIssue #13502: threading: Fix a race condition in Event.wait() that made it
Charles-François Natali [Sat, 7 Jan 2012 17:24:56 +0000 (18:24 +0100)]
Issue #13502: threading: Fix a race condition in Event.wait() that made it
return False when the event was set and cleared right after.

13 years agoclarify recv* are blocking operations; thanks to Chris Kogelnik from docs@
Sandro Tosi [Sat, 7 Jan 2012 16:56:58 +0000 (17:56 +0100)]
clarify recv* are blocking operations; thanks to Chris Kogelnik from docs@

13 years agoUpdate printout of SSL certificate examples for 3.2+.
Antoine Pitrou [Fri, 6 Jan 2012 19:06:15 +0000 (20:06 +0100)]
Update printout of SSL certificate examples for 3.2+.

13 years agoIssue #12042: a queue is only used to retrive results; preliminary patch by Jordan...
Sandro Tosi [Thu, 5 Jan 2012 18:48:56 +0000 (19:48 +0100)]
Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan Stadler

13 years agoIssue #11984: remove reference to parser, it's not showing symbol usage anymore
Sandro Tosi [Thu, 5 Jan 2012 18:06:25 +0000 (19:06 +0100)]
Issue #11984: remove reference to parser, it's not showing symbol usage anymore

13 years agoIssue #12926: Fix a bug in tarfile's link extraction.
Lars Gustäbel [Thu, 5 Jan 2012 17:48:06 +0000 (18:48 +0100)]
Issue #12926: Fix a bug in tarfile's link extraction.

On platforms that do not support (symbolic) links, tarfile offers a
work-around and extracts a link in an archive as the regular file the link is
pointing to. On other platforms, this code was accidentally executed even
after the link had been successfully extracted which failed due to the already
existing link.

13 years agoCloses #13699. Skipped two tests if Python is optimised.
Vinay Sajip [Thu, 5 Jan 2012 11:45:31 +0000 (11:45 +0000)]
Closes #13699. Skipped two tests if Python is optimised.

13 years agoIssue #10772: add count and help argparse action; patch by Marc Sibson
Sandro Tosi [Wed, 4 Jan 2012 22:25:04 +0000 (23:25 +0100)]
Issue #10772: add count and help argparse action; patch by Marc Sibson

13 years agoIssue13696 - Fix 302 Redirection for Relative urls.
Senthil Kumaran [Wed, 4 Jan 2012 05:46:59 +0000 (13:46 +0800)]
Issue13696 - Fix 302 Redirection for Relative urls.

13 years agoAdd a subsection explaning cipher selection.
Antoine Pitrou [Wed, 4 Jan 2012 01:53:44 +0000 (02:53 +0100)]
Add a subsection explaning cipher selection.

13 years agofix formatting
Benjamin Peterson [Tue, 3 Jan 2012 22:47:22 +0000 (16:47 -0600)]
fix formatting

13 years agoexception support is correct now (closes #13705)
Benjamin Peterson [Tue, 3 Jan 2012 22:30:37 +0000 (16:30 -0600)]
exception support is correct now (closes #13705)

13 years agomerge 3.1
Benjamin Peterson [Tue, 3 Jan 2012 22:24:39 +0000 (16:24 -0600)]
merge 3.1

13 years agofix this to not depend on dictionary order
Benjamin Peterson [Tue, 3 Jan 2012 22:23:11 +0000 (16:23 -0600)]
fix this to not depend on dictionary order

13 years agoMerge
Antoine Pitrou [Tue, 3 Jan 2012 21:49:56 +0000 (22:49 +0100)]
Merge

13 years agoIssue #13636: Weak ciphers are now disabled by default in the ssl module
Antoine Pitrou [Tue, 3 Jan 2012 21:46:48 +0000 (22:46 +0100)]
Issue #13636: Weak ciphers are now disabled by default in the ssl module
(except when SSLv2 is explicitly asked for).

13 years agoIssue #6031: improve serve_forever() description
Sandro Tosi [Tue, 3 Jan 2012 21:35:54 +0000 (22:35 +0100)]
Issue #6031: improve serve_forever() description

13 years agoIssue #9349: add argparse.SUPPRESS to help doc
Sandro Tosi [Tue, 3 Jan 2012 17:37:03 +0000 (18:37 +0100)]
Issue #9349: add argparse.SUPPRESS to help doc

13 years agoIssue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
Charles-François Natali [Mon, 2 Jan 2012 14:47:29 +0000 (15:47 +0100)]
Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
Vilmos Nebehaj.

13 years agoIssue #13594: various fixes to aifc module; patch by Oleg Plakhotnyuk
Sandro Tosi [Sun, 1 Jan 2012 21:53:08 +0000 (22:53 +0100)]
Issue #13594: various fixes to aifc module; patch by Oleg Plakhotnyuk

13 years agoIssue #13680: add lowecase compression type to write header; patch by Oleg Plakhotnyuk
Sandro Tosi [Sun, 1 Jan 2012 17:04:37 +0000 (18:04 +0100)]
Issue #13680: add lowecase compression type to write header; patch by Oleg Plakhotnyuk

13 years agoIssue #13690: add re.DEBUG; patch by Filip Gruszczyński
Sandro Tosi [Sun, 1 Jan 2012 11:55:20 +0000 (12:55 +0100)]
Issue #13690: add re.DEBUG; patch by Filip Gruszczyński

13 years agoIssue #13683: raise with no exception in scope throws a RuntimeError; fix by Ramchand...
Sandro Tosi [Sun, 1 Jan 2012 11:17:15 +0000 (12:17 +0100)]
Issue #13683: raise with no exception in scope throws a RuntimeError; fix by Ramchandra Apte

13 years agoUpdate copyright dates in Mac plists.
Ned Deily [Sun, 1 Jan 2012 09:09:19 +0000 (01:09 -0800)]
Update copyright dates in Mac plists.

13 years agomerge heads
Benjamin Peterson [Sun, 1 Jan 2012 04:42:45 +0000 (22:42 -0600)]
merge heads

13 years agoadd another year to glorious PSF IP
Benjamin Peterson [Sun, 1 Jan 2012 04:42:26 +0000 (22:42 -0600)]
add another year to glorious PSF IP

13 years agofix some broken URLs
Sandro Tosi [Sat, 31 Dec 2011 17:46:50 +0000 (18:46 +0100)]
fix some broken URLs

13 years agoSome formatting & grammar fixes for the multiprocessing doc
Eli Bendersky [Sat, 31 Dec 2011 05:20:26 +0000 (07:20 +0200)]
Some formatting & grammar fixes for the multiprocessing doc

13 years agoindicate msg is an argument
Benjamin Peterson [Sat, 31 Dec 2011 05:08:09 +0000 (23:08 -0600)]
indicate msg is an argument

13 years agoFix no-op tests in importlib.
Antoine Pitrou [Fri, 30 Dec 2011 20:25:15 +0000 (21:25 +0100)]
Fix no-op tests in importlib.

13 years agouse booleans
Benjamin Peterson [Fri, 30 Dec 2011 19:47:25 +0000 (13:47 -0600)]
use booleans

13 years agopropgate error in other conditions
Benjamin Peterson [Tue, 27 Dec 2011 21:16:34 +0000 (15:16 -0600)]
propgate error in other conditions

13 years agoI do not think we will ever have auto-indent at the prompt, that is for IPython and...
Georg Brandl [Sun, 25 Dec 2011 18:03:07 +0000 (19:03 +0100)]
I do not think we will ever have auto-indent at the prompt, that is for IPython and the like.

13 years agouse list() to wrap range() in itertools.permutations() example; thanks to Romain...
Sandro Tosi [Sun, 25 Dec 2011 16:25:45 +0000 (17:25 +0100)]
use list() to wrap range() in itertools.permutations() example; thanks to Romain MORLEVAT from docs@

13 years agofix "Title underline too short" sphinx warning
Sandro Tosi [Sun, 25 Dec 2011 16:14:11 +0000 (17:14 +0100)]
fix "Title underline too short" sphinx warning

13 years agouse double-quote char instead of unicode ones; thanks to tomo cocoa from docs@
Sandro Tosi [Sun, 25 Dec 2011 16:07:22 +0000 (17:07 +0100)]
use double-quote char instead of unicode ones; thanks to tomo cocoa from docs@

13 years agofix to sent/send typo
Sandro Tosi [Sun, 25 Dec 2011 10:44:38 +0000 (11:44 +0100)]
fix to sent/send typo

13 years agofix Constuctor/Constructor typo; thanks to Anthon van der Neut from docs@
Sandro Tosi [Sun, 25 Dec 2011 10:27:37 +0000 (11:27 +0100)]
fix Constuctor/Constructor typo; thanks to Anthon van der Neut from docs@

13 years agopoint IronPython to ironpython.net; thanks to Lazar Pancic from docs@
Sandro Tosi [Sat, 24 Dec 2011 22:13:19 +0000 (23:13 +0100)]
point IronPython to ironpython.net; thanks to Lazar Pancic from docs@