doko@ubuntu.com
93df16bb16
- Issue #3754 , refactor sys.platform / get_platform bits, use a
...
global host_platform instead.
2012-06-30 14:32:08 +02:00
Nadeem Vawda
83a4dd3fdf
Update GzipFile docstring to mention gzip.open()'s new text-mode support.
2012-06-30 13:34:28 +02:00
Tim Golden
07a616d19e
Merged
2012-06-29 22:12:39 +01:00
Senthil Kumaran
a1632e65fa
urllib.parse cleanup. rename keywords used as variables
2012-06-29 11:08:51 -07:00
Senthil Kumaran
eda29f4718
urllib.parse cleanup. rename keywords used as variables
2012-06-29 11:08:20 -07:00
Tim Golden
27982d7032
Dummy merge from 3.2
2012-06-29 18:45:40 +01:00
Antoine Pitrou
a9effcd802
Better diagnose test failure
2012-06-29 19:40:54 +02:00
Antoine Pitrou
b8b6a68baa
Better diagnose test failure
2012-06-29 19:40:35 +02:00
Tim Golden
9175c3d804
Issue #1677 : Handle better a race condition between the interactive interpreter and
...
the Ctrl-C signal handler on Windows
2012-06-29 18:39:26 +01:00
Tim Golden
b92b757eed
Issue #1677 : Handle better a race condition between the interactive interpreter and
...
the Ctrl-C signal handler on Windows
2012-06-29 18:27:08 +01:00
Petri Lehtinen
25652884b4
#5346 : Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
2012-06-29 15:12:54 +03:00
Petri Lehtinen
5b5619f717
#5346 : Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
2012-06-29 15:10:41 +03:00
Petri Lehtinen
31a78c3d65
#9559 : Don't call _pre_mailbox_hook more than once
2012-06-29 13:51:50 +03:00
Petri Lehtinen
b6ee3d6b7a
#9559 : Don't call _pre_mailbox_hook more than once
2012-06-29 13:50:21 +03:00
Hynek Schlawack
d0f6e0a6e6
Check for all used fd-based functions in shutil.rmdir, closes #15218
2012-06-29 08:28:20 +02:00
Senthil Kumaran
0b50bf3ffc
urlparse docs clean up - no reference to earlier draft
2012-06-28 21:08:27 -07:00
Senthil Kumaran
4a27d9fb46
urlparse docs clean up - no reference to earlier draft
2012-06-28 21:07:58 -07:00
Antoine Pitrou
802d669044
Issue #5067 : improve some json error messages.
...
Patch by Serhiy Storchaka.
2012-06-29 01:59:54 +02:00
Antoine Pitrou
2d24e94bbe
Issue #5067 : improve some json error messages.
...
Patch by Serhiy Storchaka.
2012-06-29 01:58:26 +02:00
Amaury Forgeot d'Arc
3a3dc17fc9
Port tests from Issue #15219 , and verify we don't have a reference leak.
2012-06-29 01:53:13 +02:00
Antoine Pitrou
c92448beba
Issue #10571 : Fix the "--sign" option of distutils' upload command.
...
Patch by Jakub Wilk.
2012-06-29 01:06:51 +02:00
Antoine Pitrou
24319ac407
Issue #10571 : Fix the "--sign" option of distutils' upload command.
...
Patch by Jakub Wilk.
2012-06-29 01:05:26 +02:00
Hynek Schlawack
9f558ccefd
#4489 : Use dir_fd in rmdir in _rmtree_safe_fd()
...
Now that rmdir supports dir_fd, we also use it. Attackers can't even delete
empty directories anymore.
2012-06-28 15:30:47 +02:00
Petri Lehtinen
dde8cb0899
#9559 : Append data to single-file mailbox files if messages are only added
...
If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or
Babyl mailbox.
2012-06-28 13:56:14 +03:00
Petri Lehtinen
f29435f9f0
#9559 : Append data to single-file mailbox files if messages are only added
...
If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or
Babyl mailbox.
2012-06-28 13:53:23 +03:00
Eric V. Smith
abb755db11
Merge.
2012-06-28 06:15:30 -04:00
Eric V. Smith
b10951549b
Use assertIsNone. Thanks Terry Reedy.
2012-06-28 06:15:01 -04:00
Hynek Schlawack
a75cd1ce73
#4489 : Don't follow ever symlinks in rmtree
...
Also added several regression tests.
2012-06-28 12:07:29 +02:00
Victor Stinner
591c1cca32
Remove dead code
...
os.urandom() has now one unique implementation, posix_urandom() which
calls _PyOS_URandom(). _PyOS_URandom() uses RAND_pseudo_bytes() on VMS.
2012-06-28 01:45:48 +02:00
Antoine Pitrou
8afc243a76
Avoid using scrdir, it's broken.
2012-06-28 01:20:26 +02:00
Neil Schemenauer
76b931b133
Fix bug in test_tools that prevented building is separate directory.
...
Use 'srcdir' from sysconfig instead of 'projectbase' to build a
path to the Tools directory. 'projectbase' is the path of the build
directory, not the source directory.
2012-06-27 15:58:37 -06:00
Eric V. Smith
faae3adbb9
Changed importlib tests to use assertIs, assertIsInstance, etc., instead of just assertTrue.
2012-06-27 15:26:26 -04:00
David Malcolm
8d37ffa563
Issue #12605 : Show information on more C frames within gdb backtraces
...
The gdb hooks for debugging CPython (within Tools/gdb) have
been enhanced to show information on more C frames relevant to CPython within
the "py-bt" and "py-bt-full" commands:
* C frames that are waiting on the GIL
* C frames that are garbage-collecting
* C frames that are due to the invocation of a PyCFunction
2012-06-27 14:15:34 -04:00
Hynek Schlawack
5d2ecfb780
Fix typo in shutil doc
2012-06-27 17:53:22 +02:00
Antoine Pitrou
67a7b06008
Flush stdout and stderr when running tests in parallel
...
(helps getting results in real-time when stdio is transmitted over a pipe or socket)
2012-06-27 17:41:33 +02:00
Antoine Pitrou
8237258e09
Flush stdout and stderr when running tests in parallel
...
(helps getting results in real-time when stdio is transmitted over a pipe or socket)
2012-06-27 17:41:07 +02:00
Antoine Pitrou
932f5be6c5
Merge buildbot script changes
2012-06-27 17:28:21 +02:00
Antoine Pitrou
d0bb9c6386
Allow passing extra testing options to the buildbot test scripts
2012-06-27 17:27:21 +02:00
Christian Heimes
ab47577993
white space cleanup
2012-06-27 15:37:47 +02:00
Christian Heimes
afa2973d7a
Issue 10924: Fixed mksalt() to use a RNG that is suitable for cryptographic purpose
2012-06-27 15:36:46 +02:00
Matthias Klose
39b1e5dff3
build_all_use_profile: Build using -fprofile-correction to automatically
...
correct inconsistent profiles for multi-threaded programs.
2012-06-27 14:13:33 +02:00
Antoine Pitrou
9facaf4f65
Issue #15079 : make a test applicable to both C and Python versions of the pickle module.
...
Patch by Stefan Mihaila.
2012-06-26 23:05:27 +02:00
Antoine Pitrou
79035bd71f
Issue #15079 : make a test applicable to both C and Python versions of the pickle module.
...
Patch by Stefan Mihaila.
2012-06-26 23:04:48 +02:00
David Malcolm
7fb30f034e
Null merge
2012-06-26 14:08:15 -04:00
David Malcolm
b83719287d
Issue #14443 : ensure that brp-python-bytecompile is invoked with the correct
...
python executable
The __os_install_macro defines some post-processing activities during an rpm
build; one of the scripts it calls is brp-python-bytecompile, which can take
an argument: the python executable with which to byte-compile .py files in the
package payload.
In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass
in an argument, and brp-python-bytecompile defaults to using /usr/bin/python,
which can lead to the .py files being byte-compiled for the wrong version of
python. This has been fixed in later versions of rpm by passing in
%{__python} as an argument to brp-python-bytecompile.
Workaround this by detecting if __os_install_post has a 0-argument invocation
of brp-python-bytecompile, and if so generating an equivalent macro that has
the argument, and explicitly provide the new definition within the specfile.
2012-06-26 14:06:23 -04:00
Matthias Klose
c02be613cc
- whitespace-normalize libffi file
2012-06-26 17:59:32 +02:00
doko@ubuntu.com
2a918768f1
- Issue #15194 : Update libffi to the 3.0.11 release.
2012-06-26 17:56:44 +02:00
Senthil Kumaran
13c668229c
issue13666 - merge from 3.2
2012-06-26 20:01:06 +08:00
Senthil Kumaran
72a80e85a8
issue13666 - Fixing datetime documentation example when using tzinfo
2012-06-26 20:00:15 +08:00
Christian Heimes
31940375a6
Added hmac.compare_digest to whatsnew
2012-06-26 10:16:55 +02:00