Benjamin Peterson
c40d362a1c
merge heads
2011-12-31 22:42:45 -06:00
Benjamin Peterson
f606e682a4
add another year to glorious PSF IP
2011-12-31 22:42:26 -06:00
Sandro Tosi
1abde3628b
fix some broken URLs
2011-12-31 18:46:50 +01:00
Eli Bendersky
d08effe287
Some formatting & grammar fixes for the multiprocessing doc
2011-12-31 07:20:26 +02:00
Benjamin Peterson
a6c4a10d4e
indicate msg is an argument
2011-12-30 23:08:09 -06:00
Antoine Pitrou
7c9907e565
Fix no-op tests in importlib.
2011-12-30 21:25:15 +01:00
Benjamin Peterson
79ed84c7f2
use booleans
2011-12-30 13:47:25 -06:00
Benjamin Peterson
0e61350d3a
propgate error in other conditions
2011-12-27 15:16:34 -06:00
Georg Brandl
1532c8f9a7
I do not think we will ever have auto-indent at the prompt, that is for IPython and the like.
2011-12-25 19:03:07 +01:00
Sandro Tosi
7386662699
use list() to wrap range() in itertools.permutations() example; thanks to Romain MORLEVAT from docs@
2011-12-25 17:25:45 +01:00
Sandro Tosi
3e6c814b9d
fix "Title underline too short" sphinx warning
2011-12-25 17:14:11 +01:00
Sandro Tosi
2b373b0146
use double-quote char instead of unicode ones; thanks to tomo cocoa from docs@
2011-12-25 17:07:22 +01:00
Sandro Tosi
44f568c21f
fix to sent/send typo
2011-12-25 11:44:38 +01:00
Sandro Tosi
1526ad166e
fix Constuctor/Constructor typo; thanks to Anthon van der Neut from docs@
2011-12-25 11:27:37 +01:00
Sandro Tosi
3721fbc5de
point IronPython to ironpython.net; thanks to Lazar Pancic from docs@
2011-12-24 23:13:19 +01:00
Sandro Tosi
75c71ccf2a
fix Rather that/Rather than; thanks to Reuben Thomas from docs@
2011-12-24 19:56:04 +01:00
Sandro Tosi
baf30da240
remove spurious dot from string formatting example; thanks to Anthon van der Neut from docs@
2011-12-24 15:53:35 +01:00
Sandro Tosi
0b7e5369f1
correct syslog.openlog() argument name to logoption; thanks to Arnaud Gomes-do-Vale from docs@
2011-12-24 14:51:49 +01:00
Meador Inge
ac007ba686
Issue #13632 : Update token documentation to reflect actual token types
2011-12-23 22:30:16 -06:00
Benjamin Peterson
57f97f400b
parameter_list was meant here
2011-12-23 20:01:43 -06:00
Benjamin Peterson
ad17358a2f
kill superfluous 'comprehension' case ( closes #13658 )
2011-12-23 20:00:56 -06:00
Charles-François Natali
fe8039b3e5
Issue #13565 : Increase multiprocessing's server socket backlog, to avoid
...
dropped connections in case of simultaneous connection requests.
2011-12-23 19:06:48 +01:00
Senthil Kumaran
3075549d53
Minor code style improvements in http.server suggested in Issue13294.
2011-12-23 17:03:41 +08:00
Senthil Kumaran
83194f5b92
News entry for Issue12798
2011-12-23 11:11:21 +08:00
Senthil Kumaran
016c6d5341
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.
2011-12-23 10:52:42 +08:00
Ross Lagerwall
667d75d059
Don't redefine _GNU_SOURCE if it's already defined.
2011-12-22 09:45:53 +02:00
Ross Lagerwall
031bf95d32
Issue #11006 : Don't issue low level warning in subprocess when pipe2() fails.
2011-12-22 09:07:30 +02:00
Michael Foord
3ba95f8bd9
Metaclasses with metaclasses with a __dict__ descriptor can no longer trigger code execution with inspect.getattr_static.
...
Closes issue 11829.
2011-12-22 01:13:37 +00:00
Antoine Pitrou
65a3f4b8c5
Use context managers in test_ssl to simplify test writing.
2011-12-21 16:52:40 +01:00
Antoine Pitrou
28f8bee5c8
Issue #13645 : fix test_import failure when run immediately after test_coding.
2011-12-21 15:50:42 +01:00
Antoine Pitrou
08c08eb93c
Issue #13597 : Fix the documentation of the "-u" command-line option, and wording of "What's new in Python 3.0" about standard streams.
2011-12-21 11:24:15 +01:00
Antoine Pitrou
86a8a9ae98
Issue #1785 : Fix inspect and pydoc with misbehaving descriptors.
...
Also fixes issue #13581 : `help(type)` wouldn't display anything.
2011-12-21 09:57:40 +01:00
Benjamin Peterson
53aa1d7c57
fix possible if unlikely leak
2011-12-20 13:29:45 -06:00
Benjamin Peterson
0f1e3ac897
note the blinding speed of these functions
2011-12-20 10:12:41 -06:00
Charles-François Natali
bf38315446
Followup to issue #11867 : Use socketpair(), since FreeBSD < 8 doesn't really
...
support multiprocessing.Event.
2011-12-20 11:48:22 +01:00
Benjamin Peterson
1c92cfea4a
don't mention implementation detail
2011-12-19 16:41:11 -05:00
Antoine Pitrou
7ded21e917
Issue #5424 : add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.
...
Patch by Philipp Hagemeister.
2011-12-19 16:21:21 +01:00
Charles-François Natali
4ce2f36461
Issue #13453 : Try to increase some socket timeouts to make some buildbots stop
...
failing.
2011-12-19 16:12:23 +01:00
Victor Stinner
d208416a40
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()
2011-12-19 13:42:24 +01:00
Charles-François Natali
78ed83da46
Issue #11867 : Make test_mailbox.test_lock_conflict deterministic (and fix a
...
race condition).
2011-12-19 12:18:55 +01:00
Ezio Melotti
62f3d0300e
#13576 : add tests about the handling of (possibly broken) condcoms.
2011-12-19 07:29:03 +02:00
Ezio Melotti
80a61e8d4c
#13387 : rephrase unclear sentence.
2011-12-19 07:04:48 +02:00
Michael Foord
a51623b160
Fix inspect.getattr_static to work on modules (again).
...
Closes issue 11813.
2011-12-18 22:01:40 +00:00
Victor Stinner
bd206e27a4
Handle correctly _Py_fopen() error: don't replace the exception
2011-12-18 21:04:17 +01:00
Antoine Pitrou
165b1283ff
Followup to #7502 : add __hash__ method and tests.
2011-12-18 20:20:17 +01:00
Antoine Pitrou
92ed3877b4
Merge
2011-12-18 19:31:02 +01:00
Georg Brandl
ac0675cc01
Small clarification in docstring of dict.update(): the positional argument is not required.
2011-12-18 19:30:55 +01:00
Antoine Pitrou
a74252633f
Merge
2011-12-18 19:28:33 +01:00
Antoine Pitrou
2bc801c4ea
Issue #7502 : Fix equality comparison for DocTestCase instances.
...
Patch by Cédric Krier.
2011-12-18 19:27:45 +01:00
Victor Stinner
6fbd525ef5
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.
2011-12-18 19:22:31 +01:00