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

13 years agofix Rather that/Rather than; thanks to Reuben Thomas from docs@
Sandro Tosi [Sat, 24 Dec 2011 18:56:04 +0000 (19:56 +0100)]
fix Rather that/Rather than; thanks to Reuben Thomas from docs@

13 years agoremove spurious dot from string formatting example; thanks to Anthon van der Neut...
Sandro Tosi [Sat, 24 Dec 2011 14:53:35 +0000 (15:53 +0100)]
remove spurious dot from string formatting example; thanks to Anthon van der Neut from docs@

13 years agocorrect syslog.openlog() argument name to logoption; thanks to Arnaud Gomes-do-Vale...
Sandro Tosi [Sat, 24 Dec 2011 13:51:49 +0000 (14:51 +0100)]
correct syslog.openlog() argument name to logoption; thanks to Arnaud Gomes-do-Vale from docs@

13 years agoIssue #13632: Update token documentation to reflect actual token types
Meador Inge [Sat, 24 Dec 2011 04:30:16 +0000 (22:30 -0600)]
Issue #13632: Update token documentation to reflect actual token types

13 years agoparameter_list was meant here
Benjamin Peterson [Sat, 24 Dec 2011 02:01:43 +0000 (20:01 -0600)]
parameter_list was meant here

13 years agokill superfluous 'comprehension' case (closes #13658)
Benjamin Peterson [Sat, 24 Dec 2011 02:00:56 +0000 (20:00 -0600)]
kill superfluous 'comprehension' case (closes #13658)

13 years agoIssue #13565: Increase multiprocessing's server socket backlog, to avoid
Charles-François Natali [Fri, 23 Dec 2011 18:06:48 +0000 (19:06 +0100)]
Issue #13565: Increase multiprocessing's server socket backlog, to avoid
dropped connections in case of simultaneous connection requests.

13 years agoMinor code style improvements in http.server suggested in Issue13294.
Senthil Kumaran [Fri, 23 Dec 2011 09:03:41 +0000 (17:03 +0800)]
Minor code style improvements in http.server suggested in Issue13294.

13 years agoNews entry for Issue12798
Senthil Kumaran [Fri, 23 Dec 2011 03:11:21 +0000 (11:11 +0800)]
News entry for Issue12798

13 years agoIssue12798 - Update mimetypes documentation. Correct the doc section where
Senthil Kumaran [Fri, 23 Dec 2011 02:52:42 +0000 (10:52 +0800)]
Issue12798 - Update mimetypes documentation. Correct the doc section where
common_types was mentioned under MimeTypes class, move it to helper function
category and other documentation improvements contributed by Sandro Tosi.

13 years agoDon't redefine _GNU_SOURCE if it's already defined.
Ross Lagerwall [Thu, 22 Dec 2011 07:45:53 +0000 (09:45 +0200)]
Don't redefine _GNU_SOURCE if it's already defined.

13 years agoIssue #11006: Don't issue low level warning in subprocess when pipe2() fails.
Ross Lagerwall [Thu, 22 Dec 2011 07:07:30 +0000 (09:07 +0200)]
Issue #11006: Don't issue low level warning in subprocess when pipe2() fails.

13 years agoMetaclasses with metaclasses with a __dict__ descriptor can no longer trigger code...
Michael Foord [Thu, 22 Dec 2011 01:13:37 +0000 (01:13 +0000)]
Metaclasses with metaclasses with a __dict__ descriptor can no longer trigger code execution with inspect.getattr_static.
Closes issue 11829.

13 years agoUse context managers in test_ssl to simplify test writing.
Antoine Pitrou [Wed, 21 Dec 2011 15:52:40 +0000 (16:52 +0100)]
Use context managers in test_ssl to simplify test writing.

13 years agoIssue #13645: fix test_import failure when run immediately after test_coding.
Antoine Pitrou [Wed, 21 Dec 2011 14:50:42 +0000 (15:50 +0100)]
Issue #13645: fix test_import failure when run immediately after test_coding.

13 years agoIssue #13597: Fix the documentation of the "-u" command-line option, and wording...
Antoine Pitrou [Wed, 21 Dec 2011 10:24:15 +0000 (11:24 +0100)]
Issue #13597: Fix the documentation of the "-u" command-line option, and wording of "What's new in Python 3.0" about standard streams.

13 years agoIssue #1785: Fix inspect and pydoc with misbehaving descriptors.
Antoine Pitrou [Wed, 21 Dec 2011 08:57:40 +0000 (09:57 +0100)]
Issue #1785: Fix inspect and pydoc with misbehaving descriptors.
Also fixes issue #13581: `help(type)` wouldn't display anything.

13 years agofix possible if unlikely leak
Benjamin Peterson [Tue, 20 Dec 2011 19:29:45 +0000 (13:29 -0600)]
fix possible if unlikely leak

13 years agonote the blinding speed of these functions
Benjamin Peterson [Tue, 20 Dec 2011 16:12:41 +0000 (10:12 -0600)]
note the blinding speed of these functions

13 years agoFollowup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really
Charles-François Natali [Tue, 20 Dec 2011 10:48:22 +0000 (11:48 +0100)]
Followup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really
support multiprocessing.Event.

13 years agodon't mention implementation detail
Benjamin Peterson [Mon, 19 Dec 2011 21:41:11 +0000 (16:41 -0500)]
don't mention implementation detail

13 years agoIssue #5424: add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.
Antoine Pitrou [Mon, 19 Dec 2011 15:21:21 +0000 (16:21 +0100)]
Issue #5424: add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.
Patch by Philipp Hagemeister.

13 years agoIssue #13453: Try to increase some socket timeouts to make some buildbots stop
Charles-François Natali [Mon, 19 Dec 2011 15:12:23 +0000 (16:12 +0100)]
Issue #13453: Try to increase some socket timeouts to make some buildbots stop
failing.

13 years agoIssue #13628: python-gdb.py is now able to retrieve more frames in the Python
Victor Stinner [Mon, 19 Dec 2011 12:42:24 +0000 (13:42 +0100)]
Issue #13628: python-gdb.py is now able to retrieve more frames in the Python
traceback if Python is optimized.

 * delay the lookup of the size_t type, it is not available at startup
 * The second argument of the PyFrameObjectPtr constructor is optional, as
   done in other constructors
 * iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns
   an empty tuple instead of None if Python is optimized
 * Fix py-bt and py-bt-full to handle correctly "optimized" frames
 * Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx()
   if the pointer is optimized out in PyEval_EvalFrameEx()

13 years agoIssue #11867: Make test_mailbox.test_lock_conflict deterministic (and fix a
Charles-François Natali [Mon, 19 Dec 2011 11:18:55 +0000 (12:18 +0100)]
Issue #11867: Make test_mailbox.test_lock_conflict deterministic (and fix a
race condition).

13 years ago#13576: add tests about the handling of (possibly broken) condcoms.
Ezio Melotti [Mon, 19 Dec 2011 05:29:03 +0000 (07:29 +0200)]
#13576: add tests about the handling of (possibly broken) condcoms.

13 years ago#13387: rephrase unclear sentence.
Ezio Melotti [Mon, 19 Dec 2011 05:04:48 +0000 (07:04 +0200)]
#13387: rephrase unclear sentence.

13 years agoFix inspect.getattr_static to work on modules (again).
Michael Foord [Sun, 18 Dec 2011 22:01:40 +0000 (22:01 +0000)]
Fix inspect.getattr_static to work on modules (again).
Closes issue 11813.

13 years agoHandle correctly _Py_fopen() error: don't replace the exception
Victor Stinner [Sun, 18 Dec 2011 20:04:17 +0000 (21:04 +0100)]
Handle correctly _Py_fopen() error: don't replace the exception

13 years agoFollowup to #7502: add __hash__ method and tests.
Antoine Pitrou [Sun, 18 Dec 2011 19:20:17 +0000 (20:20 +0100)]
Followup to #7502: add __hash__ method and tests.

13 years agoMerge
Antoine Pitrou [Sun, 18 Dec 2011 18:31:02 +0000 (19:31 +0100)]
Merge

13 years agoSmall clarification in docstring of dict.update(): the positional argument is not...
Georg Brandl [Sun, 18 Dec 2011 18:30:55 +0000 (19:30 +0100)]
Small clarification in docstring of dict.update(): the positional argument is not required.

13 years agoMerge
Antoine Pitrou [Sun, 18 Dec 2011 18:28:33 +0000 (19:28 +0100)]
Merge

13 years agoIssue #7502: Fix equality comparison for DocTestCase instances.
Antoine Pitrou [Sun, 18 Dec 2011 18:27:45 +0000 (19:27 +0100)]
Issue #7502: Fix equality comparison for DocTestCase instances.
Patch by Cédric Krier.

13 years agoIssue #13617: Document that the result of the conversion of a Unicode object to
Victor Stinner [Sun, 18 Dec 2011 18:22:31 +0000 (19:22 +0100)]
Issue #13617: Document that the result of the conversion of a Unicode object to
wchar*, Py_UNICODE* and bytes may contain embedded null characters/bytes.

Patch written by Arnaud Calmettes.

13 years agoIssue #11870: threading: Properly reinitialize threads internal locks and
Charles-François Natali [Sun, 18 Dec 2011 17:35:09 +0000 (18:35 +0100)]
Issue #11870: threading: Properly reinitialize threads internal locks and
condition variables to avoid deadlocks in child processes.

13 years agoIssue #8035: urllib: Fix a bug where the client could remain stuck after a
Charles-François Natali [Sun, 18 Dec 2011 15:05:07 +0000 (16:05 +0100)]
Issue #8035: urllib: Fix a bug where the client could remain stuck after a
redirection or an error.

13 years agoIssue #13522: Fix _Py_co_pow() documentation
Victor Stinner [Sun, 18 Dec 2011 01:56:18 +0000 (02:56 +0100)]
Issue #13522: Fix _Py_co_pow() documentation

Patch written by Arnaud Calmettes.

13 years agoIssue #13522: document error return values of some float and complex C API functions.
Antoine Pitrou [Sun, 18 Dec 2011 00:25:27 +0000 (01:25 +0100)]
Issue #13522: document error return values of some float and complex C API functions.

13 years agoIssue #11231: Fix bytes and bytearray docstrings
Victor Stinner [Sat, 17 Dec 2011 22:18:07 +0000 (23:18 +0100)]
Issue #11231: Fix bytes and bytearray docstrings

Patch written by Brice Berna.

13 years agoIssue #13530: Document os.lseek() result
Victor Stinner [Sat, 17 Dec 2011 22:15:09 +0000 (23:15 +0100)]
Issue #13530: Document os.lseek() result

Patch written by Jérémy Anger.

13 years agoIssue #10951: Fix a compiler warning in timemodule.c
Victor Stinner [Sat, 17 Dec 2011 21:37:18 +0000 (22:37 +0100)]
Issue #10951: Fix a compiler warning in timemodule.c

13 years ago#13613: fix example in re doc.
Ezio Melotti [Fri, 16 Dec 2011 23:17:17 +0000 (01:17 +0200)]
#13613: fix example in re doc.

13 years agomain() now displays an error message before exiting if a command line argument
Victor Stinner [Fri, 16 Dec 2011 22:48:31 +0000 (23:48 +0100)]
main() now displays an error message before exiting if a command line argument
cannot be decoded

13 years agoIssue #10350: Read and save errno before calling a function which might overwrite it.
Antoine Pitrou [Fri, 16 Dec 2011 11:28:32 +0000 (12:28 +0100)]
Issue #10350: Read and save errno before calling a function which might overwrite it.
Original patch by Hallvard B Furuseth.

13 years agoIssue #13545: Fix platform.libc_version() is the SO version is missing
Victor Stinner [Thu, 15 Dec 2011 20:42:03 +0000 (21:42 +0100)]
Issue #13545: Fix platform.libc_version() is the SO version is missing

13 years agoIssue #13597: Improve documentation of standard streams.
Antoine Pitrou [Thu, 15 Dec 2011 15:25:34 +0000 (16:25 +0100)]
Issue #13597: Improve documentation of standard streams.

13 years agoFix the fix for issue #12149: it was incorrect, although it had the side
Antoine Pitrou [Thu, 15 Dec 2011 13:15:31 +0000 (14:15 +0100)]
Fix the fix for issue #12149: it was incorrect, although it had the side
effect of appearing to resolve the issue.  Thanks to Mark Shannon for
noticing.

13 years agoIssue #13591: Moving the NEWS line to the right release.
Meador Inge [Thu, 15 Dec 2011 04:37:48 +0000 (22:37 -0600)]
Issue #13591: Moving the NEWS line to the right release.

13 years agoIssue #13591: import_module potentially imports a module twice.
Meador Inge [Thu, 15 Dec 2011 04:23:46 +0000 (22:23 -0600)]
Issue #13591: import_module potentially imports a module twice.

13 years agoIssue #4625: add NEWS entry.
Ned Deily [Wed, 14 Dec 2011 23:06:50 +0000 (15:06 -0800)]
Issue #4625: add NEWS entry.

13 years agoIssue #4625: If IDLE cannot write to its recent file or breakpoint
Ned Deily [Wed, 14 Dec 2011 22:58:24 +0000 (14:58 -0800)]
Issue #4625: If IDLE cannot write to its recent file or breakpoint
files, display a message popup and continue rather than crash.
(original patch by Roger Serwy)

13 years agoIssue #13453: Fix a race condition in test_poplib.
Charles-François Natali [Wed, 14 Dec 2011 18:28:56 +0000 (19:28 +0100)]
Issue #13453: Fix a race condition in test_poplib.

13 years agoIssue #4028: Make multiprocessing build on SunOS.
Charles-François Natali [Wed, 14 Dec 2011 17:39:09 +0000 (18:39 +0100)]
Issue #4028: Make multiprocessing build on SunOS.

13 years agoIssue #13505: Make pickling of bytes object compatible with Python 2.
Alexandre Vassalotti [Tue, 13 Dec 2011 18:08:09 +0000 (13:08 -0500)]
Issue #13505: Make pickling of bytes object compatible with Python 2.

Initial patch by sbt.

13 years ago#6570: clarify tutorial section about keyword arguments.
Ezio Melotti [Tue, 13 Dec 2011 13:49:22 +0000 (15:49 +0200)]
#6570: clarify tutorial section about keyword arguments.

13 years ago#13549: improve tutorial section about listcomps.
Ezio Melotti [Tue, 13 Dec 2011 13:36:19 +0000 (15:36 +0200)]
#13549: improve tutorial section about listcomps.

13 years agowe're always going to have gc
Benjamin Peterson [Sat, 10 Dec 2011 17:44:25 +0000 (12:44 -0500)]
we're always going to have gc

13 years agoyou can't get resource.error if you can't import resource
Benjamin Peterson [Sat, 10 Dec 2011 17:31:42 +0000 (12:31 -0500)]
you can't get resource.error if you can't import resource

13 years agoIssue #13453: Catch EAI_FAIL in support.transient_internet.
Charles-François Natali [Sat, 10 Dec 2011 12:16:44 +0000 (13:16 +0100)]
Issue #13453: Catch EAI_FAIL in support.transient_internet.

13 years agoFix doc typo.
Lars Gustäbel [Sat, 10 Dec 2011 11:45:45 +0000 (12:45 +0100)]
Fix doc typo.

13 years agoRemove obsolete py3k comment.
Florent Xicluna [Fri, 9 Dec 2011 22:41:21 +0000 (23:41 +0100)]
Remove obsolete py3k comment.

13 years agoFix docstring typo.
Florent Xicluna [Fri, 9 Dec 2011 22:41:19 +0000 (23:41 +0100)]
Fix docstring typo.

13 years agoIssue #13528: rework the performance question in the programming FAQ
Antoine Pitrou [Fri, 9 Dec 2011 22:10:31 +0000 (23:10 +0100)]
Issue #13528: rework the performance question in the programming FAQ

13 years agoIssue #5905: time.strftime() is now using the locale encoding, instead of
Victor Stinner [Fri, 9 Dec 2011 19:19:24 +0000 (20:19 +0100)]
Issue #5905: time.strftime() is now using the locale encoding, instead of
UTF-8, if the wcsftime() function is not available.

13 years agoIssue #13547: clean Lib/_sysconfigdata.py and Modules/_testembed
Stefan Krah [Thu, 8 Dec 2011 22:25:15 +0000 (23:25 +0100)]
Issue #13547: clean Lib/_sysconfigdata.py and Modules/_testembed

13 years agoIssue #11149: Also enable -fwrapv if $CC is a full path
Stefan Krah [Thu, 8 Dec 2011 21:20:31 +0000 (22:20 +0100)]
Issue #11149: Also enable -fwrapv if $CC is a full path
or has a trailing version number.

13 years agoIssue #11886: workaround an OS bug (time zone data) in test_time
Victor Stinner [Wed, 7 Dec 2011 23:32:51 +0000 (00:32 +0100)]
Issue #11886: workaround an OS bug (time zone data) in test_time

Australian Eastern Standard Time (UTC+10) is called "EST" (as Eastern Standard
Time, UTC-5) instead of "AEST" on some operating systems (e.g. FreeBSD), which
is wrong. See for example this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810

13 years ago#13531: add a test for defaultdict with a non-callable arg. Patch by Mike Cheng.
Ezio Melotti [Wed, 7 Dec 2011 22:02:00 +0000 (00:02 +0200)]
#13531: add a test for defaultdict with a non-callable arg.  Patch by Mike Cheng.

13 years agoIssue #8641: Update IDLE 3 syntax coloring to recognize b".." and not u"..".
Ned Deily [Wed, 7 Dec 2011 09:08:35 +0000 (01:08 -0800)]
Issue #8641: Update IDLE 3 syntax coloring to recognize b".." and not u"..".
(Patch by Tal Einat)

13 years agoClose #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop
Jesus Cea [Tue, 6 Dec 2011 19:46:57 +0000 (20:46 +0100)]
Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop