Commit graph

68714 commits

Author SHA1 Message Date
Antoine Pitrou
52cc722ab8 Add c_size_t and c_ssize_t to the ctypes summary table. 2012-07-12 20:31:50 +02:00
Raymond Hettinger
921d1244c6 Show the proper way to exit a cmd shell 2012-07-12 11:26:01 -07:00
Antoine Pitrou
282083d5f4 Issue #15300: Ensure the temporary test working directories are in the same parent folder when running tests in multiprocess mode from a Python build.
Patch by Chris Jerdonek.
2012-07-11 19:19:14 +02:00
Martin v. Löwis
3e0cc0f12c Use _RPCFile.write properly. 2012-07-11 09:19:16 +02:00
Martin v. Löwis
67097fd592 Use _RPCFile.write properly. 2012-07-11 09:17:15 +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
c27616580d Don't use TextIOBase implementations in _RPCFile. 2012-07-11 08:48:34 +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
Martin v. Löwis
8a75bed317 Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka. 2012-07-11 08:29:03 +02:00
Terry Jan Reedy
f8fc674f0b Issue 13532: Allow bytearrays to be written also. 2012-07-09 17:57:13 -04:00
Antoine Pitrou
59b9a7bc61 Backport test for nested namespace packages. 2012-07-09 21:23:58 +02: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
Martin v. Löwis
1d0f6dd7db normalize whitespace 2012-07-09 20:52:40 +02:00
Martin v. Löwis
9ae3f7a189 Issue #13532: Check that arguments to sys.stdout.write are strings. 2012-07-09 20:46:11 +02:00
Terry Jan Reedy
44dea9d03f Issue 12510: Delete actual first param name for all methods; revise tests. 2012-07-09 00:13:21 -04:00
Senthil Kumaran
168456df11 revert the changes done for issue14826 - quoting witin Request is not desirable. 2012-07-08 17:47:25 -07:00
Terry Jan Reedy
83efd6cbb6 Issue #13557: Clarify effect of giving two different namespaces to exec or
execfile().
2012-07-08 17:36:14 -04: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
45ce4dc73e issue 14826 - Address the buildbot failure ( explanation msg164973) 2012-07-08 02:08:48 -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
Senthil Kumaran
b7451cecad Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
Patch contributed by Stephen Thorne.
2012-07-07 17:11:44 -07:00
Florent Xicluna
11f0b41e9d Issue #14990: tokenize: correctly fail with SyntaxError on invalid encoding declaration. 2012-07-07 12:13:35 +02:00
Georg Brandl
5356af8c48 Fix leftover quote. 2012-07-06 21:36:48 +02:00
Antoine Pitrou
9235b254dc Issue #15247: FileIO now raises an error when given a file descriptor pointing to a directory. 2012-07-06 18:48:24 +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
Antoine Pitrou
01cca5e451 Issue #15020: The program name used to search for Python's path is now "python3" under Unix, not "python". 2012-07-05 20:56:30 +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
Senthil Kumaran
f01a337950 Fix issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp 2012-07-04 19:28:16 -07:00
Jesus Cea
035997f1a3 Issue #1677: Unused variable warning in Non-Windows 2012-07-03 13:15:03 +02: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
Antoine Pitrou
e970dc757c Issue #15212: fix typo in compiler module (rename SC_GLOBAL_EXPLICT to SC_GLOBAL_EXPLICIT).
Patch by Arfrever.
2012-07-02 00:01:22 +02:00
Georg Brandl
29feb1ffca Make call of os.getppid() conditional: it is not available on Windows. 2012-07-01 09:47:54 +02:00
Georg Brandl
e683ef55fc Make call of os.getppid() conditional: it is not available on Windows. 2012-07-01 09:47:54 +02:00
Georg Brandl
3aa0c9dcf3 Fix inconsistent function name in embedding howto. 2012-07-01 09:43:20 +02:00
Georg Brandl
1014686d76 Remove an unneeded footnote. 2012-07-01 09:40:16 +02:00
Stefan Krah
a14a06fe0e Issue #15170: Quote the variable that expands to the current directory. 2012-06-30 18:46:02 +02:00