Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #19704: Port test.test_threaded_import to PEP 451 | Brett Cannon | 2013-12-13 | 1 | -6/+6 |
| | |||||
* | 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 | 2 | -2/+8 |
| | | | | | | | | 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 #19946: Raise ImportError when the main module cannot be found | Brett Cannon | 2013-12-13 | 2 | -0/+5 |
| | | | | | | | | by multiprocessing.spawn (before it was raising an AttributeError). | ||||
* | | 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 |
| | | |||||
* | | (Merge 3.3) Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if | Victor Stinner | 2013-12-13 | 3 | -3/+25 |
|\ \ | |/ | | | | | "%c" argument is not in range [0; 255]. | ||||
| * | Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if "%c" | Victor Stinner | 2013-12-13 | 3 | -3/+25 |
| | | | | | | | | argument is not in range [0; 255]. | ||||
* | | Issue #19787: PyThread_set_key_value() now always set the value | Victor Stinner | 2013-12-13 | 6 | -39/+24 |
| | | | | | | | | | | | | | | | | | | | | In Python 3.3, PyThread_set_key_value() did nothing if the key already exists (if the current value is a non-NULL pointer). When _PyGILState_NoteThreadState() is called twice on the same thread with a different Python thread state, it still keeps the old Python thread state to keep the old behaviour. Replacing the Python thread state with the new state introduces new bugs: see issues #10915 and #15751. | ||||
* | | Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX. | Serhiy Storchaka | 2013-12-13 | 3 | -7/+4 |
|\ \ | |/ | |||||
| * | Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX. | Serhiy Storchaka | 2013-12-13 | 3 | -7/+4 |
| | | |||||
* | | asyncio: remove references to the Tulip project, rename Tulip to asyncio. | Victor Stinner | 2013-12-13 | 4 | -3/+8 |
| | | | | | | | | Patch written by Vajrasky Kok. | ||||
* | | Backout changeset 46393019b650 | Victor Stinner | 2013-12-13 | 7 | -24/+30 |
| | | | | | | | | test_capi is failing and the fix is not trivial, I prefer to revert | ||||
* | | #19957: Simplify encode_7or8bit now that _payload is always str. | R David Murray | 2013-12-13 | 2 | -14/+12 |
| | | | | | | | | Patch by Vajrasky Kok, test enhancement by me. | ||||
* | | Close #19787: PyThread_set_key_value() now always set the value. In Python 3.3, | Victor Stinner | 2013-12-13 | 7 | -30/+24 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | Issue #19952: test_asyncio: relax timings of Windows events, buildbots are | Victor Stinner | 2013-12-13 | 1 | -2/+2 |
| | | | | | | | | sometimes busy | ||||
* | | (Merge 3.3) Issue #14432: Fix compilation when thread support is disabled | Victor Stinner | 2013-12-13 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | Issue #14432: Fix compilation when thread support is disabled | Victor Stinner | 2013-12-13 | 1 | -0/+4 |
| | | |||||
* | | Issue #14432: Null merge 3.3, Python 3.4 has a different fix | Victor Stinner | 2013-12-13 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Issue #14432: Generator now clears the borrowed reference to the thread state | Victor Stinner | 2013-12-13 | 4 | -0/+141 |
| | | | | | | | | | | | | | | Fix a crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup. | ||||
* | | Issue #14432: Remove the thread state field from the frame structure. Fix a | Victor Stinner | 2013-12-13 | 8 | -45/+179 |
| | | | | | | | | | | | | | | crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup. | ||||
* | | Close #19576: PyGILState_Ensure() now initializes threads. At startup, Python | Victor Stinner | 2013-12-13 | 2 | -0/+10 |
| | | | | | | | | | | | | has no concrete GIL. If PyGILState_Ensure() is called from a new thread for the first time and PyEval_InitThreads() was not called yet, a GIL needs to be created. | ||||
* | | Issue #19751: Fix hash_info test of test_sys on SPARC Solaris | Victor Stinner | 2013-12-12 | 1 | -5/+1 |
| | | |||||
* | | Issue #19751: Fix typo in configuration option | Victor Stinner | 2013-12-12 | 1 | -1/+1 |
| | | |||||
* | | Merge from 3.3. | Stefan Krah | 2013-12-12 | 1 | -7/+7 |
|\ \ | |/ | |||||
| * | Do not discard const qualifier without a reason. | Stefan Krah | 2013-12-12 | 1 | -7/+7 |
| | | |||||
* | | Merge fix from 3.3 | Zachary Ware | 2013-12-12 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Avoid UnicodeEncodeError by only printing ASCII. | Zachary Ware | 2013-12-12 | 1 | -2/+2 |
| | | | | | | | | | | This fixes running test_decimal in verbose mode on Windows, which I broke in issue #19572. | ||||
* | | Add a sequence diagram for the chained coroutines example | Victor Stinner | 2013-12-12 | 3 | -1/+10 |
| | | |||||
* | | Properly filter some recent additions in the Windows build files. | Zachary Ware | 2013-12-11 | 3 | -2/+44 |
| | | |||||
* | | Null merge with 3.3. | Zachary Ware | 2013-12-11 | 0 | -0/+0 |
|\ \ | |/ | | | | | | | There are enough new things to make the merge harder than making the change in VS, and there are other things to add filters for in 3.4. | ||||
| * | Filter namespaceobject's files properly in the pythoncore VS project. | Zachary Ware | 2013-12-11 | 1 | -2/+6 |
| | | |||||
* | | Issue #19828: Merge with 3.3 | Zachary Ware | 2013-12-11 | 2 | -9/+10 |
|\ \ | |/ | |||||
| * | Issue #19828: Fixed test_site when the whole suite is run with -S. | Zachary Ware | 2013-12-11 | 2 | -9/+10 |
| | | | | | | | | Also, cleaned up an unused import. | ||||
* | | #19063: fix set_payload handling of non-ASCII string input. | R David Murray | 2013-12-11 | 6 | -38/+85 |
| | | | | | | | | | | 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). | ||||
* | | Null merge for #19063 (3.4 fix is different). | R David Murray | 2013-12-11 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | #19063: partially fix set_payload handling of non-ASCII string input. | R David Murray | 2013-12-11 | 4 | -11/+63 |
| | | | | | | | | | | | | This is a backward compatible partial fix, the complete fix requires raising an error instead of accepting the invalid input, so the real fix is only suitable for 3.4. | ||||
* | | Issue #17576: Deprecation warning emitted now when __int__() or __index__() | Serhiy Storchaka | 2013-12-11 | 7 | -186/+312 |
|\ \ | |/ | | | | | | | return not int instance. Introduced _PyLong_FromNbInt() and refactored PyLong_As*() functions. | ||||
| * | Issue #17576: Deprecation warning emitted now when __int__() or __index__() | Serhiy Storchaka | 2013-12-11 | 7 | -186/+312 |
| | | | | | | | | | | return not int instance. Introduced _PyLong_FromNbInt() and refactored PyLong_As*() functions. | ||||
* | | Issue #18864: Add a setter for ModuleSpec.has_location. | Eric Snow | 2013-12-11 | 5 | -2910/+2932 |
| | | |||||
* | | null merge (3.4 doesn't need this fix) | Gregory P. Smith | 2013-12-11 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Fixes Issue #17200: telnetlib's read_until and expect timeout was broken by the | Gregory P. Smith | 2013-12-11 | 2 | -2/+9 |
| | | | | | | | | | | | | fix to Issue #14635 in Python 3.3.0 to be interpreted as milliseconds instead of seconds when the platform supports select.poll (ie: everywhere). It is now treated as seconds once again. | ||||
* | | Issue #18270: merge from 3.3 | Ned Deily | 2013-12-11 | 2 | -12/+18 |
|\ \ | |/ | |||||
| * | Issue #18270: Prevent possible IDLE AttributeError on OS X when no initial | Ned Deily | 2013-12-11 | 2 | -12/+18 |
| | | | | | | | | shell window is present. (Original patch by Terry Reedy) | ||||
* | | Issue #19928: Fix test on Windows | Zachary Ware | 2013-12-10 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #19928: Fix test on Windows | Zachary Ware | 2013-12-10 | 1 | -2/+2 |
| | | |||||
* | | #19943: merge with 3.3. | Ezio Melotti | 2013-12-10 | 1 | -1/+1 |
|\ \ | |/ |