]> granicus.if.org Git - python/log
python
9 years agoIssue #6478: _strptime's regexp cache now is reset after changing timezone
Serhiy Storchaka [Thu, 3 Dec 2015 20:20:45 +0000 (22:20 +0200)]
Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().

9 years agoIssue #19543: Added Py3k warning for decoding unicode.
Serhiy Storchaka [Thu, 3 Dec 2015 18:47:48 +0000 (20:47 +0200)]
Issue #19543: Added Py3k warning for decoding unicode.

9 years agoFix test_doctest in verbose mode
Victor Stinner [Wed, 2 Dec 2015 13:39:37 +0000 (14:39 +0100)]
Fix test_doctest in verbose mode

9 years agoFixed reference leak when read truncated pickle.
Serhiy Storchaka [Mon, 30 Nov 2015 22:32:49 +0000 (00:32 +0200)]
Fixed reference leak when read truncated pickle.

9 years agoIssue #25718: Fixed copying object with state with boolean value is false.
Serhiy Storchaka [Mon, 30 Nov 2015 15:20:02 +0000 (17:20 +0200)]
Issue #25718: Fixed copying object with state with boolean value is false.

9 years agoFixed yet one syntax error in test_xpickle in Python 2.5.
Serhiy Storchaka [Sun, 29 Nov 2015 18:18:27 +0000 (20:18 +0200)]
Fixed yet one syntax error in test_xpickle in Python 2.5.

9 years agoFixed Py3k warnings in tests for issue #24731.
Serhiy Storchaka [Sun, 29 Nov 2015 18:13:56 +0000 (20:13 +0200)]
Fixed Py3k warnings in tests for issue #24731.

9 years agoTrying to fix test_xpickle with python 2.4 and 2.5.
Serhiy Storchaka [Sun, 29 Nov 2015 17:20:11 +0000 (19:20 +0200)]
Trying to fix test_xpickle with python 2.4 and 2.5.

9 years agoIssue #25742: Try to fix test_locale on Windows
Victor Stinner [Sun, 29 Nov 2015 15:33:18 +0000 (16:33 +0100)]
Issue #25742: Try to fix test_locale on Windows

9 years agoGot rid of "with" for compatibility test_xpickle with Python 2.5.
Serhiy Storchaka [Sun, 29 Nov 2015 14:13:51 +0000 (16:13 +0200)]
Got rid of "with" for compatibility test_xpickle with Python 2.5.

9 years agoIssue #25761: Added more test cases for testing unpickling broken data.
Serhiy Storchaka [Sun, 29 Nov 2015 11:12:40 +0000 (13:12 +0200)]
Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).

9 years agoCloses #25742: locale.setlocale() now accepts a Unicode string for its second
Victor Stinner [Fri, 27 Nov 2015 22:54:36 +0000 (23:54 +0100)]
Closes #25742: locale.setlocale() now accepts a Unicode string for its second
parameter.

9 years agoIssue #23914: Fix test_xpickle with python 2.4 and 2.5
Zachary Ware [Fri, 27 Nov 2015 07:21:51 +0000 (01:21 -0600)]
Issue #23914: Fix test_xpickle with python 2.4 and 2.5

Remove 'b' prefix from strings, remove unused import.

9 years agoIssue #10131: Fixed deep copying of minidom documents. Based on patch
Serhiy Storchaka [Thu, 26 Nov 2015 21:48:30 +0000 (23:48 +0200)]
Issue #10131: Fixed deep copying of minidom documents.  Based on patch
by Marian Ganisin.

9 years agoIssue #25622: Rename to PythonValuesTestCase and enable for non-Windows
Martin Panter [Thu, 26 Nov 2015 02:36:26 +0000 (02:36 +0000)]
Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows

9 years agoFixed compilation error introduced in 745fd5550bc0.
Serhiy Storchaka [Thu, 26 Nov 2015 09:21:47 +0000 (11:21 +0200)]
Fixed compilation error introduced in 745fd5550bc0.

9 years agoIssue #19687: Fixed possible integer overflows in ElementTree.
Serhiy Storchaka [Wed, 25 Nov 2015 18:12:58 +0000 (20:12 +0200)]
Issue #19687: Fixed possible integer overflows in ElementTree.
Based on patch by Christian Heimes.

9 years agoIssue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
Serhiy Storchaka [Wed, 25 Nov 2015 16:35:33 +0000 (18:35 +0200)]
Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
__getattr__.  Original patch by Antoine Pitrou.

9 years agoIssue #25616: Tests for OrderedDict are extracted from test_collections
Serhiy Storchaka [Wed, 25 Nov 2015 15:19:27 +0000 (17:19 +0200)]
Issue #25616: Tests for OrderedDict are extracted from test_collections
into separate file test_ordered_dict.

9 years agoIssue #25703: Skip test_43581 if one of stdout or stderr is redirected.
Serhiy Storchaka [Wed, 25 Nov 2015 14:20:04 +0000 (16:20 +0200)]
Issue #25703: Skip test_43581 if one of stdout or stderr is redirected.

9 years agoIssue #25697: Fixed rough alphabetical order in Misc/ACKS.
Serhiy Storchaka [Wed, 25 Nov 2015 14:13:56 +0000 (16:13 +0200)]
Issue #25697: Fixed rough alphabetical order in Misc/ACKS.

9 years agoIssue #24731: Fixed crash on converting objects with special methods
Serhiy Storchaka [Wed, 25 Nov 2015 13:55:54 +0000 (15:55 +0200)]
Issue #24731: Fixed crash on converting objects with special methods
__str__, __trunc__, and __float__ returning instances of subclasses of
str, long, and float to subclasses of str, long, and float correspondingly.

9 years agoIssue #25725: Fixed a reference leak in cPickle.loads() when unpickling
Serhiy Storchaka [Wed, 25 Nov 2015 13:07:49 +0000 (15:07 +0200)]
Issue #25725: Fixed a reference leak in cPickle.loads() when unpickling
invalid data including tuple instructions.

9 years agoIssue #25508: Clarify documentation on LogRecord args attribute.
Vinay Sajip [Tue, 24 Nov 2015 23:18:30 +0000 (23:18 +0000)]
Issue #25508: Clarify documentation on LogRecord args attribute.

9 years agoFix non-ascii character
Raymond Hettinger [Tue, 24 Nov 2015 05:00:45 +0000 (21:00 -0800)]
Fix non-ascii character

9 years agoAdd a missing docstring
Raymond Hettinger [Tue, 24 Nov 2015 04:47:05 +0000 (20:47 -0800)]
Add a missing docstring

9 years agoIssue #25663: Make rlcompleter avoid duplicate global names
Martin Panter [Mon, 23 Nov 2015 23:50:26 +0000 (23:50 +0000)]
Issue #25663: Make rlcompleter avoid duplicate global names

9 years agoIssue #25688: Fixed file leak in ElementTree.iterparse() raising an error.
Serhiy Storchaka [Mon, 23 Nov 2015 13:46:36 +0000 (15:46 +0200)]
Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error.

9 years agoIssue #23914: Fixed SystemError raised by unpickler on broken pickle data.
Serhiy Storchaka [Mon, 23 Nov 2015 13:20:43 +0000 (15:20 +0200)]
Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.

9 years agoIssue #25691: Added tests on deleting cElementTree.Element attributes.
Serhiy Storchaka [Mon, 23 Nov 2015 06:50:20 +0000 (08:50 +0200)]
Issue #25691: Added tests on deleting cElementTree.Element attributes.

9 years agorm duplicate entry
Benjamin Peterson [Mon, 23 Nov 2015 03:05:29 +0000 (19:05 -0800)]
rm duplicate entry

9 years agomerge 2.7.11 release branch
Benjamin Peterson [Mon, 23 Nov 2015 03:05:14 +0000 (19:05 -0800)]
merge 2.7.11 release branch

9 years agoIssue #25624: ZipFile now always writes a ZIP_STORED header for directory entries...
Benjamin Peterson [Mon, 23 Nov 2015 03:04:56 +0000 (19:04 -0800)]
Issue #25624: ZipFile now always writes a ZIP_STORED header for directory entries. Patch by Dingyuan Wang.

9 years agoIssue #25624: ZipFile now always writes a ZIP_STORED header for directory
Serhiy Storchaka [Sun, 22 Nov 2015 12:56:22 +0000 (14:56 +0200)]
Issue #25624: ZipFile now always writes a ZIP_STORED header for directory
entries.  Patch by Dingyuan Wang.

9 years agoIssue #19687: Fixed memory leak on failed Element slice assignment.
Serhiy Storchaka [Sun, 22 Nov 2015 10:31:11 +0000 (12:31 +0200)]
Issue #19687: Fixed memory leak on failed Element slice assignment.

9 years agonews section for 2.7.12
Benjamin Peterson [Sun, 22 Nov 2015 02:39:07 +0000 (18:39 -0800)]
news section for 2.7.12

9 years agopost rc1 updates
Benjamin Peterson [Sun, 22 Nov 2015 02:38:18 +0000 (18:38 -0800)]
post rc1 updates

9 years agoAdded tag v2.7.11rc1 for changeset 82dd9545bd93
Benjamin Peterson [Sat, 21 Nov 2015 21:38:43 +0000 (13:38 -0800)]
Added tag v2.7.11rc1 for changeset 82dd9545bd93

9 years agobump to 2.7.11rc1 v2.7.11rc1
Benjamin Peterson [Sat, 21 Nov 2015 21:38:35 +0000 (13:38 -0800)]
bump to 2.7.11rc1

9 years agoupdate pydoc-topics
Benjamin Peterson [Sat, 21 Nov 2015 21:35:41 +0000 (13:35 -0800)]
update pydoc-topics

9 years agoUpdate idlelib/NEWS.txt.
Terry Jan Reedy [Sat, 21 Nov 2015 18:31:00 +0000 (13:31 -0500)]
Update idlelib/NEWS.txt.

9 years agoMisc/NEWS entries for IDLE.
Terry Jan Reedy [Sat, 21 Nov 2015 18:18:50 +0000 (13:18 -0500)]
Misc/NEWS entries for IDLE.

9 years agoIssue #25686: test_shutil no longer uses the distutils package for running
Serhiy Storchaka [Sat, 21 Nov 2015 12:11:57 +0000 (14:11 +0200)]
Issue #25686: test_shutil no longer uses the distutils package for running
external archivers.

9 years agoIssue 15348: Stop debugger engine (normally in user process)
Terry Jan Reedy [Sat, 21 Nov 2015 05:04:58 +0000 (00:04 -0500)]
Issue 15348: Stop debugger engine (normally in user process)
before closing debugger window in IDLE process.
This prevents one-per-line RuntimeErrors.

9 years agoIssue #24455: Prevent IDLE from hanging when a) closing the shell while the
Terry Jan Reedy [Sat, 21 Nov 2015 00:36:38 +0000 (19:36 -0500)]
Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.

9 years agoIssue #25678: Copy buffer objects to null-terminated strings.
Serhiy Storchaka [Fri, 20 Nov 2015 19:56:21 +0000 (21:56 +0200)]
Issue #25678: Copy buffer objects to null-terminated strings.

Avoid buffer overreads when int(), long(), float(), and compile()
are passed buffer objects.  Similar code is removed from the
complex() constructor, where it was not reachable.

Patch backported from issue #24802 by Eryk Sun.

9 years agoMake it slightly clearer that IDLE close message is referring to user program,
Terry Jan Reedy [Fri, 20 Nov 2015 17:21:40 +0000 (12:21 -0500)]
Make it slightly clearer that IDLE close message is referring to user program,
not to IDLE itself.

9 years agoClose #10128: don't rerun __main__.py in multiprocessing
Nick Coghlan [Thu, 19 Nov 2015 02:59:39 +0000 (12:59 +1000)]
Close #10128: don't rerun __main__.py in multiprocessing

- backports issue #10845's mitigation of incompatibilities between
  the multiprocessing module and directory and zipfile execution
- Multiprocessing on Windows will now automatically skip rerunning top
  level __main__.py modules in spawned processes, rather than failing
  with AssertionError

9 years agoIssue #23200: Document that max_length=0 is not supported
Martin Panter [Wed, 18 Nov 2015 00:59:17 +0000 (00:59 +0000)]
Issue #23200: Document that max_length=0 is not supported

9 years agoIssue #20468: Remove incorrect information about maxrss and page size
Martin Panter [Tue, 17 Nov 2015 22:13:47 +0000 (22:13 +0000)]
Issue #20468: Remove incorrect information about maxrss and page size

Extract of patch by Ronald Oussoren.

9 years agoIssue #25615: Document unsorted behaviour of glob; patch by Dave Jones
Martin Panter [Mon, 16 Nov 2015 23:46:22 +0000 (23:46 +0000)]
Issue #25615: Document unsorted behaviour of glob; patch by Dave Jones

9 years agoIssue #24750: whitespace
Terry Jan Reedy [Mon, 16 Nov 2015 12:36:12 +0000 (07:36 -0500)]
Issue #24750: whitespace

9 years agoIssue #24750: Improve appearance of IDLE editor window status bar.
Terry Jan Reedy [Mon, 16 Nov 2015 12:32:19 +0000 (07:32 -0500)]
Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.

9 years agorm trailing ws
Benjamin Peterson [Sat, 14 Nov 2015 23:12:38 +0000 (15:12 -0800)]
rm trailing ws

9 years agofix possible memory lea k in _get_aia_uri (closes #25578)
Benjamin Peterson [Sat, 14 Nov 2015 23:12:18 +0000 (15:12 -0800)]
fix possible memory lea k in _get_aia_uri (closes #25578)

9 years agoIssue #25388: Fixed tokenizer hang when processing undecodable source code
Serhiy Storchaka [Sat, 14 Nov 2015 13:14:29 +0000 (15:14 +0200)]
Issue #25388: Fixed tokenizer hang when processing undecodable source code
with a null byte.

9 years agofix build with older openssl (#25569)
Benjamin Peterson [Sat, 14 Nov 2015 08:09:22 +0000 (00:09 -0800)]
fix build with older openssl (#25569)

9 years agoIssue #25017: Document that htmllib is superseded by module HTMLParser
Martin Panter [Sat, 14 Nov 2015 00:30:46 +0000 (00:30 +0000)]
Issue #25017: Document that htmllib is superseded by module HTMLParser

9 years agoIssue #25590: Make rlcompleter only call getattr() once per attribute
Martin Panter [Fri, 13 Nov 2015 22:47:00 +0000 (22:47 +0000)]
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.

9 years agoIssue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock()
Victor Stinner [Fri, 13 Nov 2015 08:13:16 +0000 (09:13 +0100)]
Issue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock()

9 years agoSecond instance of deque needing "len" instead of "Py_SIZE" in Py2.7
Raymond Hettinger [Fri, 13 Nov 2015 02:20:21 +0000 (18:20 -0800)]
Second instance of deque needing "len" instead of "Py_SIZE" in Py2.7

9 years agoIndent
Terry Jan Reedy [Thu, 12 Nov 2015 20:24:22 +0000 (15:24 -0500)]
Indent

9 years agoWhitespace
Terry Jan Reedy [Thu, 12 Nov 2015 20:06:02 +0000 (15:06 -0500)]
Whitespace

9 years agoIssue #25313: Change the handling of new built-in text color themes to better
Terry Jan Reedy [Thu, 12 Nov 2015 20:02:50 +0000 (15:02 -0500)]
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.

9 years agoIssue #25607: Restore old distutils logging threshold after running tests that
Serhiy Storchaka [Thu, 12 Nov 2015 17:46:23 +0000 (19:46 +0200)]
Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.

9 years agoDocument the BUILD_SET opcode.
Zachary Ware [Thu, 12 Nov 2015 16:02:06 +0000 (10:02 -0600)]
Document the BUILD_SET opcode.

Reported by Hrvoje Abraham on docs@.

9 years agoDeque uses "len" instead of varhead in Py2.7
Raymond Hettinger [Thu, 12 Nov 2015 15:18:45 +0000 (07:18 -0800)]
Deque uses "len" instead of varhead in Py2.7

9 years agoIssue #22995: Default implementation of __reduce__ and __reduce_ex__ now
Serhiy Storchaka [Thu, 12 Nov 2015 09:59:03 +0000 (11:59 +0200)]
Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
rejects builtin types with not defined __new__.

9 years agoIssue #22995: Backported additional tests for non-pickleable types.
Serhiy Storchaka [Thu, 12 Nov 2015 09:36:42 +0000 (11:36 +0200)]
Issue #22995: Backported additional tests for non-pickleable types.

9 years agoalways set OP_NO_SSLv3 by default (closes #25530)
Benjamin Peterson [Thu, 12 Nov 2015 06:38:41 +0000 (22:38 -0800)]
always set OP_NO_SSLv3 by default (closes #25530)

9 years agofix memory leak in _get_crl_dp (closes #25569)
Benjamin Peterson [Thu, 12 Nov 2015 06:07:38 +0000 (22:07 -0800)]
fix memory leak in _get_crl_dp (closes #25569)

Patch started by Stéphane Wirtel.

9 years agoRewrite re.VERBOSE section.
Zachary Ware [Thu, 12 Nov 2015 05:32:14 +0000 (23:32 -0600)]
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@.

9 years agoIssue #7759: Fixed the mhlib module on filesystems that doesn't support
Serhiy Storchaka [Wed, 11 Nov 2015 15:33:12 +0000 (17:33 +0200)]
Issue #7759: Fixed the mhlib module on filesystems that doesn't support
link counting for directories.

9 years agoIssue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Serhiy Storchaka [Tue, 10 Nov 2015 17:53:37 +0000 (19:53 +0200)]
Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Use time.time instead of time.clock.

9 years agoIssue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
Serhiy Storchaka [Tue, 10 Nov 2015 13:32:54 +0000 (15:32 +0200)]
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.

9 years agoAdded missed periods at the ends of sentences in Misc/NEWS.
Serhiy Storchaka [Mon, 9 Nov 2015 22:31:41 +0000 (00:31 +0200)]
Added missed periods at the ends of sentences in Misc/NEWS.

9 years agoIssue #25582: Fixed 100 MB memory leak in test_ctypes.
Serhiy Storchaka [Mon, 9 Nov 2015 20:31:10 +0000 (22:31 +0200)]
Issue #25582: Fixed 100 MB memory leak in test_ctypes.

9 years agoIssue #7267: format(int, 'c') now raises OverflowError when the argument is not
Victor Stinner [Mon, 9 Nov 2015 11:21:09 +0000 (12:21 +0100)]
Issue #7267: format(int, 'c') now raises OverflowError when the argument is not
in range(0, 256).

9 years agoIssue #892902: Disable newly added tests in test_xpickle.
Serhiy Storchaka [Sat, 7 Nov 2015 18:04:46 +0000 (20:04 +0200)]
Issue #892902: Disable newly added tests in test_xpickle.

9 years agoIssue #892902: Fixed pickling recursive objects.
Serhiy Storchaka [Sat, 7 Nov 2015 09:15:32 +0000 (11:15 +0200)]
Issue #892902: Fixed pickling recursive objects.

9 years agoIssue #18010: Fix pydoc GUI search to handle package exceptions
Martin Panter [Sat, 7 Nov 2015 05:41:47 +0000 (05:41 +0000)]
Issue #18010: Fix pydoc GUI search to handle package exceptions

9 years agoIssue #12612: Add some Valgrind suppressions for 64-bit machines.
doko@ubuntu.com [Thu, 5 Nov 2015 19:41:57 +0000 (20:41 +0100)]
Issue #12612: Add some Valgrind suppressions for 64-bit machines.

9 years agoFix use of default reST role
Zachary Ware [Thu, 5 Nov 2015 16:28:18 +0000 (10:28 -0600)]
Fix use of default reST role

9 years agoremove trailing ws
Benjamin Peterson [Wed, 4 Nov 2015 06:43:31 +0000 (22:43 -0800)]
remove trailing ws

9 years agomerge heads
Benjamin Peterson [Wed, 4 Nov 2015 06:42:08 +0000 (22:42 -0800)]
merge heads

9 years agolink to modern PUG url
Benjamin Peterson [Wed, 4 Nov 2015 06:42:02 +0000 (22:42 -0800)]
link to modern PUG url

9 years agoIssue #25523: Backported a-to-an corrections.
Serhiy Storchaka [Mon, 2 Nov 2015 13:06:09 +0000 (15:06 +0200)]
Issue #25523: Backported a-to-an corrections.

9 years agoIssue #25519: Mark difflib.ndiff as a functions where not already.
Terry Jan Reedy [Fri, 30 Oct 2015 23:41:10 +0000 (19:41 -0400)]
Issue #25519: Mark difflib.ndiff as a functions where not already.

9 years agoIssue #25505: Remove unused buggy method.
Terry Jan Reedy [Fri, 30 Oct 2015 23:25:28 +0000 (19:25 -0400)]
Issue #25505: Remove unused buggy method.

9 years agoIssue #25507: move test-specific imports to test function (idlelib.IOBinding).
Terry Jan Reedy [Fri, 30 Oct 2015 06:47:01 +0000 (02:47 -0400)]
Issue #25507: move test-specific imports to test function (idlelib.IOBinding).

9 years agofix usage of undefined name (#25504)
Benjamin Peterson [Fri, 30 Oct 2015 04:10:57 +0000 (21:10 -0700)]
fix usage of undefined name (#25504)

9 years agoalways use os.urandom for the uuid4 algorithm (closes #25515)
Benjamin Peterson [Fri, 30 Oct 2015 03:38:04 +0000 (20:38 -0700)]
always use os.urandom for the uuid4 algorithm (closes #25515)

9 years agoIssue #21827: Fixed textwrap.dedent() for the case when largest common
Serhiy Storchaka [Wed, 28 Oct 2015 19:39:36 +0000 (21:39 +0200)]
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.

9 years agoIssue #25432: Explain isinstance behaviour when type is a tuple.
Terry Jan Reedy [Wed, 28 Oct 2015 07:14:46 +0000 (03:14 -0400)]
Issue #25432: Explain isinstance behaviour when type is a tuple.

9 years agoDisplay IDLE warning as a warning rather than as an error.
Terry Jan Reedy [Tue, 27 Oct 2015 07:37:55 +0000 (03:37 -0400)]
Display IDLE warning as a warning rather than as an error.
Clarify message and expected action for beginners.

9 years agoIssue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić.
Serhiy Storchaka [Sat, 24 Oct 2015 14:39:36 +0000 (17:39 +0300)]
Issue21160: Correct comments in nturl2path.  Patch by Jurko Gospodnetić.

9 years agoIssue #25461: Rephrase os.walk() doc
Victor Stinner [Fri, 23 Oct 2015 10:42:39 +0000 (12:42 +0200)]
Issue #25461: Rephrase os.walk() doc

Patch written by Bernt Røskar Brenna.

9 years agoIssue21709: Call os.path.normcase when setting _srcfile for compatibility
Gregory P. Smith [Thu, 22 Oct 2015 20:12:20 +0000 (13:12 -0700)]
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...)

9 years agoIssue #21709: Fix the logging module to not depend upon __file__ being set
Gregory P. Smith [Thu, 22 Oct 2015 20:09:50 +0000 (13:09 -0700)]
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.

9 years agoIssue #24782: Limit width of canvas and hence IDLE settings dialog.
Terry Jan Reedy [Thu, 22 Oct 2015 07:27:27 +0000 (03:27 -0400)]
Issue #24782: Limit width of canvas and hence IDLE settings dialog.