Mark Dickinson
0a22924d52
Issue #12965 : Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int__ will be called for non-PyLongs
2012-06-23 10:49:12 +01:00
Nick Coghlan
2f92e54507
Close #13062 : Add inspect.getclosurevars to simplify testing stateful closures
2012-06-23 19:39:55 +10:00
Mark Dickinson
970da4549a
merge
2012-06-23 09:28:08 +01:00
Mark Dickinson
be4fb69201
Issue #14742 : test_unparse now only checks a limited number of files unless the 'cpu' resource is specified.
2012-06-23 09:27:47 +01:00
Charles-François Natali
f8f5237b2f
Remove useless test (flowinfo is unsigned).
2012-06-23 10:26:54 +02:00
Charles-François Natali
9b0c006eb0
Remove useless test (flowinfo is unsigned).
2012-06-23 10:17:05 +02:00
Brian Curtin
dc00f1eba0
Fix #15148 . Capitalize PATH, hopefully leading to less confusion
2012-06-22 22:49:12 -05:00
Brian Curtin
2193536e79
Fix #15148 . Make the shutil.which docstring more thorough
2012-06-22 22:48:06 -05:00
Larry Hastings
dbbc0c8bb3
Issue #14626 : Fix buildbot issue on OpenIndiana 3.x machines. (Hopefully.)
2012-06-22 19:50:21 -07:00
Brian Curtin
fafd9eeef0
Revert unintended change in 973b4806f760
2012-06-22 21:40:52 -05:00
Brian Curtin
e3f3940fc3
file was the old arg name from an earlier patch. command matches the implementation
2012-06-22 21:14:34 -05:00
Alexander Belopolsky
de74de5d5d
Issue #15148 : Fixed typos in shutil.which() docstring
2012-06-22 21:56:42 -04:00
Alexander Belopolsky
648921371e
fixed whitespace
2012-06-22 21:10:50 -04:00
Alexander Belopolsky
8141cc7f88
Issues #11024 : Fixes and additional tests for Time2Internaldate.
2012-06-22 21:03:39 -04:00
Jesus Cea
60c13ddd9b
Skip the test only if neccesary - Kernel bug in freebsd9 - #10142 : Support for SEEK_HOLE/SEEK_DATA
2012-06-23 02:58:14 +02:00
Jesus Cea
9d874866f7
Kernel bug in freebsd9 - #10142 : Support for SEEK_HOLE/SEEK_DATA
2012-06-23 02:55:36 +02:00
Antoine Pitrou
310f95b04d
A better repr() for FileFinder
2012-06-23 02:12:56 +02:00
Larry Hastings
67cbf7bff9
Issue #14626 : Fix buildbot issue on x86 Tiger 3.x.
2012-06-22 17:06:48 -07:00
Larry Hastings
90867a5aba
Issue #14626 : Fix buildbot issues on FreeBSD (AMD64). (Fingers crossed.)
2012-06-22 17:01:41 -07:00
Larry Hastings
9cf065cfdc
Issue #14626 : Large refactoring of functions / parameters in the os module.
...
Many functions now support "dir_fd" and "follow_symlinks" parameters;
some also support accepting an open file descriptor in place of of a path
string. Added os.support_* collections as LBYL helpers. Removed many
functions only previously seen in 3.3 alpha releases (often starting with
"f" or "l", or ending with "at"). Originally suggested by Serhiy Storchaka;
implemented by Larry Hastings.
2012-06-22 16:30:09 -07:00
Antoine Pitrou
f0f4742b49
Fix silly mistake in debugging code
2012-06-23 00:49:44 +02:00
Stefan Krah
3077ab8237
Whitespace.
2012-06-23 00:31:04 +02:00
Larry Hastings
7c7cbfc00f
Issue #15008 : Implement PEP 362 "Signature Objects".
...
Patch by Yury Selivanov.
2012-06-22 15:19:35 -07:00
Guido van Rossum
8e0d25504c
Merge
2012-06-22 15:18:38 -07:00
Guido van Rossum
95c1c48fd6
Speed up base64.urlsafe_{en,de}code().
2012-06-22 15:16:09 -07:00
Antoine Pitrou
541b7c89ff
Add debug output for temporary buildbot failures
2012-06-23 00:07:38 +02:00
Antoine Pitrou
07c24d13ed
Issue #444582 : shutil.which() respects relative paths.
2012-06-22 23:33:05 +02:00
Brian Curtin
849349de05
whitespace normalize
2012-06-22 16:03:06 -05:00
Brian Curtin
c57a34577c
Fix #444582 . Add shutil.which function for finding programs on the system path.
2012-06-22 16:00:30 -05:00
Martin v. Löwis
ebd1b1dcb7
Merge heads
2012-06-22 22:19:51 +02:00
Martin v. Löwis
7c771ca413
Issue #15143 : Define _DEBUG when compiling resources.
2012-06-22 22:16:42 +02:00
Antoine Pitrou
1326e8f301
Merge
2012-06-22 22:07:24 +02:00
Alexander Belopolsky
7e3e496abb
merge
2012-06-22 16:09:42 -04:00
Antoine Pitrou
ffd4d47d0b
Add a docstring at the top of Tools/ssl/make_ssl_data.py
2012-06-22 22:07:01 +02:00
Alexander Belopolsky
93c9cd07b6
Issue #9527 : tm_gmtoff has 'correct' sign.
2012-06-22 16:04:19 -04:00
Larry Hastings
48ed36026b
Issue #14769 : Incorporated mildly pedantic feedback from python-dev.
...
Mostly documentation changes; the code changes are clarifications,
not semantic changes.
2012-06-22 12:58:36 -07:00
Antoine Pitrou
5f6213be2d
Merge
2012-06-22 21:13:34 +02:00
Antoine Pitrou
f7338f65fb
Add forgotten files for #14837 .
2012-06-22 21:12:59 +02:00
Antoine Pitrou
3b36fb1f53
Issue #14837 : SSL errors now have `library` and `reason` attributes describing precisely what happened and in which OpenSSL submodule.
...
The str() of a SSLError is also enhanced accordingly.
NOTE: this commit creates a reference leak. The leak seems tied to the
use of PyType_FromSpec() to create the SSLError type. The leak is on the
type object when it is instantiated:
>>> e = ssl.SSLError()
>>> sys.getrefcount(ssl.SSLError)
35
>>> e = ssl.SSLError()
>>> sys.getrefcount(ssl.SSLError)
36
>>> e = ssl.SSLError()
>>> sys.getrefcount(ssl.SSLError)
37
2012-06-22 21:11:52 +02:00
David Malcolm
49526f48fc
Issue #14785 : Add sys._debugmallocstats() to help debug low-level memory allocation issues
2012-06-22 14:55:41 -04:00
Kristjan Valur Jonsson
69cf913ba1
Issue #15124 : Optimize _thread.LockType deletion and acquisition when
...
not contested, similar to what _thread.RLock already has.
2012-06-22 18:40:02 +00:00
Alexander Belopolsky
878054e97b
Fixed compiler warnings in datetime_astimezone()
2012-06-22 14:11:58 -04:00
Alexander Belopolsky
31227ca514
Issue #9527 : Fixes for platforms without tm_zone
2012-06-22 13:23:21 -04:00
Alexander Belopolsky
67064bc1b6
merge
2012-06-22 12:48:08 -04:00
Alexander Belopolsky
a2637729f2
Issue #7582 : Use ISO timestamp in diff.py
2012-06-22 12:46:19 -04:00
Jesus Cea
9436361e4c
Closes #10142 : Support for SEEK_HOLE/SEEK_DATA
2012-06-22 18:32:07 +02:00
Alexander Belopolsky
ff493c9c46
Issue #9527 : datetime.astimezone() method will now supply a class
...
timezone instance corresponding to the system local timezone when
called with no arguments.
2012-06-22 12:25:57 -04:00
Alexander Belopolsky
fdc860f310
Issue #9527 : datetime.astimezone() method will now supply a class
...
timezone instance corresponding to the system local timezone when
called with no arguments.
2012-06-22 12:23:23 -04:00
Larry Hastings
8f904daee9
Issue #14769 : test_capi now has SkipitemTest, which cleverly checks
...
for "parity" between PyArg_ParseTuple() and the Python/getargs.c static
function skipitem() for all possible "format units".
2012-06-22 03:56:29 -07:00
Martin v. Löwis
466bfff9fb
Whitespace normalization
2012-06-22 12:49:59 +02:00