Commit Graph

79270 Commits

Author SHA1 Message Date
Terry Jan Reedy b60d103de7 whitespace 2015-09-22 21:13:09 -04:00
Terry Jan Reedy ca33d56f00 Issue #24570: Right-click for context menus now work on Mac Aqual also.
Patch by Mark Roseman.
2015-09-22 21:10:22 -04:00
Steve Dower e20c2a6af4 Handle calls to win32_ver from non-Windows platform 2015-09-22 17:35:24 -07:00
Steve Dower 044cde52f8 Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims. 2015-09-22 17:25:30 -07:00
Terry Jan Reedy 1234fd912d whitespace 2015-09-21 22:42:17 -04:00
Terry Jan Reedy 13b21f8889 Issue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
Change destination to help.html.  Adjust NEWS entries.
2015-09-21 22:36:36 -04:00
Terry Jan Reedy 4dd7887710 Issue #24861: add Idle news items and correct previous errors. 2015-09-21 19:28:18 -04:00
Terry Jan Reedy 79157aea06 Issue #24861: Add docstring to idlelib.__init__ with 'private' warning. 2015-09-21 01:44:00 -04:00
Terry Jan Reedy 1d2ce974a6 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.
2015-09-21 01:07:54 -04:00
Berker Peksag 0612ae52a0 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.
2015-09-21 07:15:52 +03:00
Terry Jan Reedy 0eb8f01904 Add NEWS items for Idle. 2015-09-20 23:21:17 -04:00
Terry Jan Reedy 8b7122cdbb Issue #16893: finish deprecation. 2015-09-20 23:05:21 -04:00
Terry Jan Reedy 36443f1950 Issue #25199: Idle: add synchronization comments for future maintainers. 2015-09-20 22:55:17 -04:00
Terry Jan Reedy 37ad79615f Issue #16893: whitespace in help.py. 2015-09-20 20:05:51 -04:00
Terry Jan Reedy 72895c1444 Issue #16893: whitespace in idle.html. 2015-09-20 20:02:23 -04:00
Terry Jan Reedy a2f257b583 Issue #16893: include new files 2015-09-20 19:56:54 -04:00
Terry Jan Reedy 70e763c0d8 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.
2015-09-20 19:55:44 -04:00
Benjamin Peterson 1b822d0e2f use a more modern UA (#25145) 2015-09-20 23:16:45 +05:00
Benjamin Peterson c717e08720 remove reference to PyGoogle (#25145)
Patch by Bar Harel.
2015-09-20 23:17:41 +05:00
Terry Jan Reedy edc041d826 Issue #24199: Add stacklevel to deprecation warning call. 2015-09-20 02:33:57 -04:00
Serhiy Storchaka 63550ee1a2 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]).
2015-09-20 08:38:40 +03:00
Serhiy Storchaka 90f5f5151c Issue #25101: Try to create a file to test write access in test_zipfile. 2015-09-19 10:55:20 +03:00
Brett Cannon ab54ca7c4f Give proper credit for issue #24915 2015-09-18 15:11:26 -07:00
Brett Cannon 4ff151a72a 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.
2015-09-18 15:09:42 -07:00
Serhiy Storchaka 62f0ffa861 Issue #25108: Backported tests for traceback functions print_stack(),
format_stack(), and extract_stack() called without arguments.
2015-09-18 10:09:29 +03:00
Ethan Furman b85154fa37 Issue24756: clarify usage of run_docstring_examples() 2015-09-17 22:19:48 -07:00
Victor Stinner df11d7c2b4 test_gdb: fix regex to parse the GDB version
Fix the regex to support the version 7.10: minor version with two digits
2015-09-15 00:19:47 +02:00
Benjamin Peterson 061653091e fix name of argument in docstring and the docs (closes #25076)
Patch by TAKASE Arihiro.
2015-09-12 17:20:47 -07:00
Serhiy Storchaka 9b2e37f688 Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:47:12 +03:00
Martin Panter b2528c92f1 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.
2015-09-12 00:34:28 +00:00
Martin Panter 90bc71f5b1 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().
2015-09-12 02:20:06 +00:00
Zachary Ware d0384044ee Fix grammatical error in csv docs.
Reported by Nat Dunn on docs@
2015-09-11 10:51:47 -05:00
Victor Stinner 9a2326b362 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.
2015-09-11 12:42:13 +02:00
Martin Panter 6f80464f4a Issue #25030: Do not document seek() as if it accepts keyword arguments
Patch from Shiyao Ma.
2015-09-11 03:58:30 +00:00
Martin Panter 397c2103f7 Issue #25022: Avoid warning about unused suspicious rule 2015-09-11 02:45:10 +00:00
Zachary Ware 677688be22 Issue #25022: Add NEWS, fix docs to not mention the old example. 2015-09-10 15:50:58 -05:00
Zachary Ware 5eaf58bfb4 Issue #25022: Remove PC/example_nt/
It was very much outdated, and the topic is better covered elsewhere.
2015-09-10 14:37:42 -05:00
Guido van Rossum d076454bd3 Add the original author of profile.py back to the docs, at his request. 2015-09-10 12:11:17 -07:00
Serhiy Storchaka f29ab72162 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.
2015-09-09 12:18:36 +03:00
Terry Jan Reedy e1d38b08b0 Issue 24199: Deprecate idlelib.idlever with a warning on import. 2015-09-09 02:10:10 -04:00
Serhiy Storchaka 672237e887 Fixed tests for shutil.make_archive() with relative base_name in the case when
the path of the directory for temporary files contains symlinks.
2015-09-08 09:59:02 +03:00
Zachary Ware bc071655e8 Update PCbuild/readme.txt
It now better matches 3.5+ and the new reality of 2.7's PCbuild dir.
2015-09-08 01:04:01 -05:00
Serhiy Storchaka fe45f65187 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.
2015-09-08 05:47:01 +03:00
Serhiy Storchaka f3bdc1082f Backported new tests for attribute setting of expat parser. 2015-09-07 22:42:12 +03:00
Serhiy Storchaka ad7b0cda8a 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.
2015-09-07 19:58:23 +03:00
Serhiy Storchaka 0ecf462b8e Explicitly test archive name in shutil.make_archive() tests to expose failure
details in issue25018.
2015-09-07 13:55:25 +03:00
Terry Jan Reedy baf9ef960c Issue #24889: When starting Idle, force focus onto Idle window if not already
there (as when opening Idle from interactive Python on Windows).
2015-09-07 01:58:05 -04:00
Martin Panter 0ed1bcdff8 Issue #23406: Clarify documentation on multiplying a sequence
Patch from Matheus Vieira Portela.
2015-09-07 01:40:33 +00:00
Martin Panter b75a0e9f32 Issue #17849: Raise sensible exception for invalid HTTP tunnel response
Initial patch from Cory Benfield.
2015-09-07 01:18:47 +00:00
Serhiy Storchaka 04861dc82f Fix, refactor and extend tests for shutil.make_archive(). 2015-09-06 18:31:23 +03:00