Jason R. Coombs
76748b7033
Fixes #10639 : reindent.py should not convert newlines
...
reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
2011-07-26 11:18:40 -04:00
Vinay Sajip
45dedaafc2
Fixes #12637 : Last resort messages now correctly handled. Thanks to Xavier de Gaye for the patch."
2011-07-25 19:53:28 +01:00
Ross Lagerwall
59c01edcaa
Issue #12102 : Document that buffered files must be flushed before being used
...
with mmap. Patch by Steffen Daode Nurpmeso.
2011-07-25 07:12:43 +02:00
Charles-François Natali
749400a94d
Issue #12560 : Build libpython.so on OpenBSD. Patch by Stefan Sperling.
2011-07-24 22:41:18 +02:00
Antoine Pitrou
0e3c5a828e
Add a test for issue #1813 : getlocale() failing under a Turkish locale
...
(not a problem under 3.x)
2011-07-24 02:40:25 +02:00
Antoine Pitrou
cf9d3c08c8
Issue #1813 : Fix codec lookup under Turkish locales.
2011-07-24 02:27:04 +02:00
Antoine Pitrou
216a3bc36d
Issue #12624 : It is now possible to fail after the first failure when
...
running in verbose mode (`-v` or `-W`), by using the `--failfast`
(or `-G`) option to regrtest. This is useful with long test suites
such as test_io or test_subprocess.
2011-07-23 22:33:39 +02:00
Antoine Pitrou
ab85ff3d1a
Issue #12591 : Improve support of "universal newlines" in the subprocess
...
module: the piped streams can now be properly read from or written to.
(this was broken due to the 2.x to 3.x transition; communicate() support
is still sketchy)
2011-07-23 22:03:45 +02:00
Antoine Pitrou
e96ec68101
Issue #12591 : Allow io.TextIOWrapper to work with raw IO objects (without
...
a read1() method), and add an undocumented *write_through* parameter to
mandate unbuffered writes.
2011-07-23 21:46:35 +02:00
Nadeem Vawda
ce7e51e8f6
Add Misc/NEWS entry for c741ba9e37ef.
2011-07-23 15:16:23 +02:00
Nadeem Vawda
08f5f7aa81
Issue #10883 : Fix socket leaks in urllib.request.
...
* ftpwrapper now uses reference counting to ensure that the underlying socket
is closed when the ftpwrapper object is no longer in use
* ftplib.FTP.ntransfercmd() now closes the socket if an error occurs
Initial patch by Victor Stinner.
2011-07-23 14:03:00 +02:00
Senthil Kumaran
de02a7194c
Fix closes issue12581 - Increase the urllib.parse test coverage. Patch by Petter Haggholm.
2011-07-23 18:27:45 +08:00
Georg Brandl
06ad13ee7c
Fix function name: open -> urlopen.
2011-07-23 08:04:40 +02:00
Charles-François Natali
beed47ec0e
Issue #12592 : Make Python build on OpenBSD 5 (and future major releases).
2011-07-22 23:48:44 +02:00
Benjamin Peterson
180e63507d
None is ok for identifiers but not strings
2011-07-22 11:09:07 -05:00
Benjamin Peterson
efad2449fc
hardcode the old svn __version__
2011-07-22 10:39:12 -05:00
Benjamin Peterson
2193d2b72b
type check AST strings and identifiers
...
This is related to a21829180423 as well as #12609 and #12610 .
2011-07-22 10:50:23 -05:00
Charles-François Natali
996f606787
Issue #12372 : POSIX semaphores are broken on AIX: don't use them.
2011-07-21 19:45:31 +02:00
Ezio Melotti
1beea5b7c1
#12601 : fix typo.
2011-07-21 11:16:32 +03:00
Ezio Melotti
bca31b5d1f
#11435 : link to the correct branch.
2011-07-21 09:35:19 +03:00
Senthil Kumaran
96c84a4c7d
Fix closes issue12524 - update http.client POST example with a working example.
2011-07-20 21:56:24 +08:00
Barry Warsaw
346f95ff82
Upstream merge
2011-07-19 19:25:56 -04:00
Ned Deily
2ea6fccf64
Issue #12587 : Correct faulty test file and reference in test_tokenize.
...
(Patch by Robert Xiao)
2011-07-19 16:15:27 -07:00
Barry Warsaw
d460a76e9e
- Issue #10309 : Define _GNU_SOURCE so that mremap() gets the proper
...
signature. Without this, architectures where sizeof void* != sizeof int are
broken. Patch given by Hallvard B Furuseth.
2011-07-19 18:28:30 -04:00
Antoine Pitrou
c57ed91e0c
Issue #12571 : Add a plat-linux3 directory mirroring the plat-linux2 directory,
...
so that "import DLFCN" and other similar imports work on Linux 3.0.
2011-07-20 00:26:23 +02:00
R David Murray
4634676cec
#7484 : no more <> around addresses in VRFY or EXPN
...
The RFC doesn't say that they are allowed; apparently many mailers accept
them, but not postfix. Contributions to this patch were made by Felipe Cruz
and Catalin Iacob.
The changeset also adds additional indirect tests for quoteaddr (null address
and IDNA-encoded address).
2011-07-18 21:38:54 -04:00
Senthil Kumaran
ae4a78b0a8
Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob
2011-07-19 08:03:02 +08:00
Antoine Pitrou
0e752dd3f8
Issue #6476 : Document that os.spawnle and os.spawnve are not thread-safe under Windows.
2011-07-19 01:26:58 +02:00
Eric V. Smith
12ebefc9d3
Closes #12579 . Positional fields with str.format_map() now raise a ValueError instead of SystemError.
2011-07-18 14:03:41 -04:00
R David Murray
b899007268
Better English.
2011-07-18 12:38:03 -04:00
Senthil Kumaran
3e7f33fc82
fix whitespace nit.
2011-07-18 07:17:20 +08:00
Senthil Kumaran
0215d09ca9
Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response.
2011-07-18 07:12:40 +08:00
Senthil Kumaran
ed270fab64
Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi
2011-07-18 06:42:46 +08:00
Senthil Kumaran
023c6f703d
Fix Issue10403 - datetime documentation clarification based on review in the reitveld by Alexendar belopolsky.
2011-07-17 19:01:14 +08:00
Senthil Kumaran
ad3882a2b0
Fix closes Issue11436 - Minor clarification to struct documentation for 's' format character.
2011-07-17 17:29:17 +08:00
Antoine Pitrou
0b447957c7
Close the call queue in concurrent.futures.ProcessPoolExecutor when
...
shutdown() is called, without waiting for the garbage collector to kick in.
2011-07-16 23:52:02 +02:00
Antoine Pitrou
f7f54759b5
Use test.script_helper in test_pydoc
2011-07-15 22:42:12 +02:00
Antoine Pitrou
a6e81a23b3
test_pydoc needs to cleanup after itself
2011-07-15 22:32:25 +02:00
Antoine Pitrou
707f228b1e
Try harder to reap dangling threads in test.support.reap_threads().
2011-07-15 22:29:44 +02:00
Antoine Pitrou
c081c0c6a0
Issue #12573 : Add resource checks for dangling Thread and Process objects.
2011-07-15 22:12:24 +02:00
Antoine Pitrou
b8298a01e6
Merge
2011-07-15 21:19:02 +02:00
Antoine Pitrou
ff35050493
Issue #11603 : Fix a crash when __str__ is rebound as __repr__.
...
Patch by Andreas Stührk.
2011-07-15 21:17:14 +02:00
Antoine Pitrou
8cdc40e3b0
Issue #11603 : Fix a crash when __str__ is rebound as __repr__.
...
Patch by Andreas Stührk.
2011-07-15 21:15:07 +02:00
Benjamin Peterson
58059197cc
merge heads
2011-07-15 14:11:23 -05:00
Benjamin Peterson
5afa03a72e
catch nasty exception classes with __new__ that doesn't return a exception ( closes #11627 )
...
Patch from Andreas Stührk.
2011-07-15 14:09:26 -05:00
Antoine Pitrou
8391cf4e1d
Issue #11321 : Fix a crash with multiple imports of the _pickle module when
...
embedding Python. Patch by Andreas Stührk.
2011-07-15 21:01:21 +02:00
Antoine Pitrou
9470ab43a9
Make sure to reap worker threads and processes at the end of test_concurrent_futures
2011-07-15 20:25:20 +02:00
Charles-François Natali
1f0ccfa853
Merge - Issue #12502 : asyncore: fix polling loop with AF_UNIX sockets.
2011-07-14 19:57:35 +02:00
Charles-François Natali
e22813067e
Issue #12502 : asyncore: fix polling loop with AF_UNIX sockets.
2011-07-14 19:53:38 +02:00
Benjamin Peterson
eef80b6e70
this should be an identity test
2011-07-14 10:03:35 -05:00