R David Murray
0f111c13cd
#15232 : correctly mangle From lines in MIME preamble and epilogue
2012-07-22 21:55:12 -04:00
Gregory P. Smith
ea2ce47958
merge heads
2012-07-21 21:23:00 -07:00
Gregory P. Smith
b9e9e0d5a8
Consistently raise a TypeError when a non str is passed to hashlib.new
...
regardless of which of the two implementations of new is used.
2012-07-21 21:22:16 -07:00
R David Murray
68f555c03a
#13922 : argparse no longer incorrectly strips '--' after the first one.
...
Patch by Jeff Knupp.
2012-07-21 22:54:34 -04:00
R David Murray
056c31f9cc
#12353 : argparse now correctly handles null argument values.
...
Patch by Torsten Landschoff.
2012-07-21 22:35:00 -04:00
R David Murray
1a2c1fbfd2
#14391 : clarify docstring discussion of Action's 'type' argument's value.
2012-07-21 17:06:28 -04:00
R David Murray
ac9b5c67d3
#15342 : Add clarifying sentence to posixpath.join docstring.
...
This sentence appears as a clarifying note in the HTML docs, and seems
worth having in the docstring since it covers a very common use case
that isn't otherwise obvious. Thanks to Yongzhi Pan for the suggestion.
2012-07-21 14:37:29 -04:00
Georg Brandl
d33a9beb8d
Fix typo introduced in 79d54fba49b3.
2012-07-21 16:48:16 +02:00
Raymond Hettinger
dee8af225b
Fix whitespace
2012-07-20 17:47:59 -07:00
Antoine Pitrou
715a63b783
Issue #14579 : Fix error handling bug in the utf-16 decoder.
...
Patch by Serhiy Storchaka.
2012-07-21 00:52:06 +02:00
Vinay Sajip
bee739baa7
Issue #15399 : Added versionchanged for processName.
2012-07-20 09:48:46 +01:00
Meador Inge
25be3f68e0
Issue #6493 : Fix handling of c_uint32 bitfields with width of 32 on Windows.
2012-07-18 23:51:05 -05:00
R David Murray
59488d233b
Closes #9254 : backport __import__ docstring/doc mentions of importlib.
...
Patch by Éric Araujo.
2012-07-18 19:44:08 -04:00
Meador Inge
0e3755e58a
remove unused variable
2012-07-18 17:48:34 -05:00
Meador Inge
b8a569065e
Issue #15368 : fixing variable typo.
2012-07-18 16:32:37 -05:00
Meador Inge
6642d1f97d
Issue #15368 : make bytecode generation deterministic.
2012-07-18 14:09:04 -05:00
R David Murray
fc095202af
#15375 : remove duplicated word 'child'
2012-07-16 22:31:32 -04:00
Gregory P. Smith
e4220a5ec6
Fix the with_poll tests for platforms without poll. missing import.
2012-07-16 13:36:01 -07:00
Raymond Hettinger
66dd94199c
Issue 15337: help() shown as undocumented
2012-07-16 00:11:05 -07:00
Gregory P. Smith
e0c22206e4
Fixes Issue #14635 : telnetlib will use poll() rather than select() when possible
...
to avoid failing due to the select() file descriptor limit.
Contributed by Akintayo Holder and under the Google contributor agreement.
2012-07-15 22:16:06 -07:00
Benjamin Peterson
7d8a2e41a0
allow any number to be returned from __length_hint__ ( closes #15354 )
2012-07-14 17:53:55 -07:00
Antoine Pitrou
f526297d13
Try other approach to fix issue #15334 .
2012-07-13 22:46:41 +02:00
Ezio Melotti
e608e3141e
#15345 : fix SyntaxError in argparse tutorial example. Patch by Simon Hayward.
2012-07-13 21:40:25 +02:00
Antoine Pitrou
d8412c84c7
Issue #15334 : skip test_dynamic_key when run in non-interactive mode.
...
Patch by Jeremy Kloth.
2012-07-13 21:08:41 +02:00
Antoine Pitrou
1a689189d2
Issue #15338 : skip test_UNC_path when the current user doesn't have enough permissions to access the path.
2012-07-13 20:54:42 +02:00
Martin v. Löwis
3e0cc0f12c
Use _RPCFile.write properly.
2012-07-11 09:19:16 +02:00
Martin v. Löwis
1ba32187c0
Don't use TextIOBase implementations in _RPCFile.
2012-07-11 08:49:58 +02:00
Martin v. Löwis
dbde88696b
Issue #15319 : Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
2012-07-11 08:32:05 +02:00
Terry Jan Reedy
f8fc674f0b
Issue 13532: Allow bytearrays to be written also.
2012-07-09 17:57:13 -04:00
Martin v. Löwis
9e6bf1a8ee
Widen test to support unicode.
2012-07-09 21:07:41 +02:00
Martin v. Löwis
e8e4e1456c
- Issue #13532 : Check that arguments to sys.stdout.write are strings.
2012-07-09 21:01:49 +02:00
Terry Jan Reedy
45ed012433
Issue #13557 : Clarify effect of giving two different namespaces to exec or
...
execfile().
2012-07-08 17:35:26 -04:00
Senthil Kumaran
e7d4b607f1
merge heads.
2012-07-08 02:22:44 -07:00
Senthil Kumaran
5d60e56a17
revert the changes done in d931a3b64fd6 - buildbot failure.
...
The fix for issue14826 might need to address toBytes and test_url_encoding in
test_cookielib.py before it is brought back in.
2012-07-08 02:20:27 -07:00
Senthil Kumaran
dc43adbfc2
Fix the buildbot failure - msg164973
2012-07-08 01:14:53 -07:00
Senthil Kumaran
01fe5fa8ea
Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
...
Patch contributed by Stephen Thorne.
2012-07-07 17:37:53 -07:00
Georg Brandl
5356af8c48
Fix leftover quote.
2012-07-06 21:36:48 +02:00
Antoine Pitrou
c2ec992698
Issue #15247 : FileIO now raises an error when given a file descriptor pointing to a directory.
2012-07-06 18:48:24 +02:00
Senthil Kumaran
3b30b19e0a
Fix closes issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp
2012-07-04 19:50:29 -07:00
Jesus Cea
d0f5f4827d
Issue #1677 : Unused variable warning in Non-Windows
2012-07-03 13:07:58 +02:00
Jesus Cea
99ad1f1354
Backed out changeset 7ccc2cea6969
2012-07-03 13:06:45 +02:00
Jesus Cea
263afe2fed
Issue #1667 : Unused variable warning in Non-Windows
2012-07-03 13:04:55 +02:00
Éric Araujo
e5567ccc86
Create ~/.pypirc securely ( #13512 ).
...
There was a window between the write and the chmod where the user’s
password would be exposed, depending on default permissions. Philip
Jenvey’s patch fixes it.
2012-07-03 01:23:46 -04:00
Éric Araujo
9e06e37be0
Branch merge
2012-07-03 01:13:40 -04:00
Éric Araujo
3cf202e957
Ignore .nfs* files in distutils ( #7719 ).
...
These files are created by some NFS clients a file is edited and removed
concurrently (see added link in doc for more info). If such a file is
removed between distutils calls listdir and copy, it will get confused.
Other special files are ignored in sdist (namely VCS directories), but
this has to be filtered out earlier.
2012-07-03 01:12:42 -04:00
Raymond Hettinger
e16c882584
Make it easier to search for the grouper() recipe.
2012-07-02 21:08:45 -07:00
Éric Araujo
96534689a8
Use source role to get links to files
2012-07-02 17:46:56 -04:00
Éric Araujo
06176a89ff
Adapt mentions of future changes in doc
2012-07-02 17:46:40 -04:00
Éric Araujo
0d983b5339
Avoid SyntaxError in script using print function
2012-07-02 17:45:10 -04:00
Raymond Hettinger
2aa8519f07
The StopIteration API applies to both tokenize() and generate_tokens()
2012-07-01 20:00:09 -07:00