Petri Lehtinen
fa52cbd5e6
#14863 : Update the documentation of os.fdopen()
2012-05-24 21:49:59 +03:00
Hynek Schlawack
f0bf135cd1
Restore [] where default arguments are not keywords
2012-05-22 16:14:56 +02:00
Nick Coghlan
161ea6a349
Fix typo
2012-05-22 23:04:42 +10:00
Nick Coghlan
a497b44238
Fix the versionadded tags for a couple of my recent changes
2012-05-22 23:02:00 +10:00
Georg Brandl
945a3ada7f
Avoid useless indentation.
2012-05-21 20:28:58 +02:00
Antoine Pitrou
389e8c85cd
Remove outdated statement.
2012-05-21 19:23:00 +02:00
Nick Coghlan
3267a30de1
Close #13585 : add contextlib.ExitStack to replace the ill-fated contextlib.nested API
2012-05-21 22:54:43 +10:00
Hynek Schlawack
6e49ac2406
#14804 : Remove [] around optional arguments with default values
...
3.3 specific additions to d13fdd97cc8e.
2012-05-21 13:41:25 +02:00
Hynek Schlawack
87d8200978
#14804 : Remove [] around optional arguments with default values
2012-05-21 13:35:03 +02:00
Hynek Schlawack
44f7cf0b2f
Fix versionchanged tags for json.load
...
`versionchanged` tags about 2.7 are useless in 3.x branches.
2012-05-20 18:34:11 +02:00
Vinay Sajip
07162d4142
Closes #14864 : Added documentation on how to undo the effects of a logging.disable() call. Thanks to user Guillaume for the suggestion.
2012-05-20 15:37:33 +01:00
Nick Coghlan
305acf2fff
Remove an incorrect implementation detail
2012-05-20 21:22:27 +10:00
Nick Coghlan
dc9b2555a8
Issue #14814 : addition of the ipaddress module (stage 1 - code and tests)
2012-05-20 21:01:57 +10:00
Hynek Schlawack
7db768cf0e
Document when json.load's parse_constant behaviour changed
...
It doesn't get called on 'null', 'true', 'false' since f686aced02a3.
2012-05-20 12:04:01 +02:00
Charles-François Natali
6c7bf42656
Merge.
2012-05-20 11:43:28 +02:00
Charles-François Natali
b93f9fa700
Issue #12760 : Add some mising documentation about the new x exclusive
...
creation flag to open().
2012-05-20 11:41:53 +02:00
Nick Coghlan
b267475ccf
Clarify a paragraph in the new metaclass docs
2012-05-20 19:36:40 +10:00
Nick Coghlan
337b2bfbc4
Describe the default hash correctly, and mark a couple of CPython implementation details
2012-05-20 18:30:49 +10:00
Nick Coghlan
78770f0b78
Fix typo in new metaclass docs
2012-05-20 18:15:11 +10:00
Raymond Hettinger
010ce3283a
Minor change to default lru size. Set default to a power of two.
2012-05-19 21:20:48 -07:00
Nick Coghlan
7fc570a51e
Close #14588 : added a PEP 3115 compliant dynamic type creation mechanism
2012-05-20 02:34:13 +10:00
Petri Lehtinen
7c5ba513b9
#14494 : Document that absolute imports became default in 3.0 instead of 2.7.
2012-05-19 18:38:43 +03:00
Hynek Schlawack
d527259f14
#13152 : Allow to specify a custom tabsize for expanding tabs in textwrap
...
Patch by John Feuerstein.
2012-05-19 13:33:11 +02:00
Petri Lehtinen
ed3639595a
Fix time.time() references in the time module docs
...
Closes #14842 .
2012-05-18 21:28:47 +03:00
Antoine Pitrou
fc6acccbaf
Remove outdated statements about threading and imports.
2012-05-18 13:57:04 +02:00
Antoine Pitrou
79341e7865
Add a mention of the new import locks in whatsnew.
2012-05-17 21:13:45 +02:00
Antoine Pitrou
6c6d3a2f9f
Move import lock-related functions to a separate doc section.
2012-05-17 19:00:35 +02:00
Antoine Pitrou
ea3eb88bca
Issue #9260 : A finer-grained import lock.
...
Most of the import sequence now uses per-module locks rather than the
global import lock, eliminating well-known issues with threads and imports.
2012-05-17 18:55:59 +02:00
Antoine Pitrou
5cec9d2ae5
Add mention of decoding optimizations in the what's new document.
2012-05-17 17:37:02 +02:00
R David Murray
dd95974509
#14823 : Simplify threading.Lock.acquire argument discussion.
2012-05-17 09:14:28 -04:00
Antoine Pitrou
de9ac6c2e5
Issue #14780 : urllib.request.urlopen() now has a cadefault argument to use the default certificate store.
...
Initial patch by James Oakley.
2012-05-16 21:40:01 +02:00
Hynek Schlawack
07542a0629
#14692 Fix json docs to reflect changes in json.load
...
The behaviour of the parse_constant callback changed insofar that 'null',
'true', 'false' don't trigger its call anymore.
Patch by Serhiy Storchaka
2012-05-16 19:08:36 +02:00
Hynek Schlawack
51b2ed51f0
#14809 : Add HTTP status codes from RFC 6585 to http.server and http.client
...
Patch by EungJun Yi.
2012-05-16 09:51:07 +02:00
R David Murray
a32df1e0e6
merge #1440472 : reflow
2012-05-15 22:13:55 -04:00
R David Murray
b3ad106dca
merge #1440472 : Explain that email parser/generator isn't *quite* "idempotent"
2012-05-15 22:09:14 -04:00
Charles-François Natali
9b704ec9e1
Add versionadded for hmac.secure_compare().
2012-05-15 21:00:32 +02:00
Giampaolo Rodola'
0fb41b56ea
remove unused import in asyncore doc
2012-05-15 15:46:00 +02:00
Giampaolo Rodola'
ffa1d0b8d5
#14807 : move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning.
2012-05-15 15:30:25 +02:00
Benjamin Peterson
d5a1c44455
PEP 415: Implement suppression of __context__ display with an exception attribute
...
This replaces the original PEP 409 implementation. See #14133 .
2012-05-14 22:09:31 -07:00
R David Murray
d91dc62379
Merge #14766 : Add correct algorithm for when a 'time' object is naive.
...
This patch also clarifies the definition of Naive and Aware.
Original patch by Greg Weller, I modified the first hunk
somewhat to make the exposition even clearer (I hope).
2012-05-14 22:19:10 -04:00
Ezio Melotti
c31dd2b564
#14405 : merge with 3.2.
2012-05-14 13:32:26 +03:00
Mark Dickinson
a9d9d17f8b
Issue #14245 : Merge changes from 3.2.
2012-05-13 21:02:22 +01:00
Antoine Pitrou
9a2349030a
Issue #14417 : Mutating a dict during lookup now restarts the lookup instead of raising a RuntimeError (undoes issue #14205 ).
2012-05-13 20:48:01 +02:00
Charles-François Natali
7feb9f4225
Issue #14532 : Add a secure_compare() helper to the hmac module, to mitigate
...
timing attacks. Patch by Jon Oberheide.
2012-05-13 19:53:07 +02:00
Brett Cannon
d200bf534b
Add importlib.util.resolve_name().
2012-05-13 13:45:09 -04:00
Ezio Melotti
faedde3e1f
#14770 : merge with 3.2.
2012-05-13 20:17:40 +03:00
Brett Cannon
62961dde31
Issue #13959 : Document imp.find_module/load_module as deprecated.
...
The code itself does not raise a DeprecationWarning as the functions
are technically fine, it's just a bad API. Unfortunately experience
has shown that the terrible API has been exposed in various places,
necessitating that it stick around probably until py4k comes around
since it is such a shift to move over to importlib.find_loader().
2012-05-13 13:04:21 -04:00
Sandro Tosi
708d88c334
merge with 3.2
2012-05-13 11:01:36 +02:00
Martin v. Löwis
7fb79fcb64
Issue #14366 : Support lzma compression in zip files.
...
Patch by Serhiy Storchaka.
2012-05-13 10:06:36 +02:00
Brett Cannon
ee78a2b51c
Issue #13959 : Introduce importlib.find_loader().
...
The long-term goal is to deprecate imp.find_module() in favour of this
API, but it will take some time as some APIs explicitly return/use what
imp.find_module() returns.
2012-05-12 17:43:17 -04:00