Commit Graph

79151 Commits

Author SHA1 Message Date
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
Vinay Sajip 63173a8c7e Added entry to logging cookbook. 2015-10-17 13:55:19 +01:00
Brett Cannon eb2cb97374 Issue #25188: Clean up code to pass the --pgo flag to subprocesses
when running the test suite.

Patch by Arfrever Frehtes Taifersar Arahesis.
2015-10-16 12:30:20 -07:00
Terry Jan Reedy 4922ac1b80 Issue #24782: whitespace 2015-10-13 22:08:45 -04:00
Terry Jan Reedy 1c49ec0df0 Issue #24782: Finish converting the Configure Extension dialog into a new
tab in the IDLE Preferences dialog.  Code patch by Mark Roseman.
2015-10-13 22:03:44 -04:00
Benjamin Peterson a20c72a264 actually link to the version attributes documentation 2015-10-11 23:03:22 -07:00
Terry Jan Reedy c0a053e4d5 Issue #22726: Re-activate config dialog help button with some content about
the other buttons and the new IDLE Dark theme.
2015-10-11 22:07:25 -04:00
Benjamin Peterson d2a19c2c67 don't mention Python 2.2 (closes #25375) 2015-10-10 23:23:55 -07:00
Benjamin Peterson 5f32b236f1 use the with statement for locking the internal condition (closes #25362)
Patch by Nir Soffer.
2015-10-10 19:34:46 -07:00
Martin Panter 4ed35fc4f3 Issue #25161: Add full stops in documentation; patch by Takase Arihiro 2015-10-10 10:52:35 +00:00
Martin Panter dab305ef05 Issue #22413: Document newline effect on StringIO initializer and getvalue
Also add to comment in the C code.
2015-10-10 02:52:30 +00:00
Serhiy Storchaka 462502b084 Issue #24848: Fixed yet one bug in UTF-7 decoder. Testing for BASE64 character
was locale depending.
2015-10-10 09:33:11 +03:00
Vinay Sajip 9918775206 Closes #25344: Added cookbook recipe to show buffering of logging events. 2015-10-10 00:49:10 +01:00
Raymond Hettinger 9c90e255e0 Issue #25326: Improve an obscure error message. 2015-10-08 21:14:15 -04:00
Martin Panter 840c82ee88 Issue #25286: Accidentally dropped "the" 2015-10-07 10:39:13 +00:00
Martin Panter 4a33724d47 Issue #25286: Dictionary views are not sequences
Also change glossary heading from "view" to "dictionary view". Patch by Akira
Li.
2015-10-07 10:19:39 +00:00
Raymond Hettinger e904427285 Backport early-out 91259f061cfb to reduce the cost of bb1a2944bcb6 2015-10-06 23:12:02 -04:00
Benjamin Peterson cf0d512fb4 merge heads 2015-10-06 19:37:15 -07:00
Benjamin Peterson 77d12ecaad prevent unacceptable bases from becoming bases through multiple inheritance (#24806) 2015-10-06 19:36:54 -07:00
Serhiy Storchaka 0a8845e64f Issue #25317: Converted doctests in test_tokenize to unittests. 2015-10-06 18:13:38 +03:00
Benjamin Peterson 51cd53e152 reinitialize an Event's Condition with a regular lock (closes #25319) 2015-10-05 21:56:22 -07:00
Serhiy Storchaka 0451fb942e Make error report in test_codecs more informative. 2015-10-04 13:52:40 +03:00
Terry Jan Reedy 1b6333a05c Issue #24820: Update IDLE NEWS items. 2015-10-04 01:14:45 -04:00
Terry Jan Reedy 9f37eae9cc Issue #24820: Add 'IDLE Dark' text color theme, warning, and solution. 2015-10-04 00:30:59 -04:00
Martin Panter fcf58a1518 Issue #16701: Document += and *= for mutable sequences 2015-10-03 07:37:22 +00:00
Martin Panter 74c76c8f06 Issue #24657: Prevent CGIRequestHandler from collapsing the URL query
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
2015-10-03 05:55:46 +00:00
Martin Panter cff22eb2bf Issue #25232: Fix CGIRequestHandler's splitting of URL query
Patch from Xiang Zhang.
2015-10-03 05:38:07 +00:00
Terry Jan Reedy 195fc2f2aa Issue #25224: README.txt is now an idlelib index for IDLE developers and
curious users.  The previous user content is now in the IDLE doc and is
redundant.  IDLE now means 'Integrated Development and Learning Environment'.
2015-10-02 23:22:54 -04:00
Terry Jan Reedy c30475e755 Issue #24820: Users can now set breakpoint colors in Settings ->
Custom Highlighting.  Original patch by Mark Roseman.
2015-10-02 22:12:09 -04:00
Brett Cannon 65918e01be Fix indentation 2015-10-02 16:22:32 -07:00
Brett Cannon 9537478463 Issue #25188: Add -P/--pgo to test.regrtest for PGO building.
Initial patch by Alecsandru Patrascu of Intel.
2015-10-02 16:21:34 -07:00
Serhiy Storchaka f6eced52cc Removed the "b" string prefix to make test_xpickle compatible with Python 2.5. 2015-10-02 20:23:46 +03:00
Berker Peksag 4e2947728c Issue #25290: Fix typo in csv.reader() docstring
Patch by Johannes Niediek.
2015-10-02 19:30:21 +03:00
Serhiy Storchaka e12f632186 Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
2015-10-02 13:14:53 +03:00
Victor Stinner a87633e596 Issue #25003: os.urandom() doesn't use getentropy() on Solaris because
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
2015-10-01 09:57:26 +02:00
Serhiy Storchaka f522bbc9c2 Issue #22958: Constructor and update method of weakref.WeakValueDictionary
now accept the self keyword argument.
2015-09-29 23:51:27 +03:00
Serhiy Storchaka cab4566c5a Issue #22609: Constructor and the update method of collections.UserDict now
accept the self keyword argument.
2015-09-29 23:33:03 +03:00