Commit Graph

44391 Commits

Author SHA1 Message Date
Victor Stinner bb4f218050 os module: remove nonbreaking space in a comment 2010-11-07 15:43:39 +00:00
Mark Dickinson a837aa6213 Update assertComplexIdentical to handle nans correctly. 2010-11-07 15:31:41 +00:00
Hirokazu Yamamoto 4ae5f138da Issue #6317: Now winsound.PlaySound only accepts unicode with MvL's approval. 2010-11-07 14:29:26 +00:00
Victor Stinner be3da38e0a Issue #10337: skip tests of tanh() sign in test_math and test_cmath if tanh()
doesn't preserve the zero sign (if TANH_PRESERVES_ZERO_SIGN define is 0).
2010-11-07 14:14:27 +00:00
Senthil Kumaran 7089a4e127 Fix Issue10226 - Clarifying the role of the netloc separator. 2010-11-07 12:57:04 +00:00
Mark Dickinson 4a3c7c4ecf Issue #10145: the float.is_integer method was undocumented. 2010-11-07 12:48:18 +00:00
Hirokazu Yamamoto 35adf5dcf1 Changed entry name because it's hard to merge. 2010-11-07 11:32:01 +00:00
Mark Dickinson 43ef32ae36 Issue 10297: Add missing import in decimal example snippet. 2010-11-07 11:24:44 +00:00
Hirokazu Yamamoto cdc8cdd215 Reformatted code a bit. 2010-11-07 11:07:44 +00:00
Mark Dickinson baa0f0510e Add a dtoa.c test value that triggered a bug in recent versions of
Gay's dtoa.c (but not for current versions of Python's dtoa.c).
Thanks Rick Regan for finding and reporting this.
2010-11-07 10:01:46 +00:00
Hirokazu Yamamoto c08c9bccfc Issue #6317: Now winsound.PlaySound can accept non ascii filename. 2010-11-07 09:23:15 +00:00
Victor Stinner 2e598faade test_concurrent_futures: remove temporary hack 2010-11-07 04:36:56 +00:00
Hirokazu Yamamoto 62fbdd9b7b Formatted code. (Tabify, etc) 2010-11-07 02:45:19 +00:00
Eric Smith 51d2fd983b Added more to docstrings for str.format, format_map, and __format__. 2010-11-06 19:27:37 +00:00
Éric Araujo 7c03d8c5c6 Fix #10252 again (hopefully definitely). Patch by Brian Curtin. 2010-11-06 18:03:52 +00:00
Éric Araujo 71f8c65b66 Remove traces of setuptools (#10341) 2010-11-06 16:06:37 +00:00
Éric Araujo 8bdbe9c52f Correct the fix for #10252: Popen objects have no close method. 2010-11-06 15:57:52 +00:00
Éric Araujo e7cf954247 Add missing NEWS entries for some of my commits. 2010-11-06 15:01:07 +00:00
Eric Smith 72f6620859 Removed unused test classes from test_format_map(). 2010-11-06 14:43:26 +00:00
Eric Smith 5ad85f81b0 Added example for str.format_map(). 2010-11-06 13:22:13 +00:00
Victor Stinner 7322fcf84b test_concurrent_futures: dump ulimit -a to check a failure on x86 FreeBSD 7.2 3.x, buildbot 2010-11-06 13:10:29 +00:00
Victor Stinner 273b766870 os.get_exec_path() ignores BytesWarning instead of recoding them
Use only one global warning.catch_warnings() context, instead of two local
contexts. Improve also the explaination why the function uses a local import.
2010-11-06 12:59:33 +00:00
Georg Brandl 6881886389 #10334: add a role to refer to Python source files in SVN. 2010-11-06 07:19:35 +00:00
Éric Araujo 1cb25aa2e3 Tweak example to make clear the argument is a boolean, not any integer.
With Raymond’s approval.
2010-11-06 07:03:07 +00:00
Éric Araujo c6ecb012da Fix wrapper/wrapped typo (with Raymond’s blessing) 2010-11-06 06:33:03 +00:00
Éric Araujo 8f9626b08b Fix typo 2010-11-06 06:30:16 +00:00
Éric Araujo 45ee43be43 Remove traces of Mac OS 9 support, again (#9508).
This was done in r80805 (#7908) and erroneously brought back by the
distutils revert.  This commit removes more code than the original,
which was uncomplete.  There is no NEWS entry, like in r80805.
2010-11-06 06:00:54 +00:00
Éric Araujo 2642ad07ee Fix typo from r86170. 2010-11-06 04:59:27 +00:00
Éric Araujo ba7209f0a5 Prevent race condition with mkdir in distutils. Patch by Arfrever on #9281. 2010-11-06 04:48:05 +00:00
Éric Araujo 909ddbd193 Add missing NEWS entry for r86239. 2010-11-06 04:24:00 +00:00
Éric Araujo 7fa886df36 Prevent ResourceWarnings in test_gettext 2010-11-06 04:11:59 +00:00
Éric Araujo 37a89334da Fix caching error found by regrtest -R (#10229) 2010-11-06 04:09:29 +00:00
Éric Araujo 70ec44a773 Make sure each test can be run standalone (./python Lib/distutils/tests/x.py) 2010-11-06 02:44:43 +00:00
Éric Araujo 1c5054996f Fix one omission in r78359 2010-11-06 02:12:51 +00:00
Éric Araujo 5ac6d80c02 Also close file descriptors from os.popen and subprocess.Popen 2010-11-06 02:10:32 +00:00
Alexander Belopolsky 25b5741383 Issue #10330: trace module can now be used with python built without threads. 2010-11-06 01:31:16 +00:00
Brian Curtin ecd34cbbb8 Clear up ResourceWarnings 2010-11-06 01:30:41 +00:00
Éric Araujo 5fd730e0fb Of course, I forgot one file in r86223. 2010-11-05 23:59:32 +00:00
Éric Araujo 89c0478c53 Add missing entry for r86223. 2010-11-05 23:58:34 +00:00
Éric Araujo bee5cef7db Always close files in distutils code and tests (#10252). 2010-11-05 23:51:56 +00:00
Antoine Pitrou afb078dd26 More what's new 2010-11-05 22:18:28 +00:00
Antoine Pitrou 7d15a72c54 Update 3.2 what's new 2010-11-05 22:13:55 +00:00
Antoine Pitrou 243757eb79 Issue #10180: Pickling file objects is now explicitly forbidden, since
unpickling them produced nonsensical results.
2010-11-05 21:15:39 +00:00
Antoine Pitrou 4a5f9677f3 Output served URL when running ssl_servers 2010-11-05 20:26:59 +00:00
Antoine Pitrou 66c95c745b Fix test_httplib when built without threads 2010-11-05 20:17:55 +00:00
Antoine Pitrou db1bad2d70 Fix bootstrap issues when building without threads 2010-11-05 19:58:28 +00:00
Antoine Pitrou 39a6591507 Issue #10311: The signal module now restores errno before returning from
its low-level signal handler.  Patch by Hallvard B Furuseth.
2010-11-05 19:47:27 +00:00
Antoine Pitrou a078115434 Issue #10282: Add a `nntp_implementation` attribute to NNTP objects. 2010-11-05 19:16:37 +00:00
Hirokazu Yamamoto 09fff7a8d1 Fixed socket_gethostname() on windows. 2010-11-05 17:24:13 +00:00
David Malcolm 9696088b6d Issue #10288: The deprecated family of "char"-handling macros
(ISLOWER()/ISUPPER()/etc) have now been removed: use Py_ISLOWER() etc
instead.
2010-11-05 17:23:41 +00:00