Commit graph

16079 commits

Author SHA1 Message Date
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