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
Brian Curtin
de11b189d1
Close subprocess pipes to clean up ResourceWarnings
2010-11-05 17:22:46 +00:00
Brian Curtin
19a5379c97
Fix a number of ResourceWarnings on Windows due to open pipes.
2010-11-05 17:09:05 +00:00
Brian Curtin
5ad0bd69c9
Add socket cleanup for ResourceWarning and update test to use skip decorator
2010-11-05 15:47:45 +00:00
Ezio Melotti
4841fd60fb
Merge the doc for assertTrue/False, assert[Not]AlmostEqual, assert[Not]RegexpMatches, rephrase a couple of paragraphs, and remove redundant doc about the msg arg.
2010-11-05 15:43:40 +00:00
Brian Curtin
ab747a7daa
Fix ResourceWarning from subprocess pipes being left open.
2010-11-05 15:40:27 +00:00
Brian Curtin
994ad6c775
Fix ResourceWarning from subprocess pipe.
2010-11-05 15:38:47 +00:00
Brian Curtin
43ec577e2c
Close subprocess pipes in _kill. Fixes a number of ResourceWarnings.
2010-11-05 15:17:11 +00:00
Brian Curtin
cbad4df179
Close subprocess pipes in the non-UNIX section of run_cgi.
...
Clears a number of ResourceWarnings in test_httpservers.
2010-11-05 15:04:48 +00:00
Brian Curtin
69cd87b5fa
Shift the pipe-using code into an else block, then close the pipe
...
in finally. Removes two ResourceWarnings.
2010-11-05 14:48:35 +00:00
Antoine Pitrou
a277ec4ad9
Followup to r86170: fix reference leak in str.format
2010-11-05 12:23:55 +00:00
Georg Brandl
c275e15489
Move glossary entry to the right position and fix link.
2010-11-05 07:10:41 +00:00
Brian Curtin
3c6a951cfb
Add cleanups to stdout/stderr pipes to remove ResourceWarnings.
2010-11-05 03:58:52 +00:00
Antoine Pitrou
b5d8204f0f
Issue #10279 : fix test_gc under Win64.
2010-11-05 00:05:25 +00:00
Antoine Pitrou
08eeadac27
Issue #10283 : Add a `group_pattern` argument to NNTP.list().
2010-11-04 21:36:15 +00:00
Antoine Pitrou
99c4830d0c
Issue #3699 : Fix test_bigaddrspace and extend it to test bytestrings
...
as well as unicode strings. Initial patch by Sandro Tosi.
2010-11-04 20:48:37 +00:00
Antoine Pitrou
aeb6ceead7
Issue #10293 : Remove obsolete field in the PyMemoryView structure,
...
unused undocumented value PyBUF_SHADOW, and strangely-looking code in
PyMemoryView_GetContiguous.
2010-11-04 20:30:33 +00:00
Ezio Melotti
8f2e07b7d0
Move the deprecated aliases in a new section.
2010-11-04 19:09:28 +00:00
Eric Smith
27bbca6f79
Issue #6081 : Add str.format_map. str.format_map(mapping) is similar to str.format(**mapping), except mapping does not get converted to a dict.
2010-11-04 17:06:58 +00:00
Antoine Pitrou
2397dd58b7
Issue #10314 : improve performance of JSON encoding with sort_keys=True
2010-11-04 16:51:32 +00:00
Hirokazu Yamamoto
5ee89cf13e
Updated PC/VS8.0. (mainly to follow r86137: use temporary dir in make_buildinfo.c)
2010-11-04 15:21:59 +00:00