]>
granicus.if.org Git - python/log
Steve Dower [Wed, 23 Sep 2015 00:25:30 +0000 (17:25 -0700)]
Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
Terry Jan Reedy [Tue, 22 Sep 2015 02:42:17 +0000 (22:42 -0400)]
whitespace
Terry Jan Reedy [Tue, 22 Sep 2015 02:36:36 +0000 (22:36 -0400)]
Issue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
Change destination to help.html. Adjust NEWS entries.
Terry Jan Reedy [Mon, 21 Sep 2015 23:28:18 +0000 (19:28 -0400)]
Issue #24861: add Idle news items and correct previous errors.
Terry Jan Reedy [Mon, 21 Sep 2015 05:44:00 +0000 (01:44 -0400)]
Issue #24861: Add docstring to idlelib.__init__ with 'private' warning.
Terry Jan Reedy [Mon, 21 Sep 2015 05:07:54 +0000 (01:07 -0400)]
Move items from NEWS to idlelib/NEWS.txt. Standardize headers spacing: 2 lines
above "What's New and 0 lines above "Release date". Remove most old headers
for non-final releases (they currently do not get carried forward.
Berker Peksag [Mon, 21 Sep 2015 04:15:52 +0000 (07:15 +0300)]
Issue #23484: Document differences between synchronization primitives of
threading and multiprocessing modules.
In multiprocessing, the name of the first parameter of the acquire methods is
"block", but "blocking" in threading.
This commit also improves documentation of Lock and RLock.
Patch by Davin Potts.
Terry Jan Reedy [Mon, 21 Sep 2015 03:21:17 +0000 (23:21 -0400)]
Add NEWS items for Idle.
Terry Jan Reedy [Mon, 21 Sep 2015 03:05:21 +0000 (23:05 -0400)]
Issue #16893: finish deprecation.
Terry Jan Reedy [Mon, 21 Sep 2015 02:55:17 +0000 (22:55 -0400)]
Issue #25199: Idle: add synchronization comments for future maintainers.
Terry Jan Reedy [Mon, 21 Sep 2015 00:05:51 +0000 (20:05 -0400)]
Issue #16893: whitespace in help.py.
Terry Jan Reedy [Mon, 21 Sep 2015 00:02:23 +0000 (20:02 -0400)]
Issue #16893: whitespace in idle.html.
Terry Jan Reedy [Sun, 20 Sep 2015 23:56:54 +0000 (19:56 -0400)]
Issue #16893: include new files
Terry Jan Reedy [Sun, 20 Sep 2015 23:55:44 +0000 (19:55 -0400)]
Issue #16893: Replace help.txt with idle.html for Idle doc display.
The new idlelib/idle.html is copied from Doc/build/html/idle.html.
It looks better than help.txt and will better document Idle as released.
The tkinter html viewer that works for this file was written by Rose Roseman.
The new code is in idlelib/help.py, a new file for help menu classes.
The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
Benjamin Peterson [Sun, 20 Sep 2015 18:16:45 +0000 (23:16 +0500)]
use a more modern UA (#25145)
Benjamin Peterson [Sun, 20 Sep 2015 18:17:41 +0000 (23:17 +0500)]
remove reference to PyGoogle (#25145)
Patch by Bar Harel.
Terry Jan Reedy [Sun, 20 Sep 2015 06:33:57 +0000 (02:33 -0400)]
Issue #24199: Add stacklevel to deprecation warning call.
Serhiy Storchaka [Sun, 20 Sep 2015 05:38:40 +0000 (08:38 +0300)]
Issue #25108: Fixed test_traceback in the case when this test is run twice.
In this case __file__ is the name of precompiled file (*.py[co]).
Serhiy Storchaka [Sat, 19 Sep 2015 07:55:20 +0000 (10:55 +0300)]
Issue #25101: Try to create a file to test write access in test_zipfile.
Brett Cannon [Fri, 18 Sep 2015 22:11:26 +0000 (15:11 -0700)]
Give proper credit for issue #24915
Brett Cannon [Fri, 18 Sep 2015 22:09:42 +0000 (15:09 -0700)]
Issue #24915: Make PGO builds support Clang and use the test suite for
profile data.
Thanks to Alecsandru Patrascu of Intel for the initial patch.
Serhiy Storchaka [Fri, 18 Sep 2015 07:09:29 +0000 (10:09 +0300)]
Issue #25108: Backported tests for traceback functions print_stack(),
format_stack(), and extract_stack() called without arguments.
Ethan Furman [Fri, 18 Sep 2015 05:19:48 +0000 (22:19 -0700)]
Issue24756: clarify usage of run_docstring_examples()
Victor Stinner [Mon, 14 Sep 2015 22:19:47 +0000 (00:19 +0200)]
test_gdb: fix regex to parse the GDB version
Fix the regex to support the version 7.10: minor version with two digits
Benjamin Peterson [Sun, 13 Sep 2015 00:20:47 +0000 (17:20 -0700)]
fix name of argument in docstring and the docs (closes #25076)
Patch by TAKASE Arihiro.
Serhiy Storchaka [Sat, 12 Sep 2015 14:47:12 +0000 (17:47 +0300)]
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
Martin Panter [Sat, 12 Sep 2015 00:34:28 +0000 (00:34 +0000)]
Issue #16473: Fix byte transform codec documentation; test quotetabs=True
This changes the equivalent functions listed for the Base-64, hex and Quoted-
Printable codecs to reflect the functions actually used. Also mention and
test the "quotetabs" setting for Quoted-Printable encoding.
Martin Panter [Sat, 12 Sep 2015 02:20:06 +0000 (02:20 +0000)]
Remove and enable misplaced codecs tests ported from Python 3
Most of these tests are about blacklisted non-text codecs, which are not
relevant in Python 2. The only one remaining is TransformCodecTest.test_uu_
invalid().
Zachary Ware [Fri, 11 Sep 2015 15:51:47 +0000 (10:51 -0500)]
Fix grammatical error in csv docs.
Reported by Nat Dunn on docs@
Victor Stinner [Fri, 11 Sep 2015 10:42:13 +0000 (12:42 +0200)]
Issue #24684: socket.socket.getaddrinfo() now calls
PyUnicode_AsEncodedString() instead of calling the encode() method of the
host, to handle correctly custom unicode string with an encode() method which
doesn't return a byte string. The encoder of the IDNA codec is now called
directly instead of calling the encode() method of the string.
Martin Panter [Fri, 11 Sep 2015 03:58:30 +0000 (03:58 +0000)]
Issue #25030: Do not document seek() as if it accepts keyword arguments
Patch from Shiyao Ma.
Martin Panter [Fri, 11 Sep 2015 02:45:10 +0000 (02:45 +0000)]
Issue #25022: Avoid warning about unused suspicious rule
Zachary Ware [Thu, 10 Sep 2015 20:50:58 +0000 (15:50 -0500)]
Issue #25022: Add NEWS, fix docs to not mention the old example.
Zachary Ware [Thu, 10 Sep 2015 19:37:42 +0000 (14:37 -0500)]
Issue #25022: Remove PC/example_nt/
It was very much outdated, and the topic is better covered elsewhere.
Guido van Rossum [Thu, 10 Sep 2015 19:11:17 +0000 (12:11 -0700)]
Add the original author of profile.py back to the docs, at his request.
Serhiy Storchaka [Wed, 9 Sep 2015 09:18:36 +0000 (12:18 +0300)]
Don't encode unicode dirname in test_support.temp_cwd() if unicode file names
are supported by the filesystem. On Windows the encoding can convert some
characters to '?' that is not legal in file name.
Terry Jan Reedy [Wed, 9 Sep 2015 06:10:10 +0000 (02:10 -0400)]
Issue 24199: Deprecate idlelib.idlever with a warning on import.
Serhiy Storchaka [Tue, 8 Sep 2015 06:59:02 +0000 (09:59 +0300)]
Fixed tests for shutil.make_archive() with relative base_name in the case when
the path of the directory for temporary files contains symlinks.
Zachary Ware [Tue, 8 Sep 2015 06:04:01 +0000 (01:04 -0500)]
Update PCbuild/readme.txt
It now better matches 3.5+ and the new reality of 2.7's PCbuild dir.
Serhiy Storchaka [Tue, 8 Sep 2015 02:47:01 +0000 (05:47 +0300)]
Issue #24982: shutil.make_archive() with the "zip" format now adds entries
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
Serhiy Storchaka [Mon, 7 Sep 2015 19:42:12 +0000 (22:42 +0300)]
Backported new tests for attribute setting of expat parser.
Serhiy Storchaka [Mon, 7 Sep 2015 16:58:23 +0000 (19:58 +0300)]
Issue #25018: Fixed testing shutil.make_archive() with relative base_name on
Windows. The test now makes sense on non-Windows. Added similar test for
zip format.
Serhiy Storchaka [Mon, 7 Sep 2015 10:55:25 +0000 (13:55 +0300)]
Explicitly test archive name in shutil.make_archive() tests to expose failure
details in issue25018.
Terry Jan Reedy [Mon, 7 Sep 2015 05:58:05 +0000 (01:58 -0400)]
Issue #24889: When starting Idle, force focus onto Idle window if not already
there (as when opening Idle from interactive Python on Windows).
Martin Panter [Mon, 7 Sep 2015 01:40:33 +0000 (01:40 +0000)]
Issue #23406: Clarify documentation on multiplying a sequence
Patch from Matheus Vieira Portela.
Martin Panter [Mon, 7 Sep 2015 01:18:47 +0000 (01:18 +0000)]
Issue #17849: Raise sensible exception for invalid HTTP tunnel response
Initial patch from Cory Benfield.
Serhiy Storchaka [Sun, 6 Sep 2015 15:31:23 +0000 (18:31 +0300)]
Fix, refactor and extend tests for shutil.make_archive().
Serhiy Storchaka [Sun, 6 Sep 2015 11:16:18 +0000 (14:16 +0300)]
Backport support.change_cwd() and use it in tests.
Terry Jan Reedy [Sat, 5 Sep 2015 23:13:17 +0000 (19:13 -0400)]
Issue #16180: Exit pdb if file has syntax error, instead of trapping user
in an infinite loop. Patch by Xavier de Gaye.
R David Murray [Fri, 4 Sep 2015 14:00:22 +0000 (10:00 -0400)]
#24998: fix cut and paste error in subprocess example.
Terry Jan Reedy [Fri, 4 Sep 2015 08:37:02 +0000 (04:37 -0400)]
Issue #24745: Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily.
Zachary Ware [Fri, 4 Sep 2015 06:08:07 +0000 (01:08 -0500)]
Issue #24986: Save some bandwidth from svn.python.org
Don't download sources that won't be used.
Zachary Ware [Fri, 4 Sep 2015 04:27:05 +0000 (23:27 -0500)]
Issue #24986: Allow building Python without external libraries on Windows
This modifies the behavior of the '-e' flag to PCbuild\build.bat: when '-e'
is not supplied, no attempt will be made to build extension modules that
require external libraries, even if the external libraries are present.
Also adds '--no-<module>' flags to PCbuild\build.bat, where '<module>' is
one of 'ssl', 'tkinter', or 'bsddb', to allow skipping just those modules
(if '-e' is given).
Zachary Ware [Fri, 4 Sep 2015 04:37:18 +0000 (23:37 -0500)]
Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.
This makes it possible to pass more than 7 tests by name through
Tools\buildbot\test.bat
Senthil Kumaran [Thu, 3 Sep 2015 09:50:51 +0000 (02:50 -0700)]
merge heads.
Senthil Kumaran [Thu, 3 Sep 2015 09:39:57 +0000 (02:39 -0700)]
Remove unused imports in test_wsgiref.py
Victor Stinner [Thu, 3 Sep 2015 08:46:17 +0000 (10:46 +0200)]
Issue #23375: Fix test_py3kwarn for modules implemented in C
Don't check if importing a module emits a DeprecationWarning if the module is
implemented in C and the module is already loaded.
Victor Stinner [Thu, 3 Sep 2015 08:17:28 +0000 (10:17 +0200)]
python-gdb.py: enhance py-bt command
* Add py-bt-full command
* py-bt now gives an output similar to a regular Python traceback
* py-bt indicates:
- if the garbage collector is running
- if the thread is waiting for the GIL
- detect PyCFunction_Call to get the name of the builtin function
Victor Stinner [Thu, 3 Sep 2015 07:51:59 +0000 (09:51 +0200)]
test_gdb: enhance regex used to parse the GDB version
Terry Jan Reedy [Thu, 3 Sep 2015 02:07:31 +0000 (22:07 -0400)]
Issue #21192: Change 'RUN' back to 'RESTART' when running editor file.
Zachary Ware [Wed, 2 Sep 2015 18:21:19 +0000 (13:21 -0500)]
Turn 'rem' comments into a real usage message in PCbuild/build.bat
Also fixes quoting to match 3.5+
Raymond Hettinger [Tue, 1 Sep 2015 09:20:44 +0000 (02:20 -0700)]
Improve tutorial suggestion for looping techniques
Martin Panter [Mon, 31 Aug 2015 03:40:59 +0000 (03:40 +0000)]
Issue #24952: Clarify default argument of stack_size() in threading, thread
Patch from Mattip.
Raymond Hettinger [Sun, 30 Aug 2015 21:48:42 +0000 (14:48 -0700)]
Make an example a little clearer
Zachary Ware [Sun, 30 Aug 2015 03:25:04 +0000 (22:25 -0500)]
Issue #24962: Remove space from filename
Zachary Ware [Sat, 29 Aug 2015 04:52:31 +0000 (23:52 -0500)]
Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
Terry Jan Reedy [Thu, 27 Aug 2015 17:01:45 +0000 (13:01 -0400)]
Issue #24790: correct typo noticed by Eric Smith
Terry Jan Reedy [Thu, 27 Aug 2015 03:37:09 +0000 (23:37 -0400)]
Issue #24790: Restore unused function.
Terry Jan Reedy [Thu, 27 Aug 2015 03:13:16 +0000 (23:13 -0400)]
Issue #24782: In Idle extension config dialog, replace tabs with sorted list.
Patch by Mark Roseman.
Donald Stufft [Mon, 24 Aug 2015 20:17:13 +0000 (16:17 -0400)]
Update pip to 7.1.2 and setuptools to 18.2
R David Murray [Mon, 24 Aug 2015 16:50:50 +0000 (12:50 -0400)]
#24926: Fix typo in example.
Robert Collins [Mon, 24 Aug 2015 00:10:23 +0000 (12:10 +1200)]
Merge 2.7 heads.
Robert Collins [Mon, 24 Aug 2015 00:06:18 +0000 (12:06 +1200)]
Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
Benjamin Peterson [Thu, 20 Aug 2015 03:38:39 +0000 (20:38 -0700)]
remove tabs from ceval.c (closes #24895)
Terry Jan Reedy [Tue, 18 Aug 2015 17:26:45 +0000 (13:26 -0400)]
Issue #24790: Remove extraneous code (which also create 2 & 3 conflicts).
Ned Deily [Tue, 18 Aug 2015 02:10:47 +0000 (22:10 -0400)]
Issue #24079: Improve description of the text and tail attributes for
ElementTree Element objects. Initial patch by Martin Panter.
Terry Jan Reedy [Mon, 17 Aug 2015 03:22:32 +0000 (23:22 -0400)]
Entries for idlelib/NEWS.txt
Terry Jan Reedy [Mon, 17 Aug 2015 02:11:43 +0000 (22:11 -0400)]
Idle NEWS entries.
Terry Jan Reedy [Mon, 17 Aug 2015 01:54:35 +0000 (21:54 -0400)]
Issue #23672: ACKS
Terry Jan Reedy [Fri, 14 Aug 2015 20:59:36 +0000 (16:59 -0400)]
Issue #24833: Add attribute reference needed for 3.x, but optional for 2.7,
to keep synchronized.
Benjamin Peterson [Fri, 14 Aug 2015 04:52:56 +0000 (21:52 -0700)]
add missing NULL checks to get_coding_spec (closes #24854)
R David Murray [Thu, 13 Aug 2015 13:48:35 +0000 (09:48 -0400)]
#21167: Fix definition of NAN when ICC used without -fp-model strict.
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
Serhiy Storchaka [Sun, 9 Aug 2015 10:07:06 +0000 (13:07 +0300)]
Fixed doubled spaces in Misc/NEWS.
Zachary Ware [Sun, 9 Aug 2015 03:01:20 +0000 (22:01 -0500)]
Issue #24751: Fix running regrtest with '-w' flag in case of test failures.
Also fixes reporting of tests that change environment when there are no test
failures.
Robert Collins [Thu, 6 Aug 2015 09:08:44 +0000 (21:08 +1200)]
Issue #24531: Document that encoding lines cannot follow non-comment lines.
Patch from Terry Reedy
Zachary Ware [Wed, 5 Aug 2015 02:53:21 +0000 (21:53 -0500)]
Issue #24751: When running regrtest with '-w', don't fail if re-run succeeds.
Gregory P. Smith [Tue, 4 Aug 2015 23:29:00 +0000 (16:29 -0700)]
Don't left shift negative values. Use an unsigned value instead to avoid
undefined behavior.
Robert Collins [Tue, 4 Aug 2015 20:16:41 +0000 (08:16 +1200)]
Issue #20769: Improve reload() docs. Patch by Dorian Pula.
Terry Jan Reedy [Mon, 3 Aug 2015 22:34:07 +0000 (18:34 -0400)]
Issue #24759: Revert
8203fc75b3d2 .
Benjamin Peterson [Sun, 2 Aug 2015 19:15:30 +0000 (12:15 -0700)]
include fcntl.h on all *nix platforms (closes #24217)
Patch by Jeffrey Armstrong.
Serhiy Storchaka [Sun, 2 Aug 2015 12:19:04 +0000 (15:19 +0300)]
Issue #20557: Use specific asserts in io tests.
Zachary Ware [Sun, 2 Aug 2015 02:30:11 +0000 (21:30 -0500)]
Issue #23652: Make the select module compile against LSB headers.
Initial patch by Matt Frank.
Terry Jan Reedy [Sat, 1 Aug 2015 23:15:37 +0000 (19:15 -0400)]
Issue 24745: Add ACKS entry.
Terry Jan Reedy [Sat, 1 Aug 2015 22:57:27 +0000 (18:57 -0400)]
Issue 24745: Switch from Courier to platform-sensitive TkFixedFont as default
editor font. This should not affect current customized font selections.
Patch by Mark Roseman.
Terry Jan Reedy [Sat, 1 Aug 2015 20:32:27 +0000 (16:32 -0400)]
Issue #21192: acks for 2.7
Terry Jan Reedy [Sat, 1 Aug 2015 02:34:31 +0000 (22:34 -0400)]
Issue #21192: Idle Editor. When a file is run, put its name in the restart bar.
Do not print false prompts. Original patch by Adnan Umer.
Terry Jan Reedy [Fri, 31 Jul 2015 01:16:09 +0000 (21:16 -0400)]
Issue 24759: Gracefull exit Idle if ttk import fails.
Terry Jan Reedy [Thu, 30 Jul 2015 20:44:09 +0000 (16:44 -0400)]
Issue #13884: Idle: Remove tearoff lines from menus. Patch by Roger Serwy.
Berker Peksag [Thu, 30 Jul 2015 20:27:13 +0000 (23:27 +0300)]
Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.
It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().
Patch by Nick Weinhold.
Guido van Rossum [Thu, 30 Jul 2015 14:50:25 +0000 (16:50 +0200)]
Issue #15138: Speed up base64.urlsafe_b64* considerably (2.7 backport).