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
Martin v. Löwis
c06917bf12
Add Stable ABI documentation.
2012-06-22 12:49:08 +02:00
Martin v. Löwis
7800f75827
Issue #15042 : Add PyState_AddModule and PyState_RemoveModule.
...
Add version guard for Py_LIMITED_API additions.
Issue #15081 : Document PyState_FindModule.
Patch by Robin Schreiber.
2012-06-22 12:20:55 +02:00
Hynek Schlawack
7f59fd7c7c
Simplify code in fileio_init
...
If an identical code line is in both at the end of if and else, it can as well
stand after the block. :) The code is from 464cf523485e, I didn't see it before
checking the commits in the web interface of course.
2012-06-22 09:32:22 +02:00
Alexander Belopolsky
76935b9c8c
Issue #14653 : email.utils.mktime_tz() no longer relies on system
...
mktime() when timezone offest is supplied.
2012-06-21 20:48:23 -04:00
Alexander Belopolsky
a07548e97b
Issue #14653 : email.utils.mktime_tz() no longer relies on system
...
mktime() when timezone offest is supplied.
2012-06-21 20:34:09 -04:00
Nadeem Vawda
2180c97a00
Document the rest of zlib.compressobj()'s arguments.
...
Original patch by Jim Jewett; see issue 14684.
2012-06-22 01:40:49 +02:00
Nadeem Vawda
cf5e1d82e3
Tidy up comments from dd4f7d5c51c7 (zlib compression dictionary support).
2012-06-22 00:35:57 +02:00
Nadeem Vawda
a425c3d5a2
Make lzma.{encode,decode}_filter_properties private.
...
These functions were originally added to support LZMA compression in the zipfile
module, and are not of interest for the majority of users.
They can be made public in 3.4 if there is user interest, but in the meanwhile,
I've opted to present a smaller, simpler API for the module's initial release.
2012-06-21 23:36:48 +02:00
Brian Curtin
01317d2ed5
Merge /features/pep397 changes
2012-06-21 17:11:45 -05:00
Brian Curtin
fe078f7920
branch merge
2012-06-21 16:36:05 -05:00
Brian Curtin
6b2cf01744
Remove associator project - it's not needed
2012-06-21 16:35:12 -05:00
Hynek Schlawack
69168354c2
#10053 : Don't close FDs when FileIO.__init__ fails
...
Loosely based on the work by Hirokazu Yamamoto.
2012-06-21 20:58:31 +02:00
Hynek Schlawack
9ed8b4e4ca
#10053 : Don't close FDs when FileIO.__init__ fails
...
Loosely based on the work by Hirokazu Yamamoto.
2012-06-21 20:20:25 +02:00
Martin v. Löwis
6a8ca3edfd
Remove the original license, as this was contributed under Vinay Sajip's agreement.
2012-06-21 19:29:37 +02:00
Martin v. Löwis
8559b3cecf
Build and bundle the 32-bit launcher in all configurations.
2012-06-21 18:24:32 +02:00
Martin v. Löwis
af21ebb424
Fix UNICODE glitch.
2012-06-21 18:15:54 +02:00
Martin v. Löwis
91a3468f45
Fix off-by-one error.
2012-06-21 17:36:15 +02:00
Martin v. Löwis
7dae234e78
Package the launcher.
2012-06-21 17:36:05 +02:00
Antoine Pitrou
a759d4e9f4
Make private function static (from `make smelly`)
2012-06-21 17:26:28 +02:00
doko@ubuntu.com
c2b4673ffe
md5_{init,process,done}: make static
2012-06-21 17:26:06 +02:00
doko@ubuntu.com
1e5be8cfb5
sha1_{init,process,done}: make static
2012-06-21 17:05:50 +02:00
Martin v. Löwis
f36d65c7c8
Use GetEnvironmentVariableW instead of _wgetenv to silence VC warnings.
2012-06-21 16:33:09 +02:00
Martin v. Löwis
56bf6f8202
Add version resource.
2012-06-21 16:27:58 +02:00
doko@ubuntu.com
1e3398a50c
... and fix the name of the sha1 file name.
2012-06-21 16:22:15 +02:00
doko@ubuntu.com
dca7303ff5
Fix name of the sha1 extension.
2012-06-21 16:00:52 +02:00
doko@ubuntu.com
0684a9d146
Remove references to removed md5.h and md5.c files.
2012-06-21 12:13:35 +02:00
doko@ubuntu.com
39378f7f4f
format_obj: make it static
2012-06-21 12:12:20 +02:00
Ned Deily
69192238ba
Issue #14225 : Fix Unicode support for curses ( #12567 ) on OS X:
...
1. on OS X, there is no separate /usr/lib/libcursesw nor libpanelw
2. _XOPEN_SOURCE_EXTENDED must be enabled for _curses build
2012-06-20 23:47:14 -07:00
Brian Curtin
9698bde3c2
Add associator
2012-06-20 22:48:54 -05:00
Nadeem Vawda
fd8a838d58
Issue #14684 : Add support for predefined compression dictionaries to the zlib module.
...
Original patch by Sam Rushing.
2012-06-21 02:13:12 +02:00
Stefan Krah
50b0a365ba
Fix comment.
2012-06-20 23:38:51 +02:00
Stefan Krah
22385011ed
Many cleanups of redundant code in mpd_qrem_near():
...
1) _mpd_qdivmod() uses the context precision only in two places, and
the new code should be exactly equivalent to the previous code.
2) Remove misleading comment.
3) The quotient *is* an integer with exponent 0, so calling mpd_qtrunc()
is pointless.
4) Replace two instances of identical code by a single one.
5) Use _mpd_cmp_abs() instead of mpd_cmp_total_mag(): the operands
are not special.
6) Don't clear MPD_Rounded in the status (with the current code it should
not be set within the function).
2012-06-20 23:34:58 +02:00
Brian Curtin
4bca286160
Add pywlauncher project
2012-06-20 16:11:39 -05:00
Brian Curtin
22bf8cbb5f
Add the pyw launcher
2012-06-20 16:11:08 -05:00
Brian Curtin
d029e5dc8c
Get 64-bit building
2012-06-20 15:55:04 -05:00