Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 43 | -58/+0 |
| | | | | | | | 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. | ||||
* | add test for #20251 | Benjamin Peterson | 2014-01-14 | 1 | -0/+7 |
| | |||||
* | merge 3.2 (#20246) | Benjamin Peterson | 2014-01-14 | 1 | -0/+8 |
|\ | |||||
| * | complain when nbytes > buflen to fix possible buffer overflow (closes #20246) | Benjamin Peterson | 2014-01-14 | 1 | -0/+8 |
| | | |||||
* | | Issue #20242: Fixed basicConfig() format strings for the alternative ↵ | Vinay Sajip | 2014-01-13 | 1 | -0/+16 |
| | | | | | | | | formatting styles. | ||||
* | | #20206, #5803: more efficient algorithm that doesn't truncate output. | R David Murray | 2014-01-13 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | 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 Storchaka | 2014-01-13 | 1 | -5/+7 |
| | | |||||
* | | Issue #20138: The wsgiref.application_uri() and wsgiref.request_uri() | Serhiy Storchaka | 2014-01-12 | 1 | -2/+6 |
| | | | | | | | | functions now conform to PEP 3333 when handle non-ASCII URLs. | ||||
* | | Issue #19092 - Raise a correct exception when cgi.FieldStorage is given an | Senthil Kumaran | 2014-01-12 | 1 | -0/+7 |
| | | | | | | | | | | invalid file-obj. Also use __bool__ to determine the bool of the FieldStorage object. | ||||
* | | Issue #19804: The test_find_mac test in test_uuid is now skipped if the | Serhiy Storchaka | 2014-01-10 | 1 | -0/+6 |
| | | | | | | | | ifconfig executable is not available. | ||||
* | | Issue #19886: Use better estimated memory requirements for bigmem tests. | Serhiy Storchaka | 2014-01-10 | 5 | -28/+18 |
| | | | | | | | | Incorrect requirements can cause memory swapping. | ||||
* | | Issue #13107: argparse and optparse no longer raises an exception when output | Serhiy Storchaka | 2014-01-09 | 2 | -0/+89 |
| | | | | | | | | | | a help on environment with too small COLUMNS. Based on patch by Elazar Gershuni. | ||||
* | | Try to fix test_ssl failures on some buildbots | Antoine Pitrou | 2014-01-09 | 1 | -2/+2 |
| | | |||||
* | | Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵ | Antoine Pitrou | 2014-01-09 | 1 | -6/+4 |
| | | | | | | | | asked for. | ||||
* | | Do not reset the line number because we already set file position to correct | Serhiy Storchaka | 2014-01-09 | 1 | -0/+4 |
| | | | | | | | | | | | | value. (fixes error in patch for issue #18960) | ||||
* | | clear zip stat cache after each ref leak run | Benjamin Peterson | 2014-01-09 | 2 | -9/+7 |
| | | |||||
* | | Issue #18960: Fix bugs with Python source code encoding in the second line. | Serhiy Storchaka | 2014-01-09 | 1 | -0/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | | Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPU | Serhiy Storchaka | 2014-01-09 | 1 | -0/+31 |
| | | | | | | | | consumption. | ||||
* | | Issue #20113: Fix test_posix on OpenIndiana | Victor Stinner | 2014-01-08 | 1 | -2/+16 |
| | | |||||
* | | Issue #20113: os.readv() and os.writev() now raise an OSError exception on | Victor Stinner | 2014-01-08 | 2 | -1/+18 |
| | | | | | | | | error instead of returning -1. | ||||
* | | Fixes Issue #19081: When a zipimport .zip file in sys.path being imported from | Gregory P. Smith | 2014-01-08 | 1 | -19/+85 |
| | | | | | | | | | | | | 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 #20101: Allow test_monotonic to pass on Windows machines on which | Zachary Ware | 2014-01-02 | 1 | -1/+2 |
| | | | | | | | | | | | | time.get_clock_info('monotonic').resolution == 0.015600099999999999 This is just a workaround pending a real resolution to #20101. | ||||
* | | Issue #18829: Add tests for the csv module for invalid characters (delimiter, | Victor Stinner | 2014-01-02 | 1 | -0/+13 |
| | | | | | | | | escapechar, quotechar) | ||||
* | | Issue #20055: Fix test_shutil under Windows with symlink privileges held. | Antoine Pitrou | 2014-01-01 | 1 | -13/+19 |
| | | | | | | | | Patch by Vajrasky Kok. | ||||
* | | Backporing the fix from Issue #12692 | Senthil Kumaran | 2013-12-29 | 1 | -0/+1 |
| | | |||||
* | | Issue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, ↵ | Antoine Pitrou | 2013-12-28 | 1 | -0/+12 |
| | | | | | | | | rather than silently let them emit clear text data. | ||||
* | | #18116: backport fix to 3.3 since real-world failure mode demonstrated. | R David Murray | 2013-12-27 | 2 | -1/+155 |
| | | | | | | | | | | | | | | | | | | | | In issue 20074 it was pointed out that getpass would fail with a traceback if stdin was, for example /dev/null, which is a non-unlikely scenario. Also backported the tests from issue 17484 as modified by issue 18116. (What I really did was copy getpass.py and test_getpass.py from their state on tip as of 17bd04fbf3d3). | ||||
* | | Issue #20027: Fixed locale aliases for devanagari locales. | Serhiy Storchaka | 2013-12-26 | 1 | -0/+14 |
| | | |||||
* | | Issue #19938: Re-enabled test_bug_1333982 in test_dis, which had been | Zachary Ware | 2013-12-26 | 1 | -33/+30 |
| | | | | | | | | disabled since 3.0 due to the changes in listcomp handling. | ||||
* | | Issue #19320: test_tcl no longer fails when wantobjects is false. | Serhiy Storchaka | 2013-12-25 | 1 | -13/+29 |
| | | |||||
* | | update Barry's email (#19563) | Benjamin Peterson | 2013-12-23 | 6 | -7/+7 |
| | | |||||
* | | Fix DeprecationWarnings in test suite | Antoine Pitrou | 2013-12-21 | 2 | -10/+10 |
| | | |||||
* | | Issue #18879: When a method is looked up on a temporary file, avoid closing ↵ | Antoine Pitrou | 2013-12-21 | 1 | -0/+17 |
| | | | | | | | | the file before the method is possibly called. | ||||
* | | Update test.outstanding_bugs.py | Zachary Ware | 2013-12-20 | 1 | -72/+2 |
| | | |||||
* | | Don't use sebTest() in tests for issue #5815. | Serhiy Storchaka | 2013-12-19 | 1 | -2/+1 |
| | | |||||
* | | Issue #19683: Removed empty tests from test_minidom. Patch by Ajitesh Gupta. | Zachary Ware | 2013-12-19 | 1 | -65/+0 |
| | | |||||
* | | Issue #5815: Fixed support for locales with modifiers. Fixed support for | Serhiy Storchaka | 2013-12-19 | 1 | -0/+58 |
| | | | | | | | | locale encodings with hyphens. | ||||
* | | Issue #20025: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now raise a | Victor Stinner | 2013-12-19 | 1 | -0/+4 |
| | | | | | | | | ValueError if num is negative (instead of raising a SystemError). | ||||
* | | Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and | Serhiy Storchaka | 2013-12-19 | 1 | -5/+39 |
| | | | | | | | | quotechar fields. Original patch by Vajrasky Kok. | ||||
* | | Issue #20006: Fix sporadic failures in test_weakset. | Antoine Pitrou | 2013-12-17 | 1 | -1/+6 |
| | | |||||
* | | Revert misled test change in f189da5bda26. | Antoine Pitrou | 2013-12-17 | 1 | -1/+0 |
| | | |||||
* | | Issue #20007: HTTPResponse.read(0) no more prematurely closes connection. | Serhiy Storchaka | 2013-12-17 | 1 | -0/+3 |
| | | | | | | | | Original patch by Simon Sapin. | ||||
* | | Close #19999: tolerate coarse time when testing time.monotonic() on very | Victor Stinner | 2013-12-16 | 1 | -1/+1 |
| | | | | | | | | busy/slow buildbot | ||||
* | | Issue #19919: Fix flacky SSL test. connect_ex() sometimes returns | Christian Heimes | 2013-12-16 | 1 | -2/+4 |
| | | | | | | | | EWOULDBLOCK on Windows or VMs hosted on Windows. | ||||
* | | Issue #19987: Re-write test_alias_fallback in test_winsound to have two | Zachary Ware | 2013-12-16 | 1 | -7/+8 |
| | | | | | | | | | | | | acceptable outcomes: success or RuntimeError. Without being able to actually hear whether a sound was played, either one could be right, but any other error would be a failure. | ||||
* | | Merge heads | Serhiy Storchaka | 2013-12-16 | 1 | -0/+1 |
|\ \ | |||||
| * | | Issue #17919: add missing import of USHRT_MAX | Christian Heimes | 2013-12-16 | 1 | -0/+1 |
| | | | |||||
* | | | Issue #19912: Fixed numerous bugs in ntpath.splitunc(). | Serhiy Storchaka | 2013-12-16 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | * splitunc() no more return illegal result for paths with redundant slashes. * splitunc() now correctly processes the 'İ' character (U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE). * Deprecation warnings now emitted for every use of splitunc(). * Added tests for splitunc(). | ||||
* | | | Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character | Serhiy Storchaka | 2013-12-16 | 1 | -0/+3 |
|/ / | | | | | | | (U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE). | ||||
* | | #19532: make compileall with no file/dir args respect -f and -q. | R David Murray | 2013-12-16 | 1 | -0/+23 |
| | | | | | | | | Patch by Vajrasky Kok. |