Commit Graph

50265 Commits

Author SHA1 Message Date
Jason R. Coombs 2b492032f2 Issue #13540: Update references to Action class to match syntax used for other classes in this file. 2014-08-03 14:54:11 -04:00
Jason R. Coombs 69cd346387 Issue #13540: Removed redundant documentation about Action instance attributes. Updated example and documentation per recommendations by Steven Bethard in msg149524. 2014-07-20 10:52:46 -04:00
Jason R. Coombs 2c34fb52e8 Issue #13540: Expanded argparse documents to clarify the action API 2011-12-13 23:36:45 -05:00
Ezio Melotti 05a7f0dcac #6570: clarify tutorial section about keyword arguments. 2011-12-13 15:49:22 +02:00
Ezio Melotti 4a72d1a661 #13549: improve tutorial section about listcomps. 2011-12-13 14:50:21 +02:00
Raymond Hettinger f537702732 Issue #13573: The csv.writer now uses the repr() for floats rather than str(). 2011-12-11 22:31:09 -08:00
Benjamin Peterson 8b59c23a54 you can't get resource.error if you can't import resource 2011-12-10 12:31:42 -05:00
Charles-François Natali 97c9428c91 Issue #13453: Catch EAI_FAIL in support.transient_internet. 2011-12-10 13:16:02 +01:00
Florent Xicluna b918bdc92c Fix docstring typo. 2011-12-09 23:40:27 +01:00
Jason R. Coombs 77cd258550 Implemented suggested improvements for pdb test by Éric Araujo 2011-12-08 22:14:56 -05:00
Stefan Krah 2bc1e8fbf2 Backport second fix for issue #11149. 2011-12-08 22:26:06 +01:00
Victor Stinner 0de2aaea7f Issue #11886: workaround an OS bug (time zone data) in test_time
Australian Eastern Standard Time (UTC+10) is called "EST" (as Eastern Standard
Time, UTC-5) instead of "AEST" on some operating systems (e.g. FreeBSD), which
is wrong. See for example this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810
2011-12-08 00:32:51 +01:00
Ezio Melotti 4988ca5c55 #13531: add a test for defaultdict with a non-callable arg. Patch by Mike Cheng. 2011-12-08 00:00:49 +02:00
Amaury Forgeot d'Arc 4bf21e28df Issue #13546: Fixed an overflow issue that could crash the intepreter when
calling sys.setrecursionlimit((1<<31)-1).

2.7 only.
2011-12-07 21:46:48 +01:00
Jesus Cea a94b578431 Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop 2011-12-06 20:46:04 +01:00
Lars Gustäbel 9a38863d8c Correctly detect bzip2 compressed streams with blocksizes other than 900k. 2011-12-06 13:07:09 +01:00
Antoine Pitrou 22da68b1b0 Issue #13527: remove mention of Python megawidgets and Tkinter3000 WCK
from the doc. These two projects appear dead.
2011-12-04 23:56:30 +01:00
Meador Inge 5295718399 Issue #13513: IOBase docs incorrectly link to the readline module 2011-12-03 12:13:42 -06:00
Jason R. Coombs 974d863fec Issue #13211: Add .reason attribute to HTTPError to implement parent class (URLError) interface. 2011-11-07 10:44:25 -05:00
Petri Lehtinen 49e49a218c Issue #13439: Fix many errors in turtle docstrings. 2011-12-02 21:22:53 +02:00
Ezio Melotti 2692be9d20 #13494: s/cast/convert/. Also add a link. 2011-12-02 19:47:24 +02:00
Ezio Melotti c2ed44f4f2 #13499: fix example adding >>> before the comments. 2011-12-02 19:26:48 +02:00
Ezio Melotti ab731a3556 #8414: add more tests for "assert". Initial patch by Gregory Nofi. 2011-12-02 18:17:30 +02:00
Victor Stinner 9f915d9c20 Issue #13093: Fix _testcapi.unicode_encodedecimal()
_testcapimodule.c is not "ssize_t" safe in Python 2.7: the length argument type
is int, not Py_ssize_t.
2011-11-29 00:53:09 +01:00
Charles-François Natali 27bc4d07cc Issue #13415: Skip test_os.test_unset_error on FreeBSD and OS X. 2011-11-27 13:05:14 +01:00
Charles-François Natali 93a1175bac Issue #13415: Test in configure if unsetenv() has a return value or not. 2011-11-27 13:01:35 +01:00
Meador Inge 710671a722 Issue #12618: fix py_compile unit tests to handle different drives on Windows 2011-11-26 11:30:21 -06:00
Meador Inge 89749407af Issue #12618: create unit tests for the py_compile module 2011-11-25 23:28:18 -06:00
Meador Inge 0e30317891 Issue #13380: add an internal function for resetting the ctypes caches 2011-11-25 22:25:06 -06:00
Antoine Pitrou a5d5bb997b Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module.
Patch by Brian Harring.
2011-11-25 21:28:15 +01:00
Vinay Sajip da75dd2a9b Added a configuration dictionary example to the logging cookbook. 2011-11-23 14:27:11 +00:00
Vinay Sajip 3639807a79 Closes #13459: Clarified documentation on Logger.propagate. Thanks to Mike Fogel for the patch. 2011-11-23 08:51:35 +00:00
Benjamin Peterson 42d96dc07d no python objects to manage here 2011-11-22 23:56:06 -06:00
Benjamin Peterson fde82169e1 plug refleak 2011-11-22 23:12:49 -06:00
Antoine Pitrou aa1c967f93 Issue #13458: Fix a memory leak in the ssl module when decoding a certificate with a subjectAltName.
Patch by Robert Xiao.
2011-11-23 01:39:19 +01:00
Victor Stinner 091b6ef793 Issue #13436: Fix unsetenv() test on Windows 2011-11-22 22:30:19 +01:00
Victor Stinner 53853c3fa9 Issue #13415: os.unsetenv() doesn't ignore errors anymore. 2011-11-22 22:20:13 +01:00
Charles-François Natali 6392d7f68b Issue #12156: Skip test_multiprocessing on systems which don't support enough
POSIX semaphores (among which FreeBSD < 8).
2011-11-22 18:35:18 +01:00
Victor Stinner 975134e2a2 Issue #13093: Fix error handling on PyUnicode_EncodeDecimal()
Add tests for PyUnicode_EncodeDecimal()
2011-11-22 01:54:19 +01:00
Antoine Pitrou 5aa7df320f Issue #13322: Fix BufferedWriter.write() to ensure that BlockingIOError is
raised when the wrapped raw file is non-blocking and the write would block.
Previous code assumed that the raw write() would raise BlockingIOError, but
RawIOBase.write() is defined to returned None when the call would block.
Patch by sbt.
2011-11-21 20:16:44 +01:00
Victor Stinner 9d38b0dcb2 Close #13401: Skip TestFileTypeW of test_argparse if the current user is root
Patch written by Arfrever Frehtes Taifersar Arahesis.
2011-11-20 23:09:09 +01:00
Raymond Hettinger 421467f8f0 Note the store_true and store_false also create the appropriate defaults. 2011-11-20 11:05:23 -08:00
Raymond Hettinger 7d1483cbad Make an error message more understandable and consistent with other error messages. 2011-11-20 10:38:53 -08:00
Mark Dickinson b19284f6eb Issue #12245: Document sys.float_info.rounds better. 2011-11-19 16:26:08 +00:00
Ezio Melotti aa512f05a4 #13387: add note about checking the exact type in assertIsInstance doc. 2011-11-18 18:59:36 +02:00
Ezio Melotti 169ed5946a #11112: Fix typo in a base class in test_socket. 2011-11-18 18:33:14 +02:00
Ezio Melotti 00dc60beee #13358: HTMLParser now calls handle_data only once for each CDATA. 2011-11-18 18:00:40 +02:00
Ezio Melotti 93bbb6a9a6 #4147: minidom's toprettyxml no longer adds whitespace around a text node when it is the only child of an element. Initial patch by Dan Kenigsberg. 2011-11-18 17:30:28 +02:00
Ezio Melotti ba41c6a1c3 #13426: fix typo in pickle doc. 2011-11-18 13:41:58 +02:00
Jason R. Coombs 5d032c0f95 PDB now will properly escape backslashes in the names of modules it executes. Fixes #7750 2011-11-17 18:03:24 -05:00