summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-1684-66/+7
| | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* Issue #19936: Disable shebang lines in order to prevent using a randomStefan Krah2014-01-163-6/+0
| | | | system python.
* Added cookbook entry on alternative formatting styles.Vinay Sajip2014-01-153-2/+94
|
* Clarified documentation note on module-level convenience functions.Vinay Sajip2014-01-151-8/+9
|
* Issue #20255: Update the about and bugs pages.Zachary Ware2014-01-143-16/+28
|
* Issue #20253: Fixed a typo in the ipaddress docs that advertised anZachary Ware2014-01-142-2/+5
| | | | illegal attribute name. Found by INADA Naoki.
* Fix typo. Found by David Pesta on docs@.Zachary Ware2014-01-141-1/+1
|
* Fix typo. Found by David Pesta on docs@.Zachary Ware2014-01-141-1/+1
|
* Closes #20258: Sphinx toolchain: move back to Jinja2 2.3.1 with support for ↵Georg Brandl2014-01-142-2/+2
| | | | Py2.5.
* add test for #20251Benjamin Peterson2014-01-141-0/+7
|
* remove overly strict assertion (closes #20251)Benjamin Peterson2014-01-141-1/+0
|
* correct defaultdict signature in docstring (closes #20250)Benjamin Peterson2014-01-141-1/+3
| | | | Patch from Andrew Barnert.
* merge 3.2 (#20246)Benjamin Peterson2014-01-144-0/+16
|\
| * complain when nbytes > buflen to fix possible buffer overflow (closes #20246)Benjamin Peterson2014-01-144-0/+16
| |
* | Fix typo.Zachary Ware2014-01-141-1/+1
| |
* | Issue #20242: Fixed basicConfig() format strings for the alternative ↵Vinay Sajip2014-01-133-7/+29
| | | | | | | | formatting styles.
* | #20236: Fix sphinx markup.R David Murray2014-01-131-1/+1
| |
* | #20206, #5803: more efficient algorithm that doesn't truncate output.R David Murray2014-01-133-82/+69
| | | | | | | | | | | | | | | | This fixes an edge case (20206) where if the input ended in a character needing encoding but there was no newline on the string, the last byte of the encoded character would be dropped. The fix is to use a more efficient algorithm, provided by Serhiy Storchaka (5803), that does not have the bug.
* | Test the open of non-exitent tarfile in all modes.Serhiy Storchaka2014-01-131-5/+7
| |
* | Fixed typo.Serhiy Storchaka2014-01-131-1/+1
| |
* | Issue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in ↵Senthil Kumaran2014-01-134-5/+86
| | | | | | | | modules and in documentation.
* | Issue #20138: The wsgiref.application_uri() and wsgiref.request_uri()Serhiy Storchaka2014-01-123-4/+11
| | | | | | | | functions now conform to PEP 3333 when handle non-ASCII URLs.
* | merge headsGeorg Brandl2014-01-123-2/+22
|\ \
| * | Issue #19092 - Raise a correct exception when cgi.FieldStorage is given anSenthil Kumaran2014-01-123-2/+22
| | | | | | | | | | | | | | | invalid file-obj. Also use __bool__ to determine the bool of the FieldStorage object.
* | | Doc: update Sphinx toolchain also in make.batGeorg Brandl2014-01-121-4/+4
|/ /
* | Update Sphinx toolchain.Georg Brandl2014-01-111-4/+4
| |
* | tkinter.Text.debug() now always returns 0/1.Serhiy Storchaka2014-01-112-4/+3
| | | | | | | | Fixed a regression inroduced in issue #6157.
* | Fixed the serve.py script.Serhiy Storchaka2014-01-111-1/+1
| | | | | | | | The application object must return an iterable yielding bytestrings.
* | Try to fix some ttk tests. Error messages were changed in 8.6b3.Serhiy Storchaka2014-01-101-3/+3
| |
* | fix build when SCHED_SPORADIC is defined (closes #20217)Benjamin Peterson2014-01-102-1/+3
| |
* | Issue #19804: The test_find_mac test in test_uuid is now skipped if theSerhiy Storchaka2014-01-102-0/+9
| | | | | | | | ifconfig executable is not available.
* | Issue #19886: Use better estimated memory requirements for bigmem tests.Serhiy Storchaka2014-01-106-28/+20
| | | | | | | | Incorrect requirements can cause memory swapping.
* | Issue #13107: argparse and optparse no longer raises an exception when outputSerhiy Storchaka2014-01-096-6/+103
| | | | | | | | | | a help on environment with too small COLUMNS. Based on patch by Elazar Gershuni.
* | Try to fix test_ssl failures on some buildbotsAntoine Pitrou2014-01-091-2/+2
| |
* | Remove conditional: it is useless at this point (OpenSSL headers are not yet ↵Antoine Pitrou2014-01-091-2/+0
| | | | | | | | included)
* | Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵Antoine Pitrou2014-01-093-8/+12
| | | | | | | | asked for.
* | Do not reset the line number because we already set file position to correctSerhiy Storchaka2014-01-092-8/+4
| | | | | | | | | | | | value. (fixes error in patch for issue #18960)
* | clear zip stat cache after each ref leak runBenjamin Peterson2014-01-092-9/+7
| |
* | Issue #18960: Fix bugs with Python source code encoding in the second line.Serhiy Storchaka2014-01-097-5/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment.
* | fix zipimport ref leakBenjamin Peterson2014-01-091-3/+1
| |
* | Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPUSerhiy Storchaka2014-01-093-0/+36
| | | | | | | | consumption.
* | Fix verb tense in base64 docs, and the phrasing of a news entry.R David Murray2014-01-082-4/+4
| |
* | Issue #20113: Fix test_posix on OpenIndianaVictor Stinner2014-01-081-2/+16
| |
* | Issue #20113: os.readv() and os.writev() now raise an OSError exception onVictor Stinner2014-01-084-10/+36
| | | | | | | | error instead of returning -1.
* | Fixes Issue #19081: When a zipimport .zip file in sys.path being imported fromGregory P. Smith2014-01-083-66/+328
| | | | | | | | | | | | is modified during the lifetime of the Python process after zipimport has already cached the zip's table of contents we detect this and recover rather than read bad data from the .zip (causing odd import errors).
* | Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.Serhiy Storchaka2014-01-077-71/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and LabelFrame.panes() now always return a tuple. * Fixed error of comparing str and int in tt.LabeledScale._adjust(). * ttk.Notebook.index() now always returns int. * ttk.Notebook.tabs() now always returns a tuple. * ttk.Entry.bbox() now always returns a tuple of ints. * ttk.Entry.validate() now always correctly works. * ttk.Combobox.current() now always returns int. * ttk.Panedwindow.sashpos() now always returns int. * ttk.Treeview.bbox() now always returns a tuple of ints. * ttk.Treeview.get_children() now always returns a tuple. * ttk.Treeview.exists() now always correctly works. * ttk.Treeview.index() now always returns int. * ttk.Treeview.tag_has() now always returns 0 or 1. * And numerous other errors in methods which returns a tuple, list or dict. * Fixed ttk tests for wantobjects is False.
* | Whitespace.Stefan Krah2014-01-041-3/+3
| |
* | Regenerate python34stub.def.Martin v. Löwis2014-01-041-62/+62
| |
* | Issue #17432: Drop UCS2 from names of Unicode functions in python3.def.Martin v. Löwis2014-01-042-62/+64
| |
* | correct word for __annotations__ doc (closes #20110)Benjamin Peterson2014-01-021-1/+1
| | | | | | | | Patch from Claudiu Popa.