Commit Graph

77878 Commits

Author SHA1 Message Date
Antoine Pitrou c7692805f7 Close #16665: improve documentation for hex(). Patch by Jessica McKellar. 2014-03-16 02:12:20 +01:00
Benjamin Peterson e530f26864 send people to the right editors page (#20938) 2014-03-15 15:23:32 -05:00
Ned Deily a146df8dd6 Issue #20939: Fix test_geturl failure in test_urllibnet due to
new redirect of http://www.python.org/ to https://www.python.org.
2014-03-15 13:14:15 -07:00
Benjamin Peterson fbe50672c1 remove runtime_library_dirs for _sqlite; it isn't needed 2014-03-15 12:29:04 -05:00
Éric Araujo 01111e85b8 Clarify distutils’ clean command (ref #6142) 2014-03-13 16:17:11 -04:00
Jesus Cea 8f606a0d4f Closes #20908: Memory leak in Reg2Py() 2014-03-13 17:33:43 +01:00
Benjamin Peterson 4c874ef4a5 weaken callback count inequality (closes #20901) 2014-03-12 21:51:52 -05:00
Benjamin Peterson 944996ff20 remove unnecessary word (closes #19060)
Patch by Anastasia Filatova.
2014-03-12 21:41:35 -05:00
Éric Araujo 31fe52dc9e Make distutils error messages more helpful (#11599).
When running external programs such as a C compiler and getting an
error code, distutils only prints the program name.  With this change,
one can get the full command line by setting the DISTUTILS_DEBUG
environment variable.

This should have no compatibility issues, unless there are tools
that depend on the exact format of distutils debug messages.
2014-03-12 22:19:39 -04:00
Éric Araujo 69d096597d Fix note markup (#16805).
Patch by Tshepang Lekhonkhobe, reviewed by Georg Brandl.
2014-03-12 19:35:54 -04:00
Benjamin Peterson ae80f450a6 use ssl.PROTOCOL_SSLv23 for maximum compatibility (closes #20896) 2014-03-12 18:05:53 -05:00
Benjamin Peterson 4bb5d7832a add Sean Rodman 2014-03-12 15:08:43 -05:00
Éric Araujo 00ee494603 Fix missing import in bdist_rpm (#18045) 2014-03-12 05:01:25 -04:00
Éric Araujo b5099031dd Restore missing part of error message (#4931) 2014-03-12 03:19:33 -04:00
Éric Araujo 3d1134e395 Avoid “error: None” messages from distutils (#4931).
Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
2014-03-12 03:14:48 -04:00
Éric Araujo fd0c2f5711 Define what “updating” means in docs for open (#19627).
Original patch by Lina Clark.
2014-03-12 02:16:37 -04:00
R David Murray 8de21188ae #20030: doc that TestLoader.discover returns a TestSuite.
Patch by Lita Cho.
2014-03-11 18:12:25 -04:00
Benjamin Peterson 841da4ed22 sync pyporting howto from python 3 docs 2014-03-11 14:28:37 -05:00
Georg Brandl 6d07641fce #13530: port to 2.7 branch (document what os.lseek returns). 2014-03-11 10:28:56 +01:00
Georg Brandl 418b1eab91 Closes #20090: update Doc/README and the error message in sphinx-build.py to make
it clear that any Python 3.x is not usable with the checked out Sphinx.
2014-03-10 19:26:57 +01:00
Benjamin Peterson 84f323eae7 note that future_builtin's map is not quite like python 3's (closes #19363)
Patch by Gareth Rees.
2014-03-09 14:01:09 -05:00
Georg Brandl 3bca761ae8 merge 2014-03-09 10:23:24 +01:00
Raymond Hettinger 4c150e0bd2 Improve the default seeding in random module to use 32 bytes of entropy when available. 2014-03-08 09:56:08 -08:00
Serhiy Storchaka e50fe4c9eb Issue #20283: RE pattern methods now accept the string keyword parameters
as documented.  The pattern and source keyword parameters are left as
deprecated aliases.
2014-03-06 12:24:29 +02:00
Terry Jan Reedy 09f4f253b5 Issue #15618: Make turtle.py itself work when run from a module with
from __future__ import unicode_literals.  Initial patch by Juancarlo Añez.

The demos at the end of turtle.py appear to be the only test, so I changed
some of the strings to unicode with a u prefix.  If os.path.isfile or the Tk
image function have problems with Unicode input, that would be different issue.
2014-03-05 23:15:57 -05:00
Serhiy Storchaka fd48a56b27 Correct and improve comments in test_fileinput (closes #20501).
Thanks Vajrasky Kok and Zachary Ware.
2014-03-03 21:16:27 +02:00
Benjamin Peterson 695870a5c1 add Chris Angelico 2014-03-01 19:16:12 -05:00
Benjamin Peterson bde1cfb0cd fix test_posix.test_initgroups to work without supplemental groups (closes #20249) 2014-03-01 19:14:12 -05:00
Terry Jan Reedy 44fad467b9 Issue #20567: Delete class attribute gui widgets in idle tests.
Code patch by Serhiy Storchaka
2014-02-27 18:47:23 -05:00
Serhiy Storchaka 68b8a94c91 Issue #20501: fileinput module no longer reads whole file into memory when using
fileinput.hook_encoded.
2014-02-26 20:59:08 +02:00
R David Murray 17a4322d09 #20628: wrap lines to < 80. 2014-02-24 15:36:45 -05:00
R David Murray d2b5b316ab #20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
Patch by Sean Rodman.
2014-02-24 15:35:19 -05:00
Georg Brandl 3cb99f3911 Closes #20735: remove erroneous deprecated marker from stringprep docs 2014-02-24 09:26:53 +01:00
Terry Jan Reedy bd7cf3ade3 Issue #9974: When untokenizing, use row info to insert backslash+newline.
Original patches by A. Kuchling and G. Rees (#12691).
2014-02-23 23:32:59 -05:00
Antoine Pitrou e0a03d6e2e Restore title style 2014-02-24 00:41:14 +01:00
Antoine Pitrou aa73ea0408 Issue #20743: Fix a reference leak in test_tcl. 2014-02-23 19:39:06 +01:00
Benjamin Peterson 82c25876ba use sphinx from its own virtualenv (closes #20693) 2014-02-22 01:32:50 -05:00
Benjamin Peterson 0b1faeab6f update logo url (#20695) 2014-02-19 22:51:08 -05:00
Serhiy Storchaka 2ac9d31108 Issue #6815: os.path.expandvars() now supports non-ASCII Unicode environment
variables names and values.
2014-02-19 23:27:37 +02:00
Zachary Ware c77d4ba85b Issue #20510: Confirm that the code attribute of the SystemExit
exception raised by sys.exit is None when no code is given.

As suggested by Serhiy Storchaka.
2014-02-19 10:43:13 -06:00
Serhiy Storchaka 3e0cb09e33 Fixed grid_columnconfigure() and grid_rowconfigure() methods of
Tkinter widgets to work in wantobjects=True mode.
2014-02-19 18:33:30 +02:00
Zachary Ware dd091d7531 Issue #20510: Rewrote test_exit in test_sys to match existing comments
and to modernize.  Initial patch by Gareth Rees.
2014-02-18 08:36:14 -06:00
Terry Jan Reedy 8ab7cba924 whitespace 2014-02-17 23:16:26 -05:00
Terry Jan Reedy 6858f00dab Issue #8478: Untokenizer.compat now processes first token from iterator input.
Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
2014-02-17 23:12:07 -05:00
Terry Jan Reedy 7751a34400 Untokenize: An logically incorrect assert tested user input validity.
Replace it with correct logic that raises ValueError for bad input.
Issues #8478 and #12691 reported the incorrect logic.
Add an Untokenize test case and an initial test method.
2014-02-17 16:45:38 -05:00
Benjamin Peterson 5503579db6 backout 369bf9fbaeff 2014-02-16 14:51:17 -05:00
Benjamin Peterson f387e96768 remove tests for #19081 2014-02-16 14:48:26 -05:00
Benjamin Peterson 384e9cb3a1 finish backing out #19081 2014-02-16 14:46:57 -05:00
Benjamin Peterson e9aab0fb98 backout #19081 to fix #20621 2014-02-16 14:20:14 -05:00
Benjamin Peterson 33b8219aa6 add missing test assertion (closes #20080)
Patch by Vajrasky Kok.
2014-02-15 13:19:59 -05:00