summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19704: Port test.test_threaded_import to PEP 451Brett Cannon2013-12-131-6/+6
|
* merge for issue #19963Brett Cannon2013-12-131-2/+5
|\
| * Issue #19963: Document that importlib.import_module() will importBrett Cannon2013-12-132-2/+8
| | | | | | | | parent packages automatically.
* | Merge: #18036: update .pyc FAQ entry in light of PEP 3147.R David Murray2013-12-131-18/+27
|\ \ | |/
| * #18036: update .pyc FAQ entry in light of PEP 3147.R David Murray2013-12-131-18/+27
| | | | | | | | Initial patch by Phil Connell.
* | Issue #19946: Raise ImportError when the main module cannot be foundBrett Cannon2013-12-132-0/+5
| | | | | | | | by multiprocessing.spawn (before it was raising an AttributeError).
* | Issue #14432: Document the removal of the PyFrameObject.f_tstate fieldVictor Stinner2013-12-131-10/+20
| |
* | asyncio doc: explain where does the task come from.Victor Stinner2013-12-131-4/+6
| |
* | asyncio doc: change style of the sequence diagram to focus on the control flowVictor Stinner2013-12-132-0/+0
| |
* | (Merge 3.3) Issue #19969: PyBytes_FromFormatV() now raises an OverflowError ifVictor Stinner2013-12-133-3/+25
|\ \ | |/ | | | | "%c" argument is not in range [0; 255].
| * Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if "%c"Victor Stinner2013-12-133-3/+25
| | | | | | | | argument is not in range [0; 255].
* | Issue #19787: PyThread_set_key_value() now always set the valueVictor Stinner2013-12-136-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 Storchaka2013-12-133-7/+4
|\ \ | |/
| * Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.Serhiy Storchaka2013-12-133-7/+4
| |
* | asyncio: remove references to the Tulip project, rename Tulip to asyncio.Victor Stinner2013-12-134-3/+8
| | | | | | | | Patch written by Vajrasky Kok.
* | Backout changeset 46393019b650Victor Stinner2013-12-137-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 Murray2013-12-132-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 Stinner2013-12-137-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 areVictor Stinner2013-12-131-2/+2
| | | | | | | | sometimes busy
* | (Merge 3.3) Issue #14432: Fix compilation when thread support is disabledVictor Stinner2013-12-131-0/+5
|\ \ | |/
| * Issue #14432: Fix compilation when thread support is disabledVictor Stinner2013-12-131-0/+4
| |
* | Issue #14432: Null merge 3.3, Python 3.4 has a different fixVictor Stinner2013-12-130-0/+0
|\ \ | |/
| * Issue #14432: Generator now clears the borrowed reference to the thread stateVictor Stinner2013-12-134-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 aVictor Stinner2013-12-138-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, PythonVictor Stinner2013-12-132-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 SolarisVictor Stinner2013-12-121-5/+1
| |
* | Issue #19751: Fix typo in configuration optionVictor Stinner2013-12-121-1/+1
| |
* | Merge from 3.3.Stefan Krah2013-12-121-7/+7
|\ \ | |/
| * Do not discard const qualifier without a reason.Stefan Krah2013-12-121-7/+7
| |
* | Merge fix from 3.3Zachary Ware2013-12-121-2/+2
|\ \ | |/
| * Avoid UnicodeEncodeError by only printing ASCII.Zachary Ware2013-12-121-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 exampleVictor Stinner2013-12-123-1/+10
| |
* | Properly filter some recent additions in the Windows build files.Zachary Ware2013-12-113-2/+44
| |
* | Null merge with 3.3.Zachary Ware2013-12-110-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 Ware2013-12-111-2/+6
| |
* | Issue #19828: Merge with 3.3Zachary Ware2013-12-112-9/+10
|\ \ | |/
| * Issue #19828: Fixed test_site when the whole suite is run with -S.Zachary Ware2013-12-112-9/+10
| | | | | | | | Also, cleaned up an unused import.
* | #19063: fix set_payload handling of non-ASCII string input.R David Murray2013-12-116-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 Murray2013-12-110-0/+0
|\ \ | |/
| * #19063: partially fix set_payload handling of non-ASCII string input.R David Murray2013-12-114-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 Storchaka2013-12-117-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 Storchaka2013-12-117-186/+312
| | | | | | | | | | return not int instance. Introduced _PyLong_FromNbInt() and refactored PyLong_As*() functions.
* | Issue #18864: Add a setter for ModuleSpec.has_location.Eric Snow2013-12-115-2910/+2932
| |
* | null merge (3.4 doesn't need this fix)Gregory P. Smith2013-12-110-0/+0
|\ \ | |/
| * Fixes Issue #17200: telnetlib's read_until and expect timeout was broken by theGregory P. Smith2013-12-112-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.3Ned Deily2013-12-112-12/+18
|\ \ | |/
| * Issue #18270: Prevent possible IDLE AttributeError on OS X when no initialNed Deily2013-12-112-12/+18
| | | | | | | | shell window is present. (Original patch by Terry Reedy)
* | Issue #19928: Fix test on WindowsZachary Ware2013-12-101-2/+2
|\ \ | |/
| * Issue #19928: Fix test on WindowsZachary Ware2013-12-101-2/+2
| |
* | #19943: merge with 3.3.Ezio Melotti2013-12-101-1/+1
|\ \ | |/