Commit Graph

65237 Commits

Author SHA1 Message Date
Senthil Kumaran bcd833f30f - Issue #13642: Unquote before b64encoding user:password during Basic
Authentication. Patch contributed by Joonas Kuorilehto and Michele Orrù.
2012-01-11 00:09:24 +08:00
Raymond Hettinger a0ff91cac0 Fix stock symbol for Microsoft 2012-01-10 09:51:51 +00:00
Raymond Hettinger c766b31dbc Update the sorting howto to reflect the PEP 8 advisory to define all six rich comparisons. 2012-01-10 07:55:17 +00:00
Terry Jan Reedy cfe6deb6f7 #11906 Make test_argparse work interactively by removing extra space
in comparison string that argparse does not add when program name is blank.
2012-01-09 18:20:09 -05:00
Antoine Pitrou df4c986f9e Issue #13747: fix SSL compatibility table. 2012-01-09 21:43:18 +01:00
Antoine Pitrou 4a7e0c896c Issue #13747: fix documentation error about the default SSL version. 2012-01-09 21:35:11 +01:00
Sandro Tosi e5f93ef268 Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from docs@ 2012-01-07 18:32:06 +01:00
Sandro Tosi f788cf70f8 clarify recv* are blocking operations; thanks to Chris Kogelnik from docs@ 2012-01-07 17:56:43 +01:00
Raymond Hettinger 36cdca1277 Clarify that vars() doesn't place extra restrictions on __dict__. 2012-01-05 23:23:52 -08:00
Sandro Tosi 24f207e99e Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan Stadler 2012-01-05 19:48:30 +01:00
Sandro Tosi 7f418f67a8 Issue #11984: remove reference to parser, it's not showing symbol usage anymore 2012-01-05 19:05:44 +01:00
Sandro Tosi 8b211fc123 Issue #10772: add count and help argparse action; patch by Marc Sibson 2012-01-04 23:24:48 +01:00
Benjamin Peterson 5fc58c6321 fix this to not depend on dictionary order 2012-01-03 16:23:11 -06:00
Antoine Pitrou d76088d972 Issue #13636: Weak ciphers are now disabled by default in the ssl module
(except when SSLv2 is explicitly asked for).
2012-01-03 22:46:48 +01:00
Sandro Tosi 499718de49 Issue #6031: improve serve_forever() description 2012-01-03 22:35:41 +01:00
Sandro Tosi 711f54798c Issue #9349: add argparse.SUPPRESS to help doc 2012-01-03 18:31:51 +01:00
Charles-François Natali 3aa59e327c Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
Vilmos Nebehaj.
2012-01-02 15:38:27 +01:00
Sandro Tosi 8448dfa17d Issue #13302: backport part of 3ed28f28466f 2012-01-01 23:41:44 +01:00
Sandro Tosi e827c13566 Issue #13690: add re.DEBUG; patch by Filip Gruszczyński 2012-01-01 12:52:24 +01:00
Ned Deily 24b03477f5 Update copyright dates in Mac plists. 2012-01-01 01:08:08 -08:00
Benjamin Peterson 5f8d60647b add another year to glorious PSF IP 2011-12-31 22:42:26 -06:00
Sandro Tosi 117e1f00a8 fix some broken URLs 2011-12-31 18:13:59 +01:00
Eli Bendersky 4b76f8a76c Some formatting & grammar fixes for the multiprocessing doc 2011-12-31 07:05:12 +02:00
Benjamin Peterson c016f46df5 use booleans 2011-12-30 13:47:25 -06:00
Jason R. Coombs 79e50c659a Limit test scope to those platforms that can save the target filenames. Reference #11638. 2011-12-28 11:42:22 -05:00
Benjamin Peterson c32d5cb9ec propgate error in other conditions 2011-12-27 15:16:34 -06:00
Jason R. Coombs 042370e750 Issue #11638: Adding test to ensure .tar.gz files can be generated by sdist command with unicode metadata, based on David Barnett's patch.
Issue #11638: Added tests to capture failures in make_tarball with various unicode strings.
Following fix for Issue #13639, these tests now pass.
2011-12-26 10:15:15 -05:00
Georg Brandl 2c9eee1af9 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 44585bd347 fix "Title underline too short" sphinx warning 2011-12-25 17:13:10 +01:00
Sandro Tosi a4d06e7bc8 use double-quote char instead of unicode ones; thanks to tomo cocoa from docs@ 2011-12-25 17:05:30 +01:00
Sandro Tosi 4526273d7f fix to sent/send typo 2011-12-25 11:43:37 +01:00
Sandro Tosi dbcbd101e7 fix Constuctor/Constructor typo; thanks to Anthon van der Neut from docs@ 2011-12-25 11:27:22 +01:00
Sandro Tosi 238612a003 point IronPython to ironpython.net; thanks to Lazar Pancic from docs@ 2011-12-24 23:13:08 +01:00
Sandro Tosi ec53eb817a fix Rather that/Rather than; thanks to Reuben Thomas from docs@ 2011-12-24 19:55:49 +01:00
Sandro Tosi 4fbad84cb6 remove spurious dot from string formatting example; thanks to Anthon van der Neut from docs@ 2011-12-24 15:52:36 +01:00
Sandro Tosi 55ae12b019 correct syslog.openlog() argument name to logoption; thanks to Arnaud Gomes-do-Vale from docs@ 2011-12-24 14:51:26 +01:00
Charles-François Natali b40827d379 Issue #13565: Increase multiprocessing's server socket backlog, to avoid
dropped connections in case of simultaneous connection requests.
2011-12-23 19:05:45 +01:00
Senthil Kumaran 139c457106 port to 2.7 - Minor code style improvements in http.server suggested in Issue13294. 2011-12-23 17:07:13 +08:00
Senthil Kumaran 84c18aaa4c Update News entry. 2011-12-23 11:14:56 +08:00
Senthil Kumaran 17fbe402d4 porting mimetype doc changes from 3.2.
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 11:08:31 +08:00
Senthil Kumaran a9091d2611 Issue13443 - Remove the functional module examples from 2.7 (as module is
maintained only till 2.5 and tests had failures with 2.7) and update the links
int the howto document.
2011-12-22 23:44:53 +08:00
Lars Gustäbel 7d4d074c99 Issue #13639: Accept unicode filenames in tarfile.open(mode="w|gz").
Passing a unicode filename to tarfile.open() along with mode "w|gz" failed
with a UnicodeError because the filename was not encoded properly before being
written to the gzipped stream in the FNAME extra field.
2011-12-21 19:27:50 +01:00
Antoine Pitrou 5b95eb90a7 Use context managers in test_ssl to simplify test writing. 2011-12-21 16:52:40 +01:00
Antoine Pitrou 17c07134a9 Fix test_import failure when run multiple times.
(2.7-only)
2011-12-21 16:01:53 +01:00
Antoine Pitrou b8572a1673 Issue #1785: Fix inspect and pydoc with misbehaving descriptors.
Also fixes issue #13581: `help(type)` wouldn't display anything.
2011-12-21 10:16:14 +01:00
Benjamin Peterson 587c7381c7 note the blinding speed of these functions 2011-12-20 10:12:41 -06:00
Charles-François Natali 8366b8417b Followup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really
support multiprocessing.Event.
2011-12-20 11:47:23 +01:00
Benjamin Peterson 5879ca1fd9 don't mention implementation detail 2011-12-19 16:41:11 -05:00
Charles-François Natali 3b8180739d Issue #13453: Try to increase some socket timeouts to make some buildbots stop
failing.
2011-12-19 16:11:04 +01:00
Victor Stinner 99cff3f182 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 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:59:58 +01:00