Commit Graph

79237 Commits

Author SHA1 Message Date
Terry Jan Reedy f7999fc23f Issue #24750: whitespace 2015-11-16 07:36:12 -05:00
Terry Jan Reedy 3d0962222c Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.
2015-11-16 07:32:19 -05:00
Benjamin Peterson 93ed946dd9 rm trailing ws 2015-11-14 15:12:38 -08:00
Benjamin Peterson c591936789 fix possible memory lea k in _get_aia_uri (closes #25578) 2015-11-14 15:12:18 -08:00
Serhiy Storchaka 5d7d26c403 Issue #25388: Fixed tokenizer hang when processing undecodable source code
with a null byte.
2015-11-14 15:14:29 +02:00
Benjamin Peterson b1c1e673cb fix build with older openssl (#25569) 2015-11-14 00:09:22 -08:00
Martin Panter 5118f7b9af Issue #25017: Document that htmllib is superseded by module HTMLParser 2015-11-14 00:30:46 +00:00
Martin Panter ef2b2f437e Issue #25590: Make rlcompleter only call getattr() once per attribute
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__).  This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
2015-11-13 22:47:00 +00:00
Victor Stinner c0fdd825c2 Issue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock() 2015-11-13 09:13:16 +01:00
Raymond Hettinger f358d2b244 Second instance of deque needing "len" instead of "Py_SIZE" in Py2.7 2015-11-12 18:20:21 -08:00
Terry Jan Reedy 4b4f0b997c Indent 2015-11-12 15:24:22 -05:00
Terry Jan Reedy 55ee13da90 Whitespace 2015-11-12 15:06:02 -05:00
Terry Jan Reedy 35aa5d07a2 Issue #25313: Change the handling of new built-in text color themes to better
address the compatibility problem introduced by the addition of IDLE Dark.
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
2015-11-12 15:02:50 -05:00
Serhiy Storchaka 0d649406ae Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.
2015-11-12 19:46:23 +02:00
Zachary Ware db7a1d6e15 Document the BUILD_SET opcode.
Reported by Hrvoje Abraham on docs@.
2015-11-12 10:02:06 -06:00
Raymond Hettinger 3a75403880 Deque uses "len" instead of varhead in Py2.7 2015-11-12 07:18:45 -08:00
Serhiy Storchaka fedcf9474e Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
rejects builtin types with not defined __new__.
2015-11-12 11:59:03 +02:00
Serhiy Storchaka 76e6cc15b2 Issue #22995: Backported additional tests for non-pickleable types. 2015-11-12 11:36:42 +02:00
Benjamin Peterson 10aaca9941 always set OP_NO_SSLv3 by default (closes #25530) 2015-11-11 22:38:41 -08:00
Benjamin Peterson 59d451d68f fix memory leak in _get_crl_dp (closes #25569)
Patch started by Stéphane Wirtel.
2015-11-11 22:07:38 -08:00
Zachary Ware 77d61d4156 Rewrite re.VERBOSE section.
It now has slightly better rationale and a less awkward wording in the
explanation.

Inspired by a report of a neither/or conflict by 'animalize' on docs@.
2015-11-11 23:32:14 -06:00
Serhiy Storchaka c54b8ceb91 Issue #7759: Fixed the mhlib module on filesystems that doesn't support
link counting for directories.
2015-11-11 17:33:12 +02:00
Serhiy Storchaka 9665cca16d Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Use time.time instead of time.clock.
2015-11-10 19:53:37 +02:00
Serhiy Storchaka f64ccb9acf Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
failure when the test is ran the second time.

The root attribute was set in parent class in setUpClass and then
overridded in child class in tearDownClass.
2015-11-10 15:32:54 +02:00
Serhiy Storchaka d0ee226396 Added missed periods at the ends of sentences in Misc/NEWS. 2015-11-10 00:31:41 +02:00
Serhiy Storchaka bab1f851cc Issue #25582: Fixed 100 MB memory leak in test_ctypes. 2015-11-09 22:31:10 +02:00
Victor Stinner e192d0bbb9 Issue #7267: format(int, 'c') now raises OverflowError when the argument is not
in range(0, 256).
2015-11-09 12:21:09 +01:00
Serhiy Storchaka 8d0a94df33 Issue #892902: Disable newly added tests in test_xpickle. 2015-11-07 20:04:46 +02:00
Serhiy Storchaka da87e45add Issue #892902: Fixed pickling recursive objects. 2015-11-07 11:15:32 +02:00
Martin Panter 43415ba571 Issue #18010: Fix pydoc GUI search to handle package exceptions 2015-11-07 05:41:47 +00:00
doko@ubuntu.com c157347db2 Issue #12612: Add some Valgrind suppressions for 64-bit machines. 2015-11-05 20:41:57 +01:00
Zachary Ware 2ee55f37c2 Fix use of default reST role 2015-11-05 10:28:18 -06:00
Benjamin Peterson be038077fb remove trailing ws 2015-11-03 22:43:31 -08:00
Benjamin Peterson 40559cedb5 merge heads 2015-11-03 22:42:08 -08:00
Benjamin Peterson 873cad2f16 link to modern PUG url 2015-11-03 22:42:02 -08:00
Serhiy Storchaka c72e66a048 Issue #25523: Backported a-to-an corrections. 2015-11-02 15:06:09 +02:00
Terry Jan Reedy a5ad9da504 Issue #25519: Mark difflib.ndiff as a functions where not already. 2015-10-30 19:41:10 -04:00
Terry Jan Reedy cfad18dbdb Issue #25505: Remove unused buggy method. 2015-10-30 19:25:28 -04:00
Terry Jan Reedy faaf16b8ed Issue #25507: move test-specific imports to test function (idlelib.IOBinding). 2015-10-30 02:47:01 -04:00
Benjamin Peterson a05c413029 fix usage of undefined name (#25504) 2015-10-29 21:10:57 -07:00
Benjamin Peterson 09ba984364 always use os.urandom for the uuid4 algorithm (closes #25515) 2015-10-29 20:38:04 -07:00
Serhiy Storchaka fbe04b68af Issue #21827: Fixed textwrap.dedent() for the case when largest common
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:39:36 +02:00
Terry Jan Reedy 0a1ba70949 Issue #25432: Explain isinstance behaviour when type is a tuple. 2015-10-28 03:14:46 -04:00
Terry Jan Reedy 8048776170 Display IDLE warning as a warning rather than as an error.
Clarify message and expected action for beginners.
2015-10-27 03:37:55 -04:00
Serhiy Storchaka 9186a6ac10 Issue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić. 2015-10-24 17:39:36 +03:00
Victor Stinner 15a43ed030 Issue #25461: Rephrase os.walk() doc
Patch written by Bernt Røskar Brenna.
2015-10-23 12:42:39 +02:00
Gregory P. Smith 64707923be Issue21709: Call os.path.normcase when setting _srcfile for compatibility
with what findCaller() does when running on non-POSIX platforms.

(alternatively: the normcase calls in both places could be eliminated, but that
touches more code and that refactoring hasn't even been done in 3 yet...)
2015-10-22 13:12:20 -07:00
Gregory P. Smith 7427a79e12 Issue #21709: Fix the logging module to not depend upon __file__ being set
properly to get the filename of its caller from the stack.  This allows it
to work if run in a frozen or embedded environment where the module's
.__file__ attribute does not match its code object's .co_filename.

This same much simpler always correct approach has already been deployed and
used widely in Python 3.4 per the issue referenced above.
2015-10-22 13:09:50 -07:00
Terry Jan Reedy 1256b3c677 Issue #24782: Limit width of canvas and hence IDLE settings dialog. 2015-10-22 03:27:27 -04:00
Terry Jan Reedy 9188516e28 Issue #24782: Don't try to run now-removed extension dialog test. 2015-10-20 02:15:23 -04:00