Commit Graph

79142 Commits

Author SHA1 Message Date
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
Serhiy Storchaka 22afc506fb Backported additional unpickling tests from 3.x. 2015-09-29 15:51:40 +03:00
Serhiy Storchaka 4d2cf5587c Moved unpickling tests with prepickled data to separate class. 2015-09-29 15:36:28 +03:00
Terry Jan Reedy 958a9c7520 Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:55:50 -04:00
Terry Jan Reedy 6d49160fb6 Remove indent in news item. Error when building 3.x docs. 2015-09-29 01:00:25 -04:00
Terry Jan Reedy da10017de3 Add recent IDLE NEWS items. Move Build sectios down. 2015-09-28 23:38:46 -04:00
Berker Peksag b7c3515308 Issue #25249: Remove unneeded mkstemp helper in test_subprocess
The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.
2015-09-28 15:37:57 +03:00
Terry Jan Reedy a6673806f9 Issue #24972: New option is only valid in tk 8.5+. 2015-09-28 04:52:44 -04:00
Terry Jan Reedy 62520b2c63 Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.
2015-09-27 22:46:12 -04:00
Serhiy Storchaka a8041ae565 Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state.
2015-09-27 22:34:59 +03:00