Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Close #19946: use runpy as needed in multiprocessing | Nick Coghlan | 2013-12-17 | 1 | -3/+12 |
| | | | | | | - handles main files without a suffix - handles main submodules properly - adds test cases for the various kinds of __main__ | ||||
* | Issue #19713: Fix mistakes in the import page of language reference. | Eric Snow | 2013-12-17 | 1 | -102/+118 |
| | | | | These mistakes were introduced by the initial PEP 451 merge. | ||||
* | Issue #19713: Update importlib docs for module spec changes, including ↵ | Eric Snow | 2013-12-17 | 2 | -22/+154 |
| | | | | deprecations. | ||||
* | Issue #20001: Add the SVG source of the pathlib-inheritance diagram to Hg | Eli Bendersky | 2013-12-17 | 1 | -0/+4 |
| | |||||
* | Backout a1a05e2724dd: shutil.which(bytes) is a new feature and my patch does ↵ | Victor Stinner | 2013-12-16 | 1 | -4/+0 |
| | | | | not work on Windows | ||||
* | Issue #18283: shutil.which() now supports bytes argument, not only text ↵ | Victor Stinner | 2013-12-16 | 1 | -0/+4 |
| | | | | argument. | ||||
* | Mention specific exceptions instead of OSError where appropriate. | Antoine Pitrou | 2013-12-16 | 1 | -3/+4 |
| | |||||
* | Issue #19921: When Path.mkdir() is called with parents=True, any missing ↵ | Antoine Pitrou | 2013-12-16 | 1 | -1/+4 |
| | | | | | | parent is created with the default permissions, ignoring the mode argument (mimicking the POSIX "mkdir -p" command). Patch by Serhiy. | ||||
* | Issue #19700: set __spec__ appropriately in runpy | Nick Coghlan | 2013-12-15 | 1 | -28/+41 |
| | | | | | | | | Note that __spec__.name is not currently guaranteed to be in sys.modules when the code is running, only __name__ is. The "running module is in sys.modules" invariant will be expanded to also cover __spec__.name in a subsequent patch. | ||||
* | #19970: fix additional typo in 3.4 asyncio docs. | R David Murray | 2013-12-14 | 1 | -1/+1 |
| | |||||
* | #19981: merge with 3.3. | Ezio Melotti | 2013-12-14 | 1 | -2/+2 |
|\ | |||||
| * | #19981: fix typo in email.mailbox docs. Patch by Claudiu Popa. | Ezio Melotti | 2013-12-14 | 1 | -2/+2 |
| | | |||||
* | | merge for issue #19963 | Brett Cannon | 2013-12-13 | 1 | -2/+5 |
|\ \ | |/ | |||||
| * | Issue #19963: Document that importlib.import_module() will import | Brett Cannon | 2013-12-13 | 1 | -2/+5 |
| | | | | | | | | parent packages automatically. | ||||
* | | Merge: #18036: update .pyc FAQ entry in light of PEP 3147. | R David Murray | 2013-12-13 | 1 | -18/+27 |
|\ \ | |/ | |||||
| * | #18036: update .pyc FAQ entry in light of PEP 3147. | R David Murray | 2013-12-13 | 1 | -18/+27 |
| | | | | | | | | Initial patch by Phil Connell. | ||||
* | | Issue #14432: Document the removal of the PyFrameObject.f_tstate field | Victor Stinner | 2013-12-13 | 1 | -10/+20 |
| | | |||||
* | | asyncio doc: explain where does the task come from. | Victor Stinner | 2013-12-13 | 1 | -4/+6 |
| | | |||||
* | | asyncio doc: change style of the sequence diagram to focus on the control flow | Victor Stinner | 2013-12-13 | 2 | -0/+0 |
| | | |||||
* | | asyncio: remove references to the Tulip project, rename Tulip to asyncio. | Victor Stinner | 2013-12-13 | 2 | -1/+6 |
| | | | | | | | | Patch written by Vajrasky Kok. | ||||
* | | Backout changeset 46393019b650 | Victor Stinner | 2013-12-13 | 1 | -5/+0 |
| | | | | | | | | test_capi is failing and the fix is not trivial, I prefer to revert | ||||
* | | Close #19787: PyThread_set_key_value() now always set the value. In Python 3.3, | Victor Stinner | 2013-12-13 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | the function did nothing if the key already exists (if the current value is a non-NULL pointer). _testcapi.run_in_subinterp() now correctly sets the new Python thread state of the current thread when a subinterpreter is created. | ||||
* | | Add a sequence diagram for the chained coroutines example | Victor Stinner | 2013-12-12 | 3 | -1/+10 |
| | | |||||
* | | #19063: fix set_payload handling of non-ASCII string input. | R David Murray | 2013-12-11 | 1 | -1/+7 |
| | | | | | | | | | | This version of the fix raises an error instead of accepting the invalid input (ie: if a non-ASCII string is used but no charset is specified). | ||||
* | | Issue #18864: Add a setter for ModuleSpec.has_location. | Eric Snow | 2013-12-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #19407: merge PPUG notes from 3.3 | Nick Coghlan | 2013-12-10 | 3 | -5/+32 |
|\ \ | |/ | |||||
| * | Issue #19407: add Python Packaging User Guide notes | Nick Coghlan | 2013-12-10 | 3 | -5/+32 |
| | | | | | | | | | | | | | | | | | | | | The stdlib docs for package distribution and building extensions are rather dated, and that isn't expected to change for 2.7 and 3.3. The Python Packaging User Guide isn't complete either, but it's already a much better road map for new users than the existing stdlib docs. | ||||
* | | asyncio doc: simplify task example | Victor Stinner | 2013-12-10 | 1 | -4/+4 |
| | | |||||
* | | asyncio doc: don't document Task.cancel(), already documented in Future.cancel() | Victor Stinner | 2013-12-10 | 1 | -4/+0 |
| | | |||||
* | | asyncio: document Task.current_task() | Victor Stinner | 2013-12-10 | 1 | -0/+8 |
| | | |||||
* | | asyncio: don't document private functions | Victor Stinner | 2013-12-10 | 1 | -8/+0 |
| | | |||||
* | | asyncio: fix 2nd task example | Victor Stinner | 2013-12-10 | 1 | -16/+16 |
| | | |||||
* | | asyncio doc: rewrite the callback hello world to use call_soon() instead of a | Victor Stinner | 2013-12-10 | 1 | -1/+1 |
| | | | | | | | | direct call. | ||||
* | | assyncio doc: rewrite, improve and move coroutine, Future and Task examples | Victor Stinner | 2013-12-10 | 1 | -142/+152 |
| | | |||||
* | | Fix typo. | Stefan Krah | 2013-12-09 | 1 | -1/+1 |
| | | |||||
* | | Fix whitespace. | Stefan Krah | 2013-12-09 | 1 | -1/+1 |
| | | |||||
* | | Merge 3.3. | Stefan Krah | 2013-12-09 | 1 | -0/+33 |
|\ \ | |/ | |||||
| * | Add libmpdec license. | Stefan Krah | 2013-12-08 | 1 | -0/+33 |
| | | |||||
* | | asyncio doc: explain why the loop is running twice | Victor Stinner | 2013-12-09 | 1 | -29/+36 |
| | | |||||
* | | asyncio: another Future example using add_done_callback() | Victor Stinner | 2013-12-09 | 1 | -2/+34 |
| | | |||||
* | | asyncio doc: add an example with Future | Victor Stinner | 2013-12-09 | 1 | -0/+24 |
| | | |||||
* | | Closes #18430: Document that peek() may change the position of the underlying | Nadeem Vawda | 2013-12-08 | 3 | -0/+15 |
|\ \ | |/ | | | | | file for the BZ2File, GzipFile and LZMAFile classes. | ||||
| * | #18430: Document that peek() may change the position of the underlying file for | Nadeem Vawda | 2013-12-08 | 3 | -0/+15 |
| | | | | | | | | the BZ2File, GzipFile and LZMAFile classes. | ||||
* | | - Issue #19736: Add module-level statvfs constants defined for GNU/glibc | doko@ubuntu.com | 2013-12-08 | 1 | -0/+15 |
| | | | | | | | | based systems. | ||||
* | | Issue #19343: Expose FreeBSD-specific APIs in resource module. Original ↵ | Christian Heimes | 2013-12-08 | 1 | -0/+28 |
| | | | | | | | | patch by Koobs. | ||||
* | | Silently ignore unregistering closed files. Fixes issue 19876. With docs and ↵ | Guido van Rossum | 2013-12-07 | 1 | -2/+5 |
| | | | | | | | | slight test refactor. | ||||
* | | Issue #6784: Strings from Python 2 can now be unpickled as bytes objects. | Alexandre Vassalotti | 2013-12-07 | 1 | -42/+46 |
| | | | | | | | | | | | | | | Initial patch by Merlijn van Deen. I've added a few unrelated docstring fixes in the patch while I was at it, which makes the documentation for pickle a bit more consistent. | ||||
* | | merge 3.3 (#19910) | Benjamin Peterson | 2013-12-07 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | document that compile() can take bytes (closes #19910) | Benjamin Peterson | 2013-12-07 | 1 | -3/+3 |
| | | |||||
* | | Mention pickle protocol 4, and some tweaks. | Antoine Pitrou | 2013-12-07 | 1 | -7/+18 |
| | |