Terry Jan Reedy
d67650e241
Merge with 3.3
2014-01-28 23:14:12 -05:00
Terry Jan Reedy
1e40295af6
Idlelib: forward port changes that silenced 2.7 -3 deprecation warnings and
...
which are at least as efficient. On Py3, unpacking exceptions never works.
2014-01-28 23:13:45 -05:00
Yury Selivanov
9b9ac953c8
inspect.Signature.bind: Add **kwargs/positional-only check back
2014-01-28 20:54:28 -05:00
Victor Stinner
f40c66334d
asyncio doc: close the loop at exit
2014-01-28 23:32:40 +01:00
Yury Selivanov
38b0d5a778
inspect.Signature.bind: Fix pos-only params with defaults; fix *args in named args #19140
...
Initial patch by Yann Kaiser (epsy).
2014-01-28 17:27:39 -05:00
Yury Selivanov
8757ead38e
inspect: Fix docstrings for Parameter & Signature classes
2014-01-28 16:39:25 -05:00
Yury Selivanov
62560fb19a
inspect.signature: Handle bound methods with '(*args)' signature correctly #20401
2014-01-28 12:26:24 -05:00
Yury Selivanov
d65bc70db0
inspect.tests: Remove redundant unittest
...
The removed unittest duplicates the other one (test_signature_on_builtins_no_signature)
2014-01-28 12:19:52 -05:00
Jason R. Coombs
4d91490579
Issue #20411 : Use readline.get_current_history_length to check for the presence of a history, rather than get_history_item, which assumes a history is present.
2014-01-28 09:06:58 -05:00
Stefan Krah
748f40d162
Issue #9709 : Revert 97fb852c5c26. Many extensions are not using PyMODINIT_FUNC.
2014-01-28 15:04:40 +01:00
Larry Hastings
581ee3618c
Issue #20326 : Argument Clinic now uses a simple, unique signature to
...
annotate text signatures in docstrings, resulting in fewer false
positives. "self" parameters are also explicitly marked, allowing
inspect.Signature() to authoritatively detect (and skip) said parameters.
Issue #20326 : Argument Clinic now generates separate checksums for the
input and output sections of the block, allowing external tools to verify
that the input has not changed (and thus the output is not out-of-date).
2014-01-28 05:00:08 -08:00
Ned Deily
eecbbad89b
Fix doc reference to OS X 10.9 Mavericks.
2014-01-27 19:03:07 -07:00
Victor Stinner
041ff9be13
asyncio doc: list Windows and Mac OS X limitations and explain how to work
...
around them
2014-01-28 02:24:22 +01:00
Yury Selivanov
0adc955963
NEWS: Add few missing news items
2014-01-27 19:40:07 -05:00
Yury Selivanov
e7dcc5e97a
inspect.signature: Support classes without user-defined __init__/__new__ #20308
2014-01-27 19:29:45 -05:00
Victor Stinner
7aedea40d6
asyncio: remove temporary aliases
2014-01-28 00:09:24 +01:00
Yury Selivanov
da5fe4f2da
inspect.signature: Add support for 'functools.partialmethod' #20223
2014-01-27 17:28:37 -05:00
Victor Stinner
eedf1c1ebf
asyncio doc: subprocess_exec/subprocess_shell are not available on Windows
2014-01-27 23:01:41 +01:00
Serhiy Storchaka
f5d2f22475
Issue #19456 : ntpath.join() now joins relative paths correctly when a drive
...
is present.
2014-01-27 23:16:28 +02:00
Serhiy Storchaka
c369c2c688
Issue #19456 : ntpath.join() now joins relative paths correctly when a drive
...
is present.
2014-01-27 23:15:14 +02: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
Yury Selivanov
ea2d66e68a
doc/inspect: Clarify docs for __defaults__, add docs for __kwdefaults__ #20380
2014-01-27 14:26:28 -05:00
Yury Selivanov
2eed8b7da0
inspect.getfile: Don't crash on classes without '__module__' attribute #20372
...
Some classes defined in C may not have the '__module__' attribute, so
we now handle this case to avoid having unexepected AttributeError.
2014-01-27 13:24:56 -05:00
Victor Stinner
32970b8dec
asyncio: IncompleteReadError is a subclass of EOFError
2014-01-27 12:18:49 +01:00
Victor Stinner
b7f19ff94b
asyncio: document the IncompleteReadError exception
2014-01-27 11:58:49 +01:00
Serhiy Storchaka
9a2e75be24
Remove redundant emty line at the end of file.
2014-01-27 11:27:51 +02:00
Serhiy Storchaka
a28632be56
Issue #19077 : tempfile.TemporaryDirectory cleanup no longer fails when
...
called during shutdown. Emitting resource warning in __del__ no longer fails.
Original patch by Antoine Pitrou.
2014-01-27 11:21:54 +02:00
Serhiy Storchaka
99e033b02e
Issue #19077 : tempfile.TemporaryDirectory cleanup is now most likely
...
successful when called during nulling out of modules during shutdown.
Misleading exception no longer raised when resource warning is emitted
during shutdown.
2014-01-27 11:18:27 +02:00
Serhiy Storchaka
965dc49da3
Merge heads
2014-01-27 11:17:48 +02:00
Victor Stinner
8b86348dfa
asyncio: document add_signal_handler/remove_signal_handler, add an example for
...
signals
2014-01-27 10:07:50 +01:00
Serhiy Storchaka
3c1f0f1b42
Issue #20395 : Extract generated clinic code in Modules/_pickle.c to separate file.
2014-01-27 10:34:22 +02:00
Victor Stinner
eedc1e3031
Null merge 3.3 (patch already applied in Python 3.4)
2014-01-27 09:13:38 +01:00
Victor Stinner
b9915973f3
Issue #20367 : Fix behavior of concurrent.futures.as_completed() for duplicate
...
arguments. Patch by Glenn Langford.
2014-01-27 09:11:48 +01:00
Christian Heimes
2361216a1e
I forgot to add a Misc/NEWS entry for issue #20394
2014-01-27 09:07:45 +01:00
Georg Brandl
f1b1418feb
Closes #19966 : allow hgtouch to operate on a base dir that is != the repo root.
2014-01-27 08:22:49 +01:00
Larry Hastings
23105d8014
Merge.
2014-01-26 22:28:06 -08:00
Larry Hastings
ee4cca6e33
Post-release bump for 3.4.0 beta 3.
2014-01-26 22:27:20 -08:00
Benjamin Peterson
71215c584a
merge 3.3 ( closes #12704 )
2014-01-26 22:58:42 -05:00
Benjamin Peterson
d1c85fd283
eliminate redundancy between yield stmt and yield expr docs ( closes #12704 )
...
Patch by Nikolaus Rath.
2014-01-26 22:52:08 -05:00
Terry Jan Reedy
908669bdb3
Issue #17721 : Remove non-functional configuration dialog help button until we
...
make it actually gives some help when clicked. Patch by Guilherme Simões.
2014-01-26 22:27:38 -05:00
Terry Jan Reedy
91d4278fba
Issue #17721 : Remove non-functional configuration dialog help button until we
...
make it actually gives some help when clicked. Patch by Guilherme Simões.
2014-01-26 22:24:26 -05:00
Terry Jan Reedy
0c5b5d4571
Merge with 3.3
2014-01-26 21:35:22 -05:00
Terry Jan Reedy
1b759bc49e
Idlelib.calltips: add test of starred first parameters. They should not be
...
removed even for bound methods. (Inspect.signature does, see 20401.)
2014-01-26 21:34:33 -05:00
Terry Jan Reedy
76964877e3
White space and merge cleanup.
2014-01-26 20:24:35 -05:00
Terry Jan Reedy
0902ce437d
Merge with 3.3
2014-01-26 20:17:48 -05:00
Terry Jan Reedy
ddc5758885
Merge heads.
2014-01-26 20:16:53 -05:00
Terry Jan Reedy
a4b6b53114
Merge heads.
2014-01-26 20:12:18 -05:00
Terry Jan Reedy
e2d9b39dd4
Issue #20338 : Increase allowed tip width slightly and wrap long signagure lines.
...
Original patch by Serhiy Storchaka.
2014-01-26 20:08:26 -05:00
Terry Jan Reedy
a0f1e22068
Issue #20338 : Increase allowed tip width slightly and wrap long signagure lines.
...
Original patch by Serhiy Storchaka.
2014-01-26 19:55:34 -05:00
Christian Heimes
c4ab9a4f1d
Issue #20394 : Attempt to silence CID 1164423: Division or modulo by zero in audioop_ratecv_impl()
...
Serhiy and I had the same idea so it's most likely right. ;)
2014-01-27 01:12:00 +01:00