Commit Graph

79128 Commits

Author SHA1 Message Date
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
Ned Deily c9a5a19e81 Issue #24079: Improve description of the text and tail attributes for
ElementTree Element objects.  Initial patch by Martin Panter.
2015-08-17 22:10:47 -04:00
Terry Jan Reedy ea4287651c Entries for idlelib/NEWS.txt 2015-08-16 23:22:32 -04:00
Terry Jan Reedy 5fa59bd250 Idle NEWS entries. 2015-08-16 22:11:43 -04:00
Terry Jan Reedy b4bdbe9496 Issue #23672: ACKS 2015-08-16 21:54:35 -04:00
Terry Jan Reedy 87da49888e Issue #24833: Add attribute reference needed for 3.x, but optional for 2.7,
to keep synchronized.
2015-08-14 16:59:36 -04:00
Benjamin Peterson 223546d55c add missing NULL checks to get_coding_spec (closes #24854) 2015-08-13 21:52:56 -07:00
R David Murray 9168d069bf #21167: Fix definition of NAN when ICC used without -fp-model strict.
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
2015-08-13 09:48:35 -04:00
Serhiy Storchaka 16870748ce Fixed doubled spaces in Misc/NEWS. 2015-08-09 13:07:06 +03:00
Zachary Ware ce698f3aa2 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.
2015-08-08 22:01:20 -05:00
Robert Collins 311c8d63e5 Issue #24531: Document that encoding lines cannot follow non-comment lines.
Patch from Terry Reedy
2015-08-06 21:08:44 +12:00
Zachary Ware a4777f1bef Issue #24751: When running regrtest with '-w', don't fail if re-run succeeds. 2015-08-04 21:53:21 -05:00
Gregory P. Smith 0a8572800b Don't left shift negative values. Use an unsigned value instead to avoid
undefined behavior.
2015-08-04 16:29:00 -07:00
Robert Collins 937f2f70f5 Issue #20769: Improve reload() docs. Patch by Dorian Pula. 2015-08-05 08:16:41 +12:00
Terry Jan Reedy 1d8b7be333 Issue #24759: Revert 8203fc75b3d2. 2015-08-03 18:34:07 -04:00