Commit Graph

1162 Commits

Author SHA1 Message Date
Nick Coghlan 5533ff6a2e Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation) 2009-04-22 15:26:04 +00:00
Eric Smith 4c074382bd Documentation for issue 5237, auto-numbered format fields. Contributed by Terry J. Reedy. 2009-04-22 00:47:00 +00:00
Georg Brandl e56101136c #5751: fix escaping of \\n. 2009-04-21 18:24:34 +00:00
Georg Brandl ce54356690 #5757: fix copy-paste error in notify(). 2009-04-21 18:23:08 +00:00
Raymond Hettinger cccfc825e4 Fix typo 2009-04-20 18:23:57 +00:00
Raymond Hettinger 76162e305c Clarify the behavior of any() and all() with an empty iterable. 2009-04-16 18:16:10 +00:00
R. David Murray 7203081025 Less red ink (warning->note) and add link to def of side-by-side assembly. 2009-04-16 18:12:53 +00:00
R. David Murray 6076d399b4 Fix for issue3440: add warning to subprocess discussion of
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.
2009-04-15 22:33:07 +00:00
Benjamin Peterson 5c9914899b tupel -> tuple 2009-04-14 21:23:09 +00:00
Georg Brandl b48327a215 #5745: more linking for identifiers in email docs. 2009-04-13 13:13:25 +00:00
Hirokazu Yamamoto 4585746fb0 Fixed another typos. (email.Utils => email.utils) 2009-04-13 01:21:56 +00:00
Hirokazu Yamamoto 3bd4058d82 Fixed typo. (email.Utils => email.utils) 2009-04-13 01:07:06 +00:00
Benjamin Peterson a9feadc0dd fix missing quote 2009-04-12 23:44:15 +00:00
Benjamin Peterson 7bedd625df fix extra parenthesis #5774 2009-04-12 23:19:56 +00:00
Nick Coghlan cd2e7042ae Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks 2009-04-11 13:31:31 +00:00
Raymond Hettinger f0f475da61 Add examples. 2009-04-10 13:16:50 +00:00
Raymond Hettinger c4f4697196 Fix the count of datatypes. 2009-04-10 06:38:39 +00:00
Raymond Hettinger f368fbc24e Clarify the table entries for combinatorics. 2009-04-10 04:25:45 +00:00
Raymond Hettinger c473c5aa9b Add note on using keyword arguments with OrderedDict. 2009-04-09 22:31:51 +00:00
Andrew M. Kuchling 5963185b23 Typo fixes 2009-04-09 11:23:36 +00:00
Michael Foord f2dfef1637 Adding assertIs and assertIsNot methods to unittest.TestCase
Issue #2578
2009-04-05 19:19:28 +00:00
Georg Brandl a7ec0726e2 #5370: doc update about unpickling objects with custom __getattr__ etc. methods. 2009-04-05 14:40:06 +00:00
Georg Brandl 5d19610f8d #1718017: document the relation of os.path and the posixpath, ntpath etc. modules better. 2009-04-05 10:41:02 +00:00
Georg Brandl 75f1107b7c Avoid sure signs of a diseased mind. 2009-04-05 10:32:26 +00:00
Georg Brandl 89b1296ab9 Normalize spelling of Mac OS X. 2009-04-05 10:29:57 +00:00
Georg Brandl 9af0c56057 #1742837: expand HTTP server docs, and fix SocketServer ones to document methods as methods, not functions. 2009-04-05 10:24:20 +00:00
Benjamin Peterson f9c8193b76 note how using iter* are unsafe while mutating and document iter(dict) 2009-04-04 23:46:34 +00:00
Georg Brandl 29b36308a4 #5601: clarify that webbrowser is not meant for file names. 2009-04-04 13:45:49 +00:00
Georg Brandl 9d977b81a1 #5642: clarify map() compatibility to the builtin. 2009-04-04 13:42:39 +00:00
R. David Murray 195374e836 Fix error in description of 'oct' (issue 5678). 2009-04-04 06:39:56 +00:00
Raymond Hettinger 64906bbeba Add helpful link. 2009-04-04 05:37:47 +00:00
Vinay Sajip 353a85f99c Clarified warning about logging use from asynchronous signal handlers. 2009-04-03 21:58:16 +00:00
Andrew M. Kuchling a178a69819 Fix 'the the' duplication 2009-04-03 21:45:29 +00:00
Vinay Sajip b0b1aa214a Added warning about logging use from asynchronous signal handlers. 2009-04-03 10:23:18 +00:00
Raymond Hettinger 6df48a3354 Update docs for namedtuple's renaming change. 2009-04-02 22:34:17 +00:00
Antoine Pitrou 789be0c0a0 Issue #2396: backport the memoryview object. 2009-04-02 21:18:34 +00:00
Jesse Noller 7152f6d915 Add custom initializer argument to multiprocess.Manager*, courtesy of lekma 2009-04-02 05:17:26 +00:00
R. David Murray d56bab47f1 Clarify that datetime strftime does not produce leap seconds and datetime
strptime does not accept it in the strftime behavior section of the
datetime docs.

Closes issue 2568.
2009-04-02 04:34:04 +00:00
Jesse Noller 5053fbbb38 Issue 3551: Raise ValueError if the size causes ERROR_NO_SYSTEM_RESOURCES 2009-04-02 04:22:09 +00:00
Michael Foord 345b2fe21e Better exception messages for unittest assert methods.
- unittest.assertNotEqual() now uses the inequality operator (!=) instead
  of the equality operator.

- Default assertTrue and assertFalse messages are now useful.

- TestCase has a longMessage attribute. This defaults to False, but if set to True
  useful error messages are shown in addition to explicit messages passed to assert methods.

Issue #5663
2009-04-02 03:20:38 +00:00
Andrew M. Kuchling e9d35ef230 Typo fix 2009-04-02 00:02:14 +00:00
Georg Brandl 88ed8f2c50 #4572: add SEEK_* values as constants in io.py. 2009-04-01 21:00:55 +00:00
Raymond Hettinger fff2f4bb03 Add link to an alternative generator with a long-period. 2009-04-01 20:50:58 +00:00
Jesse Noller b12e79da1b Issue 3270: document Listener address restrictions on windows 2009-04-01 16:42:19 +00:00
Jesse Noller 02cb0eb231 Fix multiprocessing.event to match the new threading.Event API 2009-04-01 03:45:50 +00:00
Josiah Carlson bb94d43dcd Fix for failing asyncore tests. 2009-04-01 01:28:11 +00:00
Raymond Hettinger 6bc94cbbc8 Improve examples for collections.deque() 2009-03-31 22:43:03 +00:00
Georg Brandl b7715865e7 #3427: document correct return type for urlopen().info(). 2009-03-31 22:18:19 +00:00
Georg Brandl a08e8dedc2 #5598: document DocFileSuite *args argument. 2009-03-31 21:15:33 +00:00
Georg Brandl ef660e8e50 #1674032: return value of flag from Event.wait(). OKed by Guido. 2009-03-31 20:41:08 +00:00