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
Terry Jan Reedy
b50d3b2cd3
Issue #21192 : Change 'RUN' back to 'RESTART' when running editor file.
2015-09-02 22:07:31 -04:00
Zachary Ware
a4ce943902
Turn 'rem' comments into a real usage message in PCbuild/build.bat
...
Also fixes quoting to match 3.5+
2015-09-02 13:21:19 -05:00
Raymond Hettinger
9ce9f77983
Improve tutorial suggestion for looping techniques
2015-09-01 02:20:44 -07:00
Martin Panter
6a31bb5cac
Issue #24952 : Clarify default argument of stack_size() in threading, thread
...
Patch from Mattip.
2015-08-31 03:40:59 +00:00
Raymond Hettinger
fe2f2876ce
Make an example a little clearer
2015-08-30 14:48:42 -07:00
Zachary Ware
e0c8e26294
Issue #24962 : Remove space from filename
2015-08-29 22:25:04 -05:00
Zachary Ware
d155d72c1e
Issue #24953 : Include ICC version in sys.version string when bulit with ICC on Windows
2015-08-28 23:52:31 -05:00
Terry Jan Reedy
34eab0785b
Issue #24790 : correct typo noticed by Eric Smith
2015-08-27 13:01:45 -04:00
Terry Jan Reedy
0c416e0e2e
Issue #24790 : Restore unused function.
2015-08-26 23:37:09 -04:00
Terry Jan Reedy
936a6f15c6
Issue #24782 : In Idle extension config dialog, replace tabs with sorted list.
...
Patch by Mark Roseman.
2015-08-26 23:13:16 -04:00
Donald Stufft
9de9b782ca
Update pip to 7.1.2 and setuptools to 18.2
2015-08-24 16:17:13 -04:00
R David Murray
f79aa5870f
#24926 : Fix typo in example.
2015-08-24 12:50:50 -04:00
Robert Collins
d951625f81
Merge 2.7 heads.
2015-08-24 12:10:23 +12:00
Robert Collins
11ac1a8239
Issue #22812 : Fix unittest discovery examples.
...
Patch from Pam McA'Nulty.
2015-08-24 12:06:18 +12:00
Benjamin Peterson
14462d486b
remove tabs from ceval.c ( closes #24895 )
2015-08-19 20:38:39 -07:00
Terry Jan Reedy
864e1a6415
Issue #24790 : Remove extraneous code (which also create 2 & 3 conflicts).
2015-08-18 13:26:45 -04:00