Yury Selivanov
34ce99f66d
Mangle __parameters in __annotations__ dict properly. Issue #20625 .
2014-02-18 12:49:41 -05:00
Victor Stinner
8b21d91e35
Issue #20493 : Document that asyncio should not exceed one day
2014-02-18 09:37:43 +01:00
Victor Stinner
0aba4dc1ed
Close #20649 : Fix typo in asyncio doc. Patch written by Brett Cannon.
2014-02-18 09:22:00 +01:00
Victor Stinner
38df2adaeb
Close #20652 : asyncio doc: close the event loop in run_forever() example. Fix
...
also typo. Patch written by Vajrasky Kok.
2014-02-17 10:54:30 +01:00
Victor Stinner
23f628de4a
Issue #20616 : Add a format() method to tracemalloc.Traceback.
2014-02-16 23:53:38 +01:00
Andrew Kuchling
c77974e033
Merge from 3.3
2014-02-16 12:18:17 -05:00
Andrew Kuchling
3137885c36
#12211 : remove paragraph about NaNs
2014-02-16 12:09:35 -05:00
Andrew Kuchling
87a113b807
Merge from 3.3
2014-02-16 11:15:13 -05:00
Andrew Kuchling
8cb1ec3274
#12211 : clarify math.copysign() documentation and docstring
2014-02-16 11:11:25 -05:00
Georg Brandl
f7b2f36f74
Doc: do not rely on checked-out Sphinx toolchain from svn.python.org anymore
...
Nowadays it is likely that people will have Sphinx installed,
and if not, they will know how to install it.
This also simplifies life a lot for distribution packagers,
who typically do not want the doc build process to connect
to external web resources.
2014-02-16 09:46:36 +01:00
Andrew Kuchling
a3d0ffe2c6
Merge from 3.3
2014-02-15 17:22:41 -05:00
Andrew Kuchling
e5235f1624
#20241 : use correct RFC number
2014-02-15 17:11:06 -05:00
Andrew Kuchling
cb3ff4468a
#16728 : Mention collections.abc.Sequence in 'sequence' glossary entry
2014-02-15 17:05:26 -05:00
Andrew Kuchling
ac6e578691
Merge from 3.3
2014-02-15 16:40:08 -05:00
Andrew Kuchling
46ff4ee81c
Clarify versionchanged sentence. Closes #20497 .
2014-02-15 16:39:37 -05:00
Benjamin Peterson
30f240150e
merge 3.3
2014-02-15 15:39:01 -05:00
Andrew Kuchling
4da9ab0357
#20237 : make a revision pass over the XML vulnerabilities section
2014-02-15 15:33:44 -05:00
Ezio Melotti
504f6e8653
#19890 : merge with 3.3.
2014-02-15 16:59:39 +02:00
Ezio Melotti
e426b71789
#19890 : fix typo in multiprocessing docs. Patch by Mike Short.
2014-02-15 16:58:52 +02:00
Victor Stinner
28773465e6
ayncio, Tulip issue 129: BaseEventLoop.sock_connect() now raises an error if
...
the address is not resolved (hostname instead of an IP address) for AF_INET and
AF_INET6 address families.
2014-02-13 09:24:37 +01:00
R David Murray
85489f9031
whatsnew: 'other improvements' and 'optimizations' belong under CPython heading.
2014-02-12 13:41:01 -05:00
R David Murray
5d411a1a49
whatsnew: PyUnicode_FromFormat width/precision, thread cleanup after fork.
2014-02-12 13:39:11 -05:00
R David Murray
af7d2c4917
whatsnew: LOAD_CLASSDEREF, -X showrefcount
2014-02-12 13:00:36 -05:00
R David Murray
2167e29d31
whatsnew: os.path.samestat on windows, keyword defaults evaluation order.
2014-02-12 00:02:34 -05:00
R David Murray
db2d8a4ca5
whatsnew: command.com support gone, int *base* can be __index__ but not float.
2014-02-11 23:34:14 -05:00
R David Murray
d630e79cc7
whatsnew: object.__format__ raises TypeError on non-empty string.
...
See issues #7994 and #9856 . I also modified with wording of the format doc
entry to better match what really happens, and added a versionchanged to the
datamodel object.__format__ section.
2014-02-11 18:34:22 -05:00
R David Murray
540227214c
whatsnew: undocumented Popen.wait endtime is deprecated.
2014-02-11 12:40:18 -05:00
Gregory P. Smith
bbe3335f65
Deprecate Popen.wait()'s undocumented endtime parameter. issue20572.
2014-02-11 09:21:03 -08:00
R David Murray
801fe934d9
whatsnew: __complex__ may not return float, .so may have multiple python modules
...
Also a NEWS wording fixup.
2014-02-11 08:13:10 -05:00
Larry Hastings
3f99504c08
Merge Python 3.4.0rc1 release branch.
2014-02-11 00:15:46 -08:00
R David Murray
04e24288e1
whatsnew: slice.index no longer accepts negative values (or overflows).
2014-02-10 21:30:42 -05:00
R David Murray
8dffa0e5cf
Fix PYTHONPATH wording. It's just PATH, not "normal posix convention".
2014-02-10 19:16:40 -05:00
R David Murray
96eeddba05
whatsnew: bytes/bytearray.join args, PYTHONPATH= is same as not set.
2014-02-10 19:12:52 -05:00
Georg Brandl
d8413bab22
merge with 3.3
2014-02-10 22:11:21 +01:00
Georg Brandl
8f9c20b8ff
merge with 3.3.4 releasing repo
2014-02-10 22:04:20 +01: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
53281b1626
asyncio.docs: Document subprocess_exec and subprocess_shell. Issue #20694 .
2014-02-20 20:10:28 -05:00
Yury Selivanov
37f15bcfed
asyncio.docs: Improve wordings; add a note to the Coroutines section. Issue #20706
2014-02-20 16:20:44 -05:00
Yury Selivanov
d3f8e30828
asyncio.docs: Improve documentation of Streams. Issue #20696 .
2014-02-20 14:10:02 -05:00
Yury Selivanov
43ee1c1325
asyncio.docs: Document Error Handling API and asyncio.Handle
2014-02-19 20:58:44 -05:00
Victor Stinner
1415e25e05
asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG
...
env var), document the default debug mode
2014-02-20 01:44:10 +01:00
Victor Stinner
0f3e6bca1b
asyncio, Tulip issue #136 : Add get/set_debug() methods to BaseEventLoopTests.
...
Add also a PYTHONASYNCIODEBUG environment variable to debug coroutines since
Python startup, to be able to debug coroutines defined directly in the asyncio
module.
2014-02-19 23:15:02 +01:00
Victor Stinner
a6919aa4ed
asyncio: document new create_unix_connection() and create_unix_server() methods
...
of BaseEventLoop
2014-02-19 13:32:34 +01:00
Yury Selivanov
026019f89b
Mangle __parameters in __annotations__ dict properly. Issue #20625 .
2014-02-18 12:49:41 -05:00
Victor Stinner
fd9d374ae9
Issue #20493 : Document that asyncio should not exceed one day
2014-02-18 09:37:43 +01:00
Victor Stinner
86516d9225
Close #20649 : Fix typo in asyncio doc. Patch written by Brett Cannon.
2014-02-18 09:22:00 +01:00
Victor Stinner
04e05da1b3
Close #20652 : asyncio doc: close the event loop in run_forever() example. Fix
...
also typo. Patch written by Vajrasky Kok.
2014-02-17 10:54:30 +01:00
Victor Stinner
a91ff1423f
Issue #20616 : Add a format() method to tracemalloc.Traceback.
2014-02-16 23:53:38 +01:00
Victor Stinner
1b0580b320
ayncio, Tulip issue 129: BaseEventLoop.sock_connect() now raises an error if
...
the address is not resolved (hostname instead of an IP address) for AF_INET and
AF_INET6 address families.
2014-02-13 09:24:37 +01:00
Georg Brandl
b38b5c43c7
merge with 3.3
2014-02-10 22:11:21 +01:00
Larry Hastings
ad88d7a26b
Python 3.4.0rc1 release: Updated pydoc topics, fixed suspicious markup errors.
2014-02-10 04:26:10 -08:00
Larry Hastings
8f9f0f12e8
Issue #20517 : Removed unnecessary new (short-lived) functions from PyErr.
2014-02-10 03:43:57 -08:00
Larry Hastings
b082731fbb
Issue #20517 : Functions in the os module that accept two filenames
...
now register both filenames in the exception on failure.
This required adding new C API functions allowing OSError exceptions
to reference two filenames instead of one.
2014-02-09 22:05:19 -08:00
Eli Bendersky
136fea253e
More complete documentation of event loops and policies.
...
Documented the AbstractEventLoopPolicy interface explicitly and explained the
relation between the global loop & policy access functions. Added an initial
section that explains the connections in general terms. Documented missing XXX
methods.
2014-02-09 06:55:58 -08:00
Eli Bendersky
b73c83318d
Various formatting & grammar fixes in asyncio* docs.
2014-02-09 06:07:47 -08:00
Eli Bendersky
8b402629ae
Fix typo in library/ipc.rst
2014-02-09 05:54:13 -08:00
Benjamin Peterson
0b094ce170
do not line break reference
2014-02-16 12:46:30 -05: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
Victor Stinner
0c3949c963
asyncio: Remove Process.subprocess attribute; it's too easy to get inconsistent
...
Process and Popen objects
2014-02-09 02:51:40 +01:00
Nick Coghlan
3d7b3641d3
Note the new debug assertion in PyObject_Str
2014-02-09 10:57:34 +10:00
Brian Curtin
c9d1a6b85e
merge
2014-02-08 18:36:57 -06:00
Brian Curtin
a1afeec9aa
Spelling corrections. Submitted to python-dev by python@mrabarnett.plus.com
2014-02-08 18:36:14 -06:00
Victor Stinner
12c68b20b7
asyncio doc: fix gather() doc
2014-02-09 01:35:24 +01: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
Senthil Kumaran
127242654d
merge from 3.3
...
Include the mention of ResourceWarning being displayed by default by the test runner.
Addressing #issue 20529
2014-02-08 14:28:44 -08:00
Senthil Kumaran
409ea5dac1
Include the mention of ResourceWarning being displayed by default by the test runner.
...
Addressing #issue 20529
2014-02-08 14:28:03 -08:00
Victor Stinner
c1567df61e
asyncio doc: document missing event loop methods
2014-02-08 23:22:58 +01:00
Victor Stinner
ffbe3c67df
asyncio doc: sort methods
2014-02-08 22:50:07 +01:00
Ethan Furman
ca1b794dac
Close issue20534: all pickle protocols now supported.
2014-02-08 11:36:27 -08:00
Nick Coghlan
73afe2a972
Close #20481 : Disallow mixed type input in statistics
...
The most appropriate coercion rules are not yet clear, so simply
disallowing mixed type input for 3.4.
(Committed on Steven's behalf)
2014-02-08 19:58:04 +10:00
Victor Stinner
85310a50a9
Issue #20505 : Remove resolution and _granularity from selectors and asyncio
...
* Remove selectors.BaseSelector.resolution attribute
* Remove asyncio.BaseEventLoop._granularity attribute
2014-02-07 23:34:58 +01:00
R David Murray
27e9de669b
#20531 : Revert e20f98a8ed71, the 3.4 version of the #19063 fix.
2014-02-07 12:40:37 -05:00
Victor Stinner
790202d613
asyncio doc: mention that asyncio is not thread-safe
2014-02-07 19:03:05 +01:00
R David Murray
02384bfa94
#20477 : add examples of using the new contentmanager API.
2014-02-07 10:55:17 -05:00
Serhiy Storchaka
303718c3d7
Fix empty strings to empty bytes objects.
2014-02-06 21:11:33 +02:00
Serhiy Storchaka
5e028ae09e
Fix empty strings to empty bytes objects.
2014-02-06 21:10:41 +02:00
Ethan Furman
c72e638643
Close issue20412: Updated Enum docs to have referencable Enum and IntEnum classes
2014-02-06 08:13:14 -08:00
Brett Cannon
3303b6abc8
Merge for issue #20488
2014-02-06 09:49:53 -05:00
Brett Cannon
07fbd78473
Issue #20488 : Update docs to say importlib is *the* implementaiton of
...
import and not *an* implementation.
2014-02-06 09:46:08 -05:00
Brett Cannon
f811bbfe6c
Issue #6386 : When executing a script that's a symlink, the directory
...
where the symlink resolves to is added to sys.path, not the directory
containing the symlink itself.
Thanks to Sanko Resic for an initial attempt at the patch.
2014-02-06 09:22:51 -05:00
Ronald Oussoren
94e44a935b
Issue #14455 : fix handling of unsigned long long values for binary plist files
...
Values in the range of an unsigned long long, but outside of the range
of a signed long long were serialized as a negative value.
Due to a bug in PyObjC my test scripts indicated that the previous behavior
matched Apple's plist code, instead the handle large unsigned values correctly.
The change to plistlib.py is from a patch by Serhiy.
2014-02-06 11:19:18 +01:00
R David Murray
58af25e930
#14515 : clarify that TemporaryDirectory's __enter__ returns the name.
2014-02-05 14:56:39 -05:00
R David Murray
23686074b0
#14515 : clarify that TemporaryDirectory's __enter__ returns the name.
2014-02-05 14:53:40 -05:00
Guido van Rossum
3c9bb69fa1
Add missing word ("thread") to sentence about call_soon_threadsafe.
2014-02-04 13:49:34 -08:00
Victor Stinner
5cb84ed5b1
asyncio doc: add an example to schedule a coroutine from a different thread
2014-02-04 18:18:27 +01:00
Vinay Sajip
d8b24d756a
Closes #20509 : Merged documentation update from 3.3.
2014-02-04 16:42:04 +00:00
Vinay Sajip
6068b6c977
Issue #20509 : Added cross-reference in documentation.
2014-02-04 16:28:07 +00:00
Martin v. Löwis
ca7b04644c
Issue #17162 : Add PyType_GetSlot.
2014-02-04 09:33:05 +01:00
Victor Stinner
e48d4db000
asyncio doc: add an example of asyncio.subprocess with communicate() and wait()
2014-02-03 23:26:28 +01:00
Victor Stinner
b79eb0502c
asyncio.subprocess: Replace Process.get_subprocess() method with a
...
Process.subprocess read-only property
2014-02-03 23:08:14 +01:00
Benjamin Peterson
233eac42d4
remove extra backtick
2014-02-03 14:08:00 -05:00
Andrew Kuchling
ae376e5ddc
Merge from 3.3
2014-02-03 09:20:22 -05:00
Andrew Kuchling
3633da239e
Use different word
2014-02-03 09:04:02 -05:00
Vinay Sajip
d591cba9cf
Merged documentation update from 3.3.
2014-02-03 11:52:24 +00:00
Vinay Sajip
554f22ff1d
Added cookbook entry on logging filter configuration using dictConfig().
2014-02-03 11:51:45 +00: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
Victor Stinner
3bc647c0fa
Issue #20472 : asyncio: Adjust the note about Mac OS X on PTY, specify that it
...
requires at least Mac OS X 10.6.
2014-02-03 00:35:46 +01:00
Antoine Pitrou
9c2389d282
Issue #20423 : fix documentation of io.StringIO's newline parameter
2014-02-02 22:49:03 +01:00
Antoine Pitrou
be7ff9f2f9
Issue #20423 : fix documentation of io.StringIO's newline parameter
2014-02-02 22:48:25 +01:00
Victor Stinner
084443809f
asyncio: document the new asyncio.subprocess module
2014-02-02 22:43:39 +01: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
Victor Stinner
9592edb834
asyncio doc: add "asyncio-" prefix to references
2014-02-02 15:03:02 +01:00
R David Murray
8c561b52b2
whatsnew: move of reload, update new windows-only ssl functions entry.
2014-02-01 12:27:07 -05:00
Larry Hastings
7726ac9163
#Issue 20456: Several improvements and bugfixes for Argument Clinic,
...
including correctly generating code for Clinic blocks inside C
preprocessor conditional blocks.
2014-01-31 22:03:12 -08:00
Victor Stinner
606ab031c1
asyncio doc: add "Concurrency and multithreading" section
2014-02-01 03:18:58 +01:00
Victor Stinner
45b27ed53d
asyncio doc: document the granularity of the event loop
...
Improve also the "Logging" section
2014-02-01 02:36:43 +01:00
Yury Selivanov
63da7c7b0c
inspect.signature: Support duck-types of Python functions (Cython, for instance) #17159
2014-01-31 14:48:37 -05:00
Zachary Ware
28479d8c7d
Issue #20460 : Merge with 3.3
2014-01-31 12:06:48 -06:00
Zachary Ware
a479b7505e
Issue #20460 : Render 'bytes' as a class, not a function.
...
Patch by OSAMU NAKAMURA.
2014-01-31 12:06:14 -06:00
Zachary Ware
607bc3dd82
Merge with 3.3
2014-01-31 11:31:14 -06:00
Zachary Ware
19c1f3dce6
Fix unfinished thought in xml overview page. Suggested by Bo Bayles on docs@.
2014-01-31 11:30:36 -06:00
Andrew Kuchling
fe0f0b050d
Typo fix
2014-01-31 12:17:53 -05:00
Yury Selivanov
d71e52fc33
inspect.doc: Soften the note about inspect.signature not supporting
...
all builtin functions.
2014-01-30 00:22:57 -05:00
Yury Selivanov
224c9c1f49
inspect.docs: Document constructors for Signature & Parameter #20442
2014-01-30 00:12:02 -05:00
Yury Selivanov
783568980a
inspect.docs: Document constructors for Signature & Parameter #20442
2014-01-30 00:10:54 -05:00
Victor Stinner
1ad5afc050
asyncio: document iscoroutine(), iscoroutinefunction() and wait_for()
...
Mention that wait_for() now accepts None for the timeout.
2014-01-30 00:18:50 +01:00
Yury Selivanov
d82eddcf05
inspect.getfullargspec: Use inspect.signature API behind the scenes #17481
2014-01-29 11:24:39 -05:00
Victor Stinner
f40c66334d
asyncio doc: close the loop at exit
2014-01-28 23:32:40 +01: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
Victor Stinner
eedf1c1ebf
asyncio doc: subprocess_exec/subprocess_shell are not available on Windows
2014-01-27 23:01:41 +01: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
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
Victor Stinner
8b86348dfa
asyncio: document add_signal_handler/remove_signal_handler, add an example for
...
signals
2014-01-27 10:07:50 +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
Larry Hastings
23105d8014
Merge.
2014-01-26 22:28:06 -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
Guido van Rossum
e6994ff6e3
Fix issue #20367 : concurrent.futures.as_completed() for duplicate arguments.
...
Patch by Glenn Langford.
2014-01-26 09:57:51 -08:00
Nick Coghlan
77b286b2cc
Close #20105 : set __traceback__ when chaining exceptions in C
2014-01-27 00:53:38 +10:00
Larry Hastings
0e25410319
Documentation fixes, including fixing "suspicious" problems.
2014-01-26 00:42:02 -08:00
Guido van Rossum
9ad116bcd0
Document asyncio.QueueFull/Empty.
2014-01-25 17:38:31 -08:00
Victor Stinner
669eeaf933
Merge latest Tulip into asyncio
...
- Make the new granularity attribute private
- Simplify BaseEventLoop._run_once(): avoid math.ceil(), use simple arithmetic
instead
2014-01-26 00:02:31 +01:00
Eric Snow
6029e08691
Issue 19944: Fix importlib.find_spec() so it imports parents as needed.
...
The function is also moved to importlib.util.
2014-01-25 15:32:46 -07:00
Benjamin Peterson
ce8d153b02
merge 3.3
2014-01-25 13:27:53 -05:00
Benjamin Peterson
714d7ffd0d
update sphinx url
2014-01-25 13:27:06 -05:00
Benjamin Peterson
039a02c64e
linkify
2014-01-25 13:26:18 -05:00
Ezio Melotti
a3642b67ca
#20348 : fix headers markup in Argument Clinic howto. Patch by Moritz Neeb.
2014-01-25 17:27:46 +02:00
Victor Stinner
f67255ab94
Issue #20311 : asyncio: Add a granularity attribute to BaseEventLoop: maximum
...
between the resolution of the BaseEventLoop.time() method and the resolution of
the selector. The granuarility is used in the scheduler to round time and
deadline.
2014-01-25 15:01:33 +01:00
Victor Stinner
635fca9704
Issue #20311 : selectors: Add a resolution attribute to BaseSelector.
2014-01-25 14:56:48 +01: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
Georg Brandl
bcf692417f
doc: pydoc topic and suspicious markup update
2014-01-25 09:15:44 +01:00
Benjamin Peterson
e4e7199c50
merge 3.3
2014-01-25 00:00:28 -05:00
Benjamin Peterson
f580d5b6f7
update hosting faq
2014-01-24 23:59:57 -05:00
Victor Stinner
62f8eccdbf
asyncio doc: document StreamWriter.drain()
2014-01-24 18:47:26 +01:00
Victor Stinner
8c462c5a80
asyncio doc: move AbstractServer to the event loop page
...
Add also entries in the table of content for each synchronization primitive
class.
2014-01-24 18:11:43 +01:00
Victor Stinner
4b4f9ebfea
asyncio doc: add a "Coroutines and protocols" section
2014-01-24 17:33:20 +01:00
Victor Stinner
1374bd41b1
asyncio: mention that transports/protocols are low-level, streams are high-level
2014-01-24 15:34:19 +01:00
Larry Hastings
5c66189e88
Issue #20189 : Four additional builtin types (PyTypeObject,
...
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.
Also: many additional Lib, test suite, and Argument Clinic fixes.
2014-01-24 06:17:25 -08:00
Victor Stinner
c520edc08b
asyncio doc: add an client example using streams
2014-01-23 11:25:48 +01:00
Victor Stinner
24f8ebf4c5
asyncio doc: Move streams to their own dedicated page
2014-01-23 11:05:01 +01:00
Victor Stinner
c8ea81330c
asyncio doc: link create_connection() to open_connection() and create_server()
...
to start_server()
Rename also the "Network functions" section to "Stream functions" and move it to the Stream section.
2014-01-23 11:02:09 +01:00
Victor Stinner
7235c05085
asyncio doc: move stream classes to their own class
2014-01-23 10:54:57 +01:00
Victor Stinner
3eb45d3eae
asyncio: Fix open_connection() documentation, writer is a StreamWriter
2014-01-23 10:20:18 +01:00
Larry Hastings
42d9e1b9f3
Doc fixes for Argument Clinic.
2014-01-22 05:49:11 -08: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
Zachary Ware
5116f78221
Issue #20301 : Merge with 3.3
2014-01-21 13:50:13 -06:00
Zachary Ware
f7d2874d30
Issue #20301 : Mention the correct KEY_* value as the default
...
for 'access' in winreg.DeleteKeyEx. Already correct in the docs
function signature and docstring. Noticed by Justin Foo.
2014-01-21 13:49:22 -06:00
Georg Brandl
2866c6a2a1
merge with 3.3
2014-01-21 19:20:58 +01:00
Georg Brandl
7ed509a38f
fix deprecated-removed directive with sphinx 1.2
2014-01-21 19:20:31 +01:00
Terry Jan Reedy
a67a79da24
Merge with 3.3
2014-01-21 00:02:17 -05:00
Terry Jan Reedy
30ffe7eb68
Issue #20222 : file is no longer a builtin in 3.x.
2014-01-21 00:01:51 -05:00
Antoine Pitrou
b6457249bf
Fix the description of pickle protocol numbers
2014-01-21 02:39:54 +01:00
Eli Bendersky
679688e70d
Fix grammar and add markup
2014-01-20 08:13:31 -08:00
Eli Bendersky
3245e79b82
Formatting & rst link markup fixes
2014-01-20 07:51:31 -08:00
Eli Bendersky
029981bbfc
Clarify what the loop arguments means for functions listed in 18.5.2.5
2014-01-20 07:02:22 -08:00
Eli Bendersky
2d26af82c1
Explain the 'result' argument in asyncio.sleep
2014-01-20 06:59:23 -08:00
Gregory P. Smith
5a6d4bf671
Fixes Issue #20165 : The unittest module no longer considers tests marked with
...
@expectedFailure successful if they pass.
2014-01-20 01:11:18 -08:00
Benjamin Peterson
27b490c713
merge 3.3 ( #6627 )
2014-01-20 00:12:24 -05:00
Benjamin Peterson
1cfe009b96
put notes in a ..note section
2014-01-20 00:10:23 -05:00
Benjamin Peterson
f6ffb4b264
document that a new Python thread context is created in ctypes callbacks ( closes #6627 )
...
Patch by Nikolaus Rath.
2014-01-20 00:09:53 -05:00
Larry Hastings
b7ccb20423
Issue #20294 : Argument Clinic now supports argument parsing for __new__ and
...
__init__ functions.
2014-01-18 23:50:21 -08:00
Benjamin Peterson
dc3cce077d
merge 3.3 ( #17811 )
2014-01-18 22:57:05 -05:00
Benjamin Peterson
e83ed43281
improve description of buffers argument for readv/writev ( closes #17811 )
...
Patch by Nikolaus Rath.
2014-01-18 22:54:59 -05:00
Larry Hastings
537d760766
Doc improvements for Clinic howto "Goals" section.
2014-01-18 01:08:50 -08:00
Benjamin Peterson
3c16c1d821
merge 3.3
2014-01-18 00:49:30 -05:00
Benjamin Peterson
af69fe2311
rm extra whitespace
2014-01-18 00:49:04 -05:00
Benjamin Peterson
9308c420d3
merge 3.3
2014-01-18 00:47:06 -05:00
Benjamin Peterson
eacec1ccff
link to builtin open not io.open
2014-01-18 00:47:00 -05:00
Benjamin Peterson
d8af6700b9
merge 3.3 ( #17814 )
2014-01-18 00:46:49 -05:00
Benjamin Peterson
3d8814e1d3
describe type of Popen streams ( closes #17814 )
...
Patch more or less by Nikolaus Rath.
2014-01-18 00:45:56 -05:00
Larry Hastings
bebf73511a
Issue #20287 : Argument Clinic's output is now configurable, allowing
...
delaying its output or even redirecting it to a separate file.
2014-01-17 17:47:17 -08:00
Zachary Ware
601d366844
Issue #20265 : Merge with 3.3
2014-01-17 15:24:18 -06:00
Zachary Ware
c3cf97b4ea
Issue #20265 : Updated some parts of the Using Windows document.
...
Includes:
-mention cx_Freeze instead of py2exe (at least until py2exe supports Python 3)
-update ActivePython link
-Remove mention of platforms that were never supported by Python 3 (Win9x, DOS)
2014-01-17 15:23:42 -06:00
Vinay Sajip
5714e815c9
Merged documentation update from 3.3.
2014-01-17 18:36:41 +00:00
Vinay Sajip
eb14deca15
Added example to recently added cookbook entry.
2014-01-17 18:36:02 +00:00
Brett Cannon
24f60b4616
Issues #20194,20195: Add missing :deprecated: markers to some module
...
docs.
2014-01-17 12:06:28 -05:00
Brett Cannon
f0996a9970
Issue #20208 : Clarify some things in the Python porting HOWTO.
...
Thanks to Rodrigo Bernardo Pimentel, Ondřej Čertík, and Dmitry
Shachnev for the feedback leading to the changes.
2014-01-17 11:45:01 -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
Zachary Ware
77007344d9
Issue #20266 : Merge with 3.3
2014-01-17 09:00:36 -06:00
Zachary Ware
9fc0e9955d
Issue #20266 : Update parts of the Windows FAQ
2014-01-17 08:59:44 -06:00
Victor Stinner
9731183390
asyncio: oops, add missing word :-)
2014-01-17 10:31:02 +01:00
Larry Hastings
2a727916c5
Issue #20226 : Major improvements to Argument Clinic.
...
* You may now specify an expression as the default value for a
parameter! Example: "sys.maxsize - 1". This support is
intentionally quite limited; you may only use values that
can be represented as static C values.
* Removed "doc_default", simplified support for "c_default"
and "py_default". (I'm not sure we still even need
"py_default", but I'm leaving it in for now in case a
use presents itself.)
* Parameter lines support a trailing '\\' as a line
continuation character, allowing you to break up long lines.
* The argument parsing code generated when supporting optional
groups now uses PyTuple_GET_SIZE instead of PyTuple_GetSize,
leading to a 850% speedup in parsing. (Just kidding, this
is an unmeasurable difference.)
* A bugfix for the recent regression where the generated
prototype from pydoc for builtins would be littered with
unreadable "=<object ...>"" default values for parameters
that had no default value.
* Converted some asserts into proper failure messages.
* Many doc improvements and fixes.
2014-01-16 11:32:01 -08:00
Victor Stinner
59759ff234
asyncio doc: replace "coroutine" with "coroutine object" or "coroutine function"
2014-01-16 19:30:21 +01:00
Victor Stinner
db39a0da0c
asyncio: add a new "Develop with asyncio" section to the documentation
2014-01-16 18:58:01 +01:00
Benjamin Peterson
5cacb84d83
merge 3.3 ( #20272 )
2014-01-16 10:10:26 -05:00
Benjamin Peterson
2989f587a7
linkify chain.from_iterable ( closes #20272 )
2014-01-16 10:10:13 -05:00
Benjamin Peterson
a65d121607
merge 3.3 ( #20278 )
2014-01-16 09:53:22 -05:00
Benjamin Peterson
216e47d834
update pysqlite website ( closes #20278 )
2014-01-16 09:52:38 -05:00
Vinay Sajip
3763f2bc07
Merged documentation update from 3.3.
2014-01-15 15:09:43 +00:00
Vinay Sajip
cbefe3b9a0
Added cookbook entry on alternative formatting styles.
2014-01-15 15:09:05 +00:00
Vinay Sajip
6ed2893aae
Merged documentation update from 3.3.
2014-01-15 13:29:24 +00:00
Vinay Sajip
350e623623
Clarified documentation note on module-level convenience functions.
2014-01-15 13:28:39 +00: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
Larry Hastings
4a714d48ad
Issue #20268 : Argument Clinic now supports cloning the parameters
...
and return converter from existing functions.
2014-01-14 22:22:41 -08:00
Zachary Ware
af029de7b0
Issue #20255 : Update the about and bugs pages.
2014-01-14 16:03:51 -06:00
Zachary Ware
71337cb281
Issue #20255 : Update the about and bugs pages.
2014-01-14 16:03:11 -06:00
Zachary Ware
5c15424aa9
Closes #20253 : Merge typo fix
2014-01-14 09:10:33 -06:00
Zachary Ware
9774ce0cab
Issue #20253 : Fixed a typo in the ipaddress docs that advertised an
...
illegal attribute name. Found by INADA Naoki.
2014-01-14 09:09:48 -06:00
Zachary Ware
1bef5c6cc8
Merge typo fix.
2014-01-14 08:45:38 -06:00
Zachary Ware
26d5fab8c8
Fix typo. Found by David Pesta on docs@.
2014-01-14 08:44:49 -06:00
Zachary Ware
f6cb6c5e11
Merge typo fix.
2014-01-14 08:41:41 -06:00
Zachary Ware
2d13036769
Fix typo. Found by David Pesta on docs@.
2014-01-14 08:40:53 -06:00
Georg Brandl
92b7adb60d
merge
2014-01-14 12:27:44 +01:00
Georg Brandl
738cb60f65
merge with 3.3
2014-01-14 12:27:21 +01:00
Georg Brandl
8bd656ddb8
Closes #20258 : Sphinx toolchain: move back to Jinja2 2.3.1 with support for Py2.5.
2014-01-14 12:00:45 +01:00
Zachary Ware
e74f96ded5
Merge typo fix.
2014-01-13 20:39:21 -06:00
Zachary Ware
80602e0e1b
Fix typo.
2014-01-13 20:38:57 -06:00
Zachary Ware
335957e087
Correct a typo. Found by Lauri Hakko on docs@.
2014-01-13 16:08:54 -06:00
R David Murray
75ff6d284a
Merge #20236 : Fix sphinx markup.
2014-01-13 13:51:42 -05:00
R David Murray
66c9350a89
#20236 : Fix sphinx markup.
2014-01-13 13:51:17 -05:00
Senthil Kumaran
95be7ff911
merge from 3.3
...
Issue #19082 : Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.
2014-01-12 16:07:59 -08:00
Senthil Kumaran
939e2db48d
Issue #19082 : Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.
2014-01-12 16:06:58 -08:00
Larry Hastings
0191be3899
Minor doc fix in Clinic howto.
2014-01-12 13:57:36 -08:00
Larry Hastings
4a55fc5a9d
Issue #20214 : Fixed a number of small issues and documentation errors in
...
Argument Clinic (see issue for details).
2014-01-12 11:09:57 -08:00
Georg Brandl
632c812942
small grammar fix.
2014-01-12 18:03:12 +01:00
Georg Brandl
57bc1e21e7
merge with 3.3
2014-01-12 08:10:52 +01:00
Georg Brandl
6392ad98d0
Doc: update Sphinx toolchain also in make.bat
2014-01-12 08:09:01 +01:00
Georg Brandl
932c3458df
Merge with 3.3
2014-01-11 20:04:29 +01:00
Georg Brandl
5636eb7b93
Update Sphinx toolchain.
2014-01-11 20:04:19 +01:00
Georg Brandl
fa5a765506
Fix minor markup bug: sub-toctrees should not have :numbered:
2014-01-11 19:52:17 +01:00
Zachary Ware
c1cb227b3f
Closes #20200 : Argument Clinic custom converter example should be in a
...
'python' clinic block, not a 'clinic' clinic block. Patch written by
Ryan Smith-Roberts.
2014-01-09 21:41:23 -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
fdc58fd897
Merge: Fix verb tense in base64 docs, and the phrasing of a news entry.
2014-01-08 18:14:20 -05:00
R David Murray
78ee3289e9
Fix verb tense in base64 docs, and the phrasing of a news entry.
2014-01-08 18:09:29 -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
Brett Cannon
8d942296bb
Issue #19719 : Update various finder and loader ABCs such that their
...
old methods now provide implementations when PEP 451 APIs are present.
This should help with backwards-compatibility with code which has not
been updated to work with PEP 451.
2014-01-07 15:52:42 -05:00
Larry Hastings
61272b77b0
Issue #19273 : The marker comments Argument Clinic uses have been changed
...
to improve readability.
2014-01-07 12:41:53 -08:00
Larry Hastings
77561cccb2
Issue #20141 : Improved Argument Clinic's support for the PyArg_Parse "O!"
...
format unit.
2014-01-07 12:13:13 -08:00
R David Murray
0bce6e7462
whatsnew: expand 'dis' entry.
...
Also add one missing versionadded.
2014-01-07 14:30:17 -05:00
Brett Cannon
9ca21b3e1d
Issue #20096 : Update the Python 2/3 porting HOWTO to focus on
...
source-compatibility instead of 2to3.
2014-01-07 11:52:04 -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
Larry Hastings
b7f5dcadf2
Merge 3.4.0b2 release revisions back into mainline.
2014-01-06 07:24:19 -08:00
Ethan Furman
df3ed242c0
Issue19995: %o, %x, %X now only accept ints
2014-01-05 06:50:30 -08:00
Larry Hastings
bfd715ebd1
Regenerated pydoc/topics.py, and fix a "suspicious" doc error.
2014-01-05 04:35:56 -08:00
Larry Hastings
6d2ea21337
Argument Clinic: fixed test suite, improved howto.
2014-01-05 02:50:45 -08:00
R David Murray
410d320703
whatsnew: XMLPullParser, plus some doc updates.
...
I was confused by the text saying that read_events "iterated", since it
actually returns an iterator (that's what a generator does) that the
caller must then iterate. So I tidied up the language. I'm not sure
what the sentence "Events provided in a previous call to read_events()
will not be yielded again." is trying to convey, so I didn't try to fix that.
Also fixed a couple more news items.
2014-01-04 23:52:50 -05:00
R David Murray
244ad600e9
whatsnew: removal of TYPE_INT64 from marshal.
...
Also update news entry for SMTPException; when I changed it from
IOError to OSError I forgot to update the news item.
2014-01-04 21:17:52 -05:00
R David Murray
9cf617bff9
whatsnew: logging TimedRotatingFileHandler atTime parameter.
2014-01-04 18:55:01 -05:00
R David Murray
4908f4a151
whatsnew: from __future__ string exception, attribute UTF-32 decoder speedup.
...
And more news entry clarifications.
2014-01-04 18:07:20 -05:00
R David Murray
b231b2be07
whatsnew: ppring string wrapping, string pickling optimization.
...
Also clarify some NEWS entries.
2014-01-04 17:11:23 -05:00
R David Murray
57fcf76d73
whatsnew: Mock mock_open readline(s); expand description of subtests feature.
2014-01-03 23:31:54 -05:00
Serhiy Storchaka
78194cd4e9
Merge heads
2014-01-04 22:49:40 +02:00
Larry Hastings
78cf85c669
Issue #19659 : Added documentation for Argument Clinic.
2014-01-04 12:44:57 -08:00
Serhiy Storchaka
3079328d29
Reverted changeset b72c5573c5e7 (issue #15027 ).
2014-01-04 22:44:01 +02:00
Serhiy Storchaka
583a93943c
Issue #15027 : Rewrite the UTF-32 encoder. It is now 1.6x to 3.5x faster.
2014-01-04 19:25:37 +02:00
R David Murray
e608255328
whatsnew: consistently use 3 blanks between major sections. 2 for minor.
2014-01-03 16:15:45 -05:00
R David Murray
59171722f0
whatsnew: make bullet list presentation style consistent.
2014-01-03 15:52:22 -05:00
R David Murray
db085f56b9
whatsnew: unittest discovery sorting, urlllib Request getter/setter removals.
2014-01-03 15:46:24 -05:00
R David Murray
a2924cabaf
whatsnew: porting note for HTTP[S]Connection strict parameter removal.
...
It was discussed in issue #17460 whether or not to make the remaining
arguments keyword only so that things would fail noisily if someone was still
using positional parameters, but no decision was made and we are now well past
the Beta API change deadline.
2014-01-03 14:06:01 -05:00
R David Murray
0056936a4b
whatsnew: deprecation of HTTPConnection's strict parameter.
2014-01-03 13:04:25 -05:00
R David Murray
42fa110035
whatsnew: unittest import time SkipTest reported as skip not error.
2014-01-03 13:03:36 -05:00
R David Murray
a475a8d313
whatsnew: http.server send_error explain parameter.
...
Also rewrote the send_error description for clarity and correct English.
2014-01-03 13:03:00 -05:00
Martin v. Löwis
24e43308b7
* Issue #16113 : Remove sha3 module again.
...
Patch by Christian Heimes, with modifications.
2014-01-03 14:05:06 +01:00
Benjamin Peterson
002033ed63
correct word for __annotations__ doc ( closes #20110 )
...
Patch from Claudiu Popa.
2014-01-02 16:47:50 -06:00
R David Murray
12e930f3a4
#17282 : Document unittest.main defaultTest argument.
2014-01-02 13:37:26 -05:00
Benjamin Peterson
3a990c69b8
remove brackets
2014-01-02 12:22:30 -06:00
Benjamin Peterson
8ec15f7a92
merge 3.3 ( #20110 )
2014-01-02 16:48:24 -06:00
R David Murray
9025f1c5c4
whatsnew: sqlite3 uri parm, unittest.main defaultTest, ftplib.Netrc deprecation
2014-01-02 13:44:18 -05:00
R David Murray
6e731b0a41
Merge and update #17282 : Document unittest.main defaultTest argument.
...
In 3.4 defaultTest can also be a list (see issue 15132).
2014-01-02 13:43:02 -05:00
Benjamin Peterson
c22eaecd53
merge 3.3 ( closes #20108 )
2014-01-02 12:26:50 -06:00
Benjamin Peterson
a015bb1e2b
merge 3.3
2013-12-31 22:02:41 -06:00
Benjamin Peterson
fa10ae0978
update copyright year
2013-12-31 22:02:22 -06:00
R David Murray
33ef1aeb1e
whatsnew: mock called_with improvements, socket CAN_BCM support.
...
Also reworded the other entries in the socket section of whatsnew, as
well as a couple of unrelated news entries.
2013-12-31 16:04:50 -05:00
R David Murray
8b2d68245e
whatsnew: random.getrandbits performance.
...
Also fix a NEWS file issue number error, and some spacing fixes in whatsnew.
2013-12-31 15:06:05 -05:00
R David Murray
d592bb2dc4
whatsnew: afic.open supports 'with'.
2013-12-31 13:45:38 -05:00
Zachary Ware
1cb4f607d1
Merge with 3.3
2013-12-31 12:10:24 -06:00
Zachary Ware
340a692283
str subclasses may have non-empty __slots__, bytes subclasses can't.
2013-12-31 12:09:26 -06:00
R David Murray
fced3ec2db
whatsnew: argparse FileType accepts errors and encodings args.
2013-12-31 11:18:01 -05:00
R David Murray
2bc930f044
whatsnew: epoll supports with.
...
Also reworded the description of the feature in the docs.
2013-12-31 11:17:21 -05:00
Christian Heimes
f598558afb
Fixed typo (thx Arfrever)
2013-12-30 09:33:46 +01:00
Michael Foord
4d1639f4e5
Closes issue 20031. Document unittest.TextTestRunner.run method.
2013-12-29 23:38:55 +00:00
R David Murray
2691ee6183
whatsnew: abc.ABC. Also add issue number to news entry and reword.
2013-12-28 23:15:12 -05:00
Antoine Pitrou
3e86ba4e32
Issue #19422 : Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.
2013-12-28 17:26:33 +01:00
Antoine Pitrou
e6d2f159fc
Issue #19422 : Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.
2013-12-28 17:30:51 +01:00
R David Murray
473f45b4bc
whatsnew: rewrite urllib, doctest, and poplib sections.
...
Also collapse redundant versionadded/versionchanged markup in
poplib.stls entry.
2013-12-27 17:01:16 -05:00
R David Murray
d26538163e
whatsnew: importlib cleanup and source_to_code add; python partial impl.
2013-12-27 14:06:15 -05:00
R David Murray
0e814634e5
whatsnew for gc.get_stats, plus doc tweaks.
...
Clarified the "At the moment" wording, and added the get_stats entry in the
module summary that Serhiy noted was missing at the end of issue 16351.
Given that pydoc lists all the function docstrings, I'm not sure that module
summary section is actually needed; but, it is probably better to address that
when the module is converted to use Argument Clinic. In the meantime we
should keep the list complete.
2013-12-26 15:11:28 -05:00
R David Murray
575fb31955
shelf in with stmt, fish/csh in venv, ElementTree short_empty_elements keyword.
...
Also added versionadded for for fish/csh, fixed indentation of versionadded
for ElementTree.write, and make the behavior of shelf as a context manager
explicit in the docs.
2013-12-25 23:21:03 -05:00