Commit Graph

77850 Commits

Author SHA1 Message Date
Vinay Sajip 8bf70f74cf Issue #20509: Added cross-reference in documentation. 2014-02-04 16:25:41 +00:00
Benjamin Peterson d16e01cf75 mmap obmalloc arenas so that they may be immediately returned to the system when unused (closes #20494) 2014-02-04 10:20:26 -05:00
Serhiy Storchaka 90ecc00183 Skip expr* tests for large integers for Tcl <8.5.
The '**' operator is available only since 8.5 and in any case such large
integers are not supported on Tcl <8.5.
2014-02-03 22:30:22 +02:00
Antoine Pitrou f581411255 Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache. 2014-02-03 20:59:59 +01:00
Serhiy Storchaka 942aaac705 Issue #19761: Fixed Tkinter tests on OS X. 2014-02-03 21:33:21 +02:00
Serhiy Storchaka ccffb25c54 Issue #20368: The null character now correctly passed from Tcl to Python (in
unicode strings only).  Improved error handling in variables-related commands.
2014-02-03 21:23:46 +02:00
Serhiy Storchaka da0dbc004c Merge heads 2014-02-03 20:42:43 +02:00
Serhiy Storchaka d2eff237a6 Issue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),
exprlong() and exprboolean().
2014-02-03 20:41:04 +02:00
Benjamin Peterson 60f0793c30 use system mercurial 2014-02-03 13:33:56 -05:00
Vinay Sajip 5146825e00 Added cookbook entry on logging filter configuration using dictConfig(). 2014-02-03 11:51:22 +00:00
Antoine Pitrou c06634acfc Issue #20435: Fix _pyio.StringIO.getvalue() to take into account newline translation settings. 2014-02-02 23:37:29 +01:00
Ned Deily 1964d5bdf7 Issue #19990: Install test/imghdrdata. 2014-02-02 13:59:26 -08:00
Antoine Pitrou 8a2e22ef35 Issue #20423: fix documentation of io.StringIO's newline parameter 2014-02-02 22:48:25 +01:00
Serhiy Storchaka 15b67d7d5b Issue #19320: Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5. 2014-02-02 23:04:06 +02:00
Benjamin Peterson b898b4f9e9 use with statement to ensure zipfile is always closed (closes #20102) 2014-02-02 15:30:22 -05:00
Terry Jan Reedy 67908e9a76 Update the python.gif icon for the Idle classbrowser and pathbowser
from the old green snake to the new new blue and yellow snakes.
2014-02-01 23:08:24 -05:00
Ezio Melotti 5a88853bdc #20288: fix handling of invalid numeric charrefs in HTMLParser. 2014-02-01 21:20:22 +02:00
Mark Dickinson 383952d52c Issue #19683: Add __closure__ and other missing attributes to function docs. 2014-02-01 16:32:40 +00:00
Zachary Ware c82e27bf9a Fix unfinished thought in xml overview page. Suggested by Bo Bayles on docs@. 2014-01-31 11:27:24 -06:00
Terry Jan Reedy 3ac26c1bd2 Idle test: 2nd try at suppressing compile time warning (hint by Nick Coghlan). 2014-01-30 21:37:24 -05:00
Vinay Sajip 9cdf2d0338 Issue #20444: Reduced code duplication. Thanks to dongwm for the report and patch. 2014-01-30 20:22:01 +00:00
Terry Jan Reedy 0a600cf235 Idlelib & buildbots: suppress py3 deprecation message even if enabled. 2014-01-29 14:42:32 -05:00
Serhiy Storchaka 47cb38cdcc Backported a test for lone surrogates support in io.StringIO. 2014-01-29 11:49:13 +02:00
Terry Jan Reedy 1625272444 Silence deprecation warning in sunau.py 2014-01-29 00:15:59 -05:00
Terry Jan Reedy 8119c13fe4 Idlelib: silence two buildbot Deprecation Warnings with better code. 2014-01-28 23:13:35 -05:00
Gregory P. Smith 9ca520a09c Remove unneeded use of globals() and locals() in test on imports
introduced with the issue19081 tests.
2014-01-28 00:29:46 -08:00
Gregory P. Smith aaef0e7821 Remove inaccurate comment and a the related recently added
Py_VerboseFlag print that can never be triggered.

prefix[0] is always equal to 0 at this point in the code.
2014-01-27 22:43:25 -08:00
Gregory P. Smith 1a47955255 Refactor the new test for issue19081 to exec import statements into a
test_ns dict instead of the actual globals() and locals().  Suggested
after review by Thomas Wouters.
2014-01-27 22:06:51 -08:00
Serhiy Storchaka 31f5121275 Issue #19456: ntpath.join() now joins relative paths correctly when a drive
is present.
2014-01-27 23:14:51 +02:00
Gregory P. Smith 027ab39014 Issue #19081: Remove the zipimporter.files reference as the zip TOC
caches are module global in the zip_directory_cache. When it is
updated due to a changed zip file, all zipimporter instances need to
see the same updates TOC cache.  This fixes the bug for the overlooked
submodule import case from the earlier round of changes.  Includes
tests that would fail otherwise.

It also refactors zipimporter_init in the process to make it a bit
easier to read and understand.  Less reuse of the same variable for
multiple purposes and the local path buffer is malloc'ed instead
of consuming a large MAXPATHLEN+2 chunk stack space.
2014-01-27 00:15:10 -08:00
Terry Jan Reedy 1d9b9215f0 Issue #17721: Remove non-functional configuration dialog help button until we
make it actually gives some help when clicked. Patch by Guilherme Simões.
2014-01-26 22:24:17 -05:00
Terry Jan Reedy e7ec1be8c7 Idlelib.calltips: add test of starred first parameters. They should not be
removed even for bound methods. (Inspect.signature does, see 20401.)
2014-01-26 21:34:25 -05:00
Terry Jan Reedy 62ea43cc06 Merge heads. 2014-01-26 20:10:56 -05:00
Terry Jan Reedy e7a72a194d Issue #20338: Increase allowed tip width slightly and wrap long signagure lines.
Original patch by Serhiy Storchaka.
2014-01-26 19:55:07 -05:00
Serhiy Storchaka 30d68c66e3 Issue #19990: Added tests for the imghdr module.
Based on patch by Claudiu Popa.
2014-01-26 23:48:20 +02:00
Serhiy Storchaka 4a44f8791c Fixed a bug in previous changeset: StreamReader returned '' instead of u''. 2014-01-26 21:19:59 +02:00
Serhiy Storchaka 2403a787b9 Issue #8260: The read(), readline() and readlines() methods of
codecs.StreamReader returned incomplete data when were called after
readline() or read(size).  Based on patch by Amaury Forgeot d'Arc.
2014-01-26 19:20:24 +02:00
Benjamin Peterson 072cd0c884 update sphinx url 2014-01-25 13:27:06 -05:00
Benjamin Peterson 72c081d1e7 linkify 2014-01-25 13:26:18 -05:00
Serhiy Storchaka 1adbacfd1c Issue #20331: Fixed possible FD leaks in various modules:
SimpleHTTPServer, imghdr, mailcap, mimetypes, xml.etree.
2014-01-25 19:42:27 +02:00
Benjamin Peterson d8be9feb45 update hosting faq 2014-01-24 23:59:57 -05:00
Benjamin Peterson 0ac0eadf8d new plan: just remove typecasts (closes #20374) 2014-01-24 11:44:16 -05:00
Benjamin Peterson ce75105e10 use new readline function types (closes #20374) 2014-01-24 00:32:12 -05:00
Serhiy Storchaka eb7ef94166 Third attempt to fix test_user_command on OpenSolaris. 2014-01-23 16:08:35 +02:00
Serhiy Storchaka dc97667254 Other attempt to fix test_user_command on OpenSolaris. 2014-01-23 14:38:44 +02:00
Serhiy Storchaka 83515ecf42 Try to fix test_user_command on OpenSolaris where floats can have different
string representation in Tcl and Python.
2014-01-23 11:03:02 +02:00
Serhiy Storchaka 29d8e856b4 Added test_user_command in test_tcl.
It tests the convertion Tcl values to Python values when Tcl calls a command
implemented on Python. Currently all values are passed as strings.
2014-01-23 09:42:46 +02:00
Terry Jan Reedy 5924365528 Issue #17390: Add Python version to Idle editor window title bar.
Original patches by Edmond Burnett and Kent Johnson.
2014-01-23 00:36:37 -05:00
Richard Oudkerk e8a57b98ec Issue #14548: Make multiprocessing finalizers check pid before
running to cope with possibility of gc running just after fork.
(Backport from 3.x.)
2014-01-23 00:11:04 +00:00
Stefan Krah 70fdd79c92 Fix test failures --without-threads. 2014-01-22 13:18:09 +01:00