Yury Selivanov
da39645ad3
inspect.Signature: Add 'Signature.from_callable' classmethod. Closes #17373
2014-03-27 12:09:24 -04:00
Yury Selivanov
a5d63dd7b8
inspect.signature: Make Signature and Parameter picklable. Closes #20726
2014-03-27 11:31:43 -04:00
R David Murray
b0e6951193
Merge #20145 backport: delete whatsnew entry.
2014-03-25 15:34:17 -04:00
R David Murray
e1b6f97dae
#20145 : assert[Raises|Warns]Regex now raise TypeError on bad regex.
...
Previously a non-string, non-regex second argument could cause the test
to always pass.
Initial patch by Kamilla Holanda.
2014-03-23 15:08:43 -04:00
Brett Cannon
33a4000374
Issue #20627 : xmlrpc.client.ServerProxy is now a context manager.
...
Patch by Claudiu Popa.
2014-03-21 11:24:40 -04:00
Brett Cannon
a77d0c36e5
Issue #19165 : The formatter module graduates to full deprecation.
2014-03-21 10:52:33 -04:00
Benjamin Peterson
ee6bdc07d6
remove the ability of datetime.time to be considered false ( closes #13936 )
2014-03-20 18:00:35 -05:00
Victor Stinner
eb7d40c12c
Doc: add What's New in Python 3.5 to whatsnew index
2014-03-18 09:01:21 +01:00
Victor Stinner
7143029d43
Issue #19977 : When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale),
...
:py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the
``surrogateescape`` error handler, instead of the ``strict`` error handler.
2014-03-18 01:18:21 +01:00
Victor Stinner
01adf06d37
Add a stub "whatsnew in 3.5" document.
2014-03-18 00:53:32 +01:00
Jesus Cea
28a965ff71
Typo
2014-03-17 19:22:59 +01:00
Jesus Cea
bdb8bb39dd
Typo
2014-03-17 19:13:09 +01:00
Jesus Cea
cec25b01ec
Typo
2014-03-17 19:00:48 +01:00
Larry Hastings
3101b70762
Final documentation fixes for 3.4.0 final.
2014-03-15 22:43:17 -07:00
Larry Hastings
0548f5c514
Regenerate pydoc_topics, fix markup errors, in preparation for 3.4.0 final.
2014-03-15 22:29:19 -07:00
Larry Hastings
3732ed2414
Merge in all documentation changes since branching 3.4.0rc1.
2014-03-15 21:13:56 -07:00
R David Murray
6dfc632f1f
whatsnew: difflib.isbjunk &c were removed, not deprecated.
...
Also move NEWS item to correct position (it was in 3.3).
2014-03-13 21:34:54 -04:00
R David Murray
c4c7b1ccb6
whatsnew: cp273 codec ( #10907797 )
...
Also updated the docs and added the aliases mentioned by the
references.
2014-03-07 21:00:34 -05:00
R David Murray
b79b785a92
whatsnew: importlib deprecations.
...
This addresses issue #20199 , if I got it right. The deprecation and
replacement lists are based on the importlib documentation.
2014-02-22 14:28:46 -05:00
Yury Selivanov
026019f89b
Mangle __parameters in __annotations__ dict properly. Issue #20625 .
2014-02-18 12:49:41 -05:00
Larry Hastings
ad88d7a26b
Python 3.4.0rc1 release: Updated pydoc topics, fixed suspicious markup errors.
2014-02-10 04:26:10 -08:00
Nick Coghlan
72318b97f6
Issue #20500 : clarify that invocation may be indirect
2014-02-09 12:05:13 +10:00
Nick Coghlan
c0bc0b46bb
Issue #20500 : Note other public APIs with the new assertion
2014-02-09 12:00:01 +10:00
Nick Coghlan
3d7b3641d3
Note the new debug assertion in PyObject_Str
2014-02-09 10:57:34 +10:00
Nick Coghlan
aa029dad50
Tweaks to What's New and some referenced docs
2014-02-09 10:10:24 +10:00
Nick Coghlan
96bb437ae8
Close #20563 : Declare ipaddress API stable
2014-02-09 09:18:26 +10:00
R David Murray
45e732de70
whatsnew: read/write on closed SSL socket exception has changed.
2014-02-03 01:33:39 -05:00
R David Murray
bf0ab8377a
whatsnew: html.escape 10x faster, _gestalt module gone.
2014-02-03 01:14:03 -05:00
R David Murray
a56d4e8ea1
whatsnew: hmac accepts more bytes types, importlib decode_source, stat in C.
2014-02-02 12:50:48 -05:00
R David Murray
5147e00c81
whatsnew: -m <namespace package>, plus 'using' doc updates.
2014-02-02 12:19:57 -05:00
R David Murray
900aeb7221
whatsnew: some more importlib replacements for imp functions.
...
get_magic->util.MAGIC_NUMBER, source_from_cache, and cache_from_source.
2014-02-02 11:32:31 -05:00
R David Murray
4885f49e7f
whatsnew: filecmp.clear_cache, and reword description of cache in docs.
2014-02-02 11:11:01 -05:00
R David Murray
70e04f5fbc
whatsnew: fix importlib.reload entry.
...
Turns out I committed a work-in-progress entry because of a time
gap between when I wrote it and when I committed.
2014-02-02 10:50:17 -05:00
R David Murray
8c561b52b2
whatsnew: move of reload, update new windows-only ssl functions entry.
2014-02-01 12:27:07 -05:00
Yury Selivanov
63da7c7b0c
inspect.signature: Support duck-types of Python functions (Cython, for instance) #17159
2014-01-31 14:48:37 -05:00
Andrew Kuchling
fe0f0b050d
Typo fix
2014-01-31 12:17:53 -05:00
Yury Selivanov
d82eddcf05
inspect.getfullargspec: Use inspect.signature API behind the scenes #17481
2014-01-29 11:24:39 -05:00
Yury Selivanov
2393dca472
inspect.signature: Use '/' to separate positional-only parameters from
...
the rest in Signature.__str__. #20356
2014-01-27 15:07:58 -05:00
Nick Coghlan
77b286b2cc
Close #20105 : set __traceback__ when chaining exceptions in C
2014-01-27 00:53:38 +10:00
Eric V. Smith
df9db26902
Fix grammar: merge with 3.3.
2014-01-25 05:12:11 -05:00
Eric V. Smith
b72e69e529
Fix grammar.
2014-01-25 05:11:43 -05:00
R David Murray
f1e4fdcf16
whatsnew: smtpd *map* argument, new ssl functions/methods.
...
Fleshed out Christian's placeholder for the new ssl methods.
2014-01-21 18:30:42 -05:00
Brett Cannon
c089f70b54
Issue #18394 : Document that cgi.FieldStorage now cleans up after its
...
'file' attribute properly in Python 3.4.
Thanks to Marcel Hellkamp for pointing out the oversight.
2014-01-17 11:03:19 -05:00
Ronald Oussoren
6db6653bbc
Issue #14455 : Fix some issues with plistlib
...
* Negative integer support in binary plists was broken
* Better exception for invalid data
* Fix the versionadded/versionchanged markup in the documentation
* Add the interface cleanup to what's new for 3.4
2014-01-15 11:32:35 +01:00
Zachary Ware
335957e087
Correct a typo. Found by Lauri Hakko on docs@.
2014-01-13 16:08:54 -06:00
R David Murray
0ae7ae1fc9
whatsnew: InspectLoader.get_code now concrete, b32decode raises binascii.Error.
...
And a news item rephrase.
2014-01-08 18:16:02 -05:00
R David Murray
66bf12a58e
whatsnew: FileIO.readall performance, os.cpu_count.
...
And more news item tweaks.
2014-01-08 17:21:22 -05:00
R David Murray
0bce6e7462
whatsnew: expand 'dis' entry.
...
Also add one missing versionadded.
2014-01-07 14:30:17 -05:00
R David Murray
a101bdb88c
whatsnew: ssl getpeercert/do_handshake raise OSError, weakref __callback__.
...
Also add a missing word to gc entry, and delete a now-obsolete doc note
in the weakref __callback__ docs. (Opened an issue for rewriting
the section that compares finalizers and __del__ method.)
2014-01-06 16:32:05 -05:00
R David Murray
9835827593
whatsnew: pydoc.Scanner removal, check_output input parm, operator.py.
...
Also fleshed out the entry on struct.iter_unpack.
2014-01-05 20:52:06 -05:00