Commit Graph

79258 Commits

Author SHA1 Message Date
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
Serhiy Storchaka 7c7b4b5d86 Backport support.change_cwd() and use it in tests. 2015-09-06 14:16:18 +03:00
Terry Jan Reedy 23ae488f23 Issue #16180: Exit pdb if file has syntax error, instead of trapping user
in an infinite loop.  Patch by Xavier de Gaye.
2015-09-05 19:13:17 -04:00
R David Murray bda9bd1d1c #24998: fix cut and paste error in subprocess example. 2015-09-04 10:00:22 -04:00
Terry Jan Reedy 99c1a6d5f1 Issue #24745: Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily. 2015-09-04 04:37:02 -04:00
Zachary Ware eb49ccfdb7 Issue #24986: Save some bandwidth from svn.python.org
Don't download sources that won't be used.
2015-09-04 01:08:07 -05:00
Zachary Ware 1db43f98d5 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).
2015-09-03 23:27:05 -05:00
Zachary Ware 7ab6cb44e4 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
2015-09-03 23:37:18 -05:00
Senthil Kumaran c97e18ec64 merge heads. 2015-09-03 02:50:51 -07:00
Senthil Kumaran f30e078752 Remove unused imports in test_wsgiref.py 2015-09-03 02:39:57 -07:00
Victor Stinner ccd62705b1 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.
2015-09-03 10:46:17 +02:00
Victor Stinner cc1db4bf85 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
2015-09-03 10:17:28 +02:00
Victor Stinner 3c5ce404a0 test_gdb: enhance regex used to parse the GDB version 2015-09-03 09:51:59 +02:00