Commit Graph

79745 Commits

Author SHA1 Message Date
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