summaryrefslogtreecommitdiff
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20331: Fixed possible FD leaks in various modules:Serhiy Storchaka2014-01-255-30/+34
| | | | http.server, imghdr, mailcap, mimetypes, xml.etree.
* Issue #20311: Revert 033137c12d88, select.epoll.poll() rounds again the timeoutVictor Stinner2014-01-251-11/+0
| | | | towards zero
* Fix typo.Serhiy Storchaka2014-01-241-1/+1
|
* Issue #20384: Fix the test_tarfile test on Windows.Serhiy Storchaka2014-01-241-1/+6
| | | | On Windows os.open() error message doesn't contain file name.
* Issue 20317: Remove debugging code from contextlibNick Coghlan2014-01-242-13/+49
| | | | | | | - Alex J Burke noticed a debugging raise in the commit that fixed the original bug reported in issue 20317 - this showed that multiple iterations through the affected loop wasn't actually being tested
* Fixed test_user_command on OpenSolaris where floats can have different stringSerhiy Storchaka2014-01-231-9/+20
| | | | representation in Tcl and Python.
* Added test_user_command in test_tcl.Serhiy Storchaka2014-01-231-0/+28
| | | | | It tests the convertion Tcl values to Python values when Tcl calls a command implemented on Python. Currently all values are passed as strings.
* Issue #17390: Add Python version to Idle editor window title bar.Terry Jan Reedy2014-01-231-1/+5
| | | | Original patches by Edmond Burnett and Kent Johnson.
* Issue #20317: Don't create a reference loop in ExitStackNick Coghlan2014-01-222-1/+32
|
* Issue #20818: Remove code from idlelib.CallTipWindow.showtip that is nowTerry Jan Reedy2014-01-211-7/+1
| | | | | completely redundant. After 16638 patch, CallTips.get_argspec trims over-long signature strings as well as docstring lines.
* Issue #16638: Include up to 5 docstring header lines (before first blank) inTerry Jan Reedy2014-01-212-14/+34
| | | | | Idle calltips. This is needed for builtins, such bytes (which is why 5). Based on patch by Serhiy Storchaka.
* Issue #17825: Cursor ^ is correctly positioned for SyntaxError and ↵Florent Xicluna2014-01-222-7/+18
| | | | IndentationError.
* Issue #20246: Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.Stefan Krah2014-01-211-1/+1
|
* Issue #16630: Make Idle calltips work even when __getattr__ raises.Terry Jan Reedy2014-01-212-37/+51
| | | | Initial patch by Roger Serwy.
* Issue #2382: SyntaxError cursor "^" now is written at correct position in mostSerhiy Storchaka2014-01-212-0/+22
| | | | | cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters.
* Issue #16655: Explain why Idle's test_calltips has 'fragile' tests of builtins.Terry Jan Reedy2014-01-211-0/+8
|
* Issue #20122: Idlelib: Move tests in CallTips.py to test_calltips.py.Terry Jan Reedy2014-01-212-105/+100
|
* Issue #20311: Try to fix the unit test, use time.monotonic() instead ofVictor Stinner2014-01-211-12/+12
| | | | | | time.perf_counter() Move also the unit test at the end.
* Issue #20311: select.epoll.poll() now rounds the timeout away from zero,Victor Stinner2014-01-211-0/+11
| | | | | instead of rounding towards zero. For example, a timeout of one microsecond is now rounded to one millisecond, instead of being rounded to zero.
* Issue #20262: Warnings are raised now when duplicate names are added in theSerhiy Storchaka2014-01-202-8/+11
| | | | ZIP file or too long ZIP file comment is truncated.
* Issue #20315: Removed support for backward compatibility with early 2.x ↵Serhiy Storchaka2014-01-203-53/+3
| | | | versions.
* fix handling of 100-continue status code (closes #18574)Benjamin Peterson2014-01-182-3/+5
|
* #19855: restore use of LC_ALL, not LC_MESSAGESR David Murray2014-01-181-2/+2
| | | | | | I didn't realize LC_ALL was an override, and I should have. I tried to make a test, but it is not clear that the LC variables actually affect the strings that uuid is using to parse the command output.
* Issue #20270: urllib.urlparse now supports empty ports.Serhiy Storchaka2014-01-182-24/+45
|
* Issue #20244: Fixed possible file leaks when unexpected error raised inSerhiy Storchaka2014-01-181-0/+6
| | | | tarfile open functions.
* Issue #20243: TarFile no longer raise ReadError when opened in write mode.Serhiy Storchaka2014-01-182-11/+34
|
* Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn'tSerhiy Storchaka2014-01-182-1/+7
| | | | write complete output on close.
* Issue #20245: The open functions in the tarfile module now correctly handle ↵Serhiy Storchaka2014-01-182-7/+22
| | | | empty mode.
* sort os.listxattr results before comparing it to avoid depending on theGregory P. Smith2014-01-171-1/+1
| | | | ordering of the directory information in the underlying filesystem.
* Issue #19936: Remove executable bits from C source files and several forgottenSerhiy Storchaka2014-01-161-0/+0
| | | | test files.
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-1667-65/+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 #20251Benjamin Peterson2014-01-141-0/+7
|
* merge 3.2 (#20246)Benjamin Peterson2014-01-131-0/+8
|\
| * complain when nbytes > buflen to fix possible buffer overflow (closes #20246)Benjamin Peterson2014-01-131-0/+8
| |
* | Issue #20242: Fixed basicConfig() format strings for the alternative ↵Vinay Sajip2014-01-132-7/+26
| | | | | | | | formatting styles.
* | #20206, #5803: more efficient algorithm that doesn't truncate output.R David Murray2014-01-132-82/+65
| | | | | | | | | | | | | | | | 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-122-5/+19
| | | | | | | | modules and in documentation.
* | Issue #20138: The wsgiref.application_uri() and wsgiref.request_uri()Serhiy Storchaka2014-01-122-4/+8
| | | | | | | | functions now conform to PEP 3333 when handle non-ASCII URLs.
* | Issue #19092 - Raise a correct exception when cgi.FieldStorage is given anSenthil Kumaran2014-01-112-2/+19
| | | | | | | | | | invalid file-obj. Also use __bool__ to determine the bool of the FieldStorage object.
* | tkinter.Text.debug() now always returns 0/1.Serhiy Storchaka2014-01-112-4/+3
| | | | | | | | Fixed a regression inroduced in issue #6157.
* | Try to fix some ttk tests. Error messages were changed in 8.6b3.Serhiy Storchaka2014-01-111-3/+3
| |
* | Issue #19804: The test_find_mac test in test_uuid is now skipped if theSerhiy Storchaka2014-01-101-0/+6
| | | | | | | | ifconfig executable is not available.
* | Issue #19886: Use better estimated memory requirements for bigmem tests.Serhiy Storchaka2014-01-105-28/+18
| | | | | | | | Incorrect requirements can cause memory swapping.
* | Issue #13107: argparse and optparse no longer raises an exception when outputSerhiy Storchaka2014-01-094-6/+98
| | | | | | | | | | 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
| |
* | Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵Antoine Pitrou2014-01-091-6/+4
| | | | | | | | asked for.
* | Do not reset the line number because we already set file position to correctSerhiy Storchaka2014-01-091-0/+4
| | | | | | | | | | | | value. (fixes error in patch for issue #18960)
* | clear zip stat cache after each ref leak runBenjamin Peterson2014-01-092-9/+7
| |