Senthil Kumaran
1538b3d3df
issue25909 - Correct the documentation of PyMapping_Items, PyMapping_Keys and
...
PyMapping_Values in Include/abstract.h and Doc/c-api/mapping.rst.
Patch contributed by Sonali Gupta.
2016-01-21 09:37:28 -08:00
Victor Stinner
9f78939552
Issue #26107 : Fix typo in Objects/lnotab_notes.txt
...
Double parenthesis
2016-01-21 18:12:29 +01:00
Victor Stinner
875dde4387
Merge 3.5 (doc)
2016-01-21 08:58:44 +01:00
Victor Stinner
d99cd333fe
Issue #26106 : doc: Move text of licenses to parsed literal block
...
This change helps to ignore text of PSF, BEOPEN.com and CNRI licenses when
translating the documentation. Patch written by Julien Palard who is
translating Python 3.5 doc to french. Text of other licenses already used
preformatted format.
2016-01-21 08:56:00 +01:00
Benjamin Peterson
2b0b5ac5a0
merge 3.5 ( #26171 )
2016-01-20 22:25:40 -08:00
Benjamin Peterson
47b8ba22e3
merge 3.4 ( #26171 )
2016-01-20 22:25:06 -08:00
Benjamin Peterson
c4032da201
prevent buffer overflow in get_data ( closes #26171 )
2016-01-20 22:23:44 -08:00
Benjamin Peterson
ba77788bba
merge 3.5
2016-01-20 22:07:50 -08:00
Benjamin Peterson
d4d7737c3f
merge 3.4
2016-01-20 22:07:43 -08:00
Benjamin Peterson
ef9cf08352
fix refleak in error condition
2016-01-20 22:06:43 -08:00
Benjamin Peterson
e45abae08f
merge 3.5 ( #26172 )
2016-01-20 22:03:00 -08:00
Benjamin Peterson
b57eaeadff
merge 3.4 ( #26172 )
2016-01-20 22:02:47 -08:00
Benjamin Peterson
c836f717cd
remove script from epub ( closes #26172 )
2016-01-20 22:02:30 -08:00
Victor Stinner
c3ea8d2268
Merge 3.5 (issue #24520 )
2016-01-20 22:28:10 +01:00
Victor Stinner
7172f507e1
Replace fpgetmask() with fedisableexcept()
...
Issue #24520 : On FreeBSD, fpgetmask() was deprecated long time ago.
fedisableexcept() is now preferred.
2016-01-20 22:27:34 +01:00
Victor Stinner
f3914eb16d
co_lnotab supports negative line number delta
...
Issue #26107 : The format of the co_lnotab attribute of code objects changes to
support negative line number delta.
Changes:
* assemble_lnotab(): if line number delta is less than -128 or greater than
127, emit multiple (offset_delta, lineno_delta) in co_lnotab
* update functions decoding co_lnotab to use signed 8-bit integers
- dis.findlinestarts()
- PyCode_Addr2Line()
- _PyCode_CheckLineNumber()
- frame_setlineno()
* update lnotab_notes.txt
* increase importlib MAGIC_NUMBER to 3361
* document the change in What's New in Python 3.6
* cleanup also PyCode_Optimize() to use better variable names
2016-01-20 12:16:21 +01:00
Senthil Kumaran
316fcc867b
merge from 3.5
...
issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.
2016-01-20 03:11:52 -08:00
Senthil Kumaran
6a0514ea20
issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.
2016-01-20 03:10:13 -08:00
Victor Stinner
b56837a033
Merge 3.5
...
Issue #26154 : Add a new private _PyThreadState_UncheckedGet() function.
2016-01-20 11:19:46 +01:00
Victor Stinner
bfd316e750
Add _PyThreadState_UncheckedGet()
...
Issue #26154 : Add a new private _PyThreadState_UncheckedGet() function which
gets the current thread state, but don't call Py_FatalError() if it is NULL.
Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to
no more expose complex and private atomic types. Atomic types depends on the
compiler or can even depend on compiler options. The new function
_PyThreadState_UncheckedGet() allows to get the variable value without having
to care of the exact implementation of atomic types.
Changes:
* Replace direct usage of the _PyThreadState_Current variable with a call to
_PyThreadState_UncheckedGet().
* In pystate.c, replace direct usage of the _PyThreadState_Current variable
with the PyThreadState_GET() macro for readability.
* Document also PyThreadState_Get() in pystate.h
2016-01-20 11:12:38 +01:00
Serhiy Storchaka
5ccbf79eae
Issue #26147 : xmlrpc now works with strings not encodable with used
...
non-UTF-8 encoding.
2016-01-20 10:41:33 +02:00
Serhiy Storchaka
aebb6d3682
Issue #26147 : xmlrpc now works with strings not encodable with used
...
non-UTF-8 encoding.
2016-01-20 10:34:27 +02:00
Berker Peksag
5d69e6871a
Issue #5626 : Remove misleading comment from socket.gethostname() documentation
...
A machine can have more than one IP addresses so
socket.gethostbyname(socket.gethostname()) probably won't return the correct
one.
2016-01-20 08:45:54 +02:00
Berker Peksag
744fdfbf9a
Issue #5626 : Remove misleading comment from socket.gethostname() documentation
...
A machine can have more than one IP addresses so
socket.gethostbyname(socket.gethostname()) probably won't return the correct
one.
2016-01-20 08:45:37 +02:00
Berker Peksag
4f49c1c38a
Issue #26157 : Fix typos in asyncio-eventloop.rst
...
Initial patch by Carlo Beccarini.
2016-01-20 07:14:43 +02:00
Berker Peksag
49c9edf3d9
Issue #26157 : Fix typos in asyncio-eventloop.rst
...
Initial patch by Carlo Beccarini.
2016-01-20 07:14:22 +02:00
Donald Stufft
33abe9a210
Merge update to pip/setuptools
2016-01-19 20:15:33 -05:00
Donald Stufft
1dce2c72ed
Merge update to pip/setuptools
2016-01-19 20:14:39 -05:00
Donald Stufft
33a827678e
Update pip to 8.0.0 and setuptools to 19.4
2016-01-19 20:13:51 -05:00
Serhiy Storchaka
4918b47c64
Issue #25935 : Garbage collector now breaks reference loops with OrderedDict.
2016-01-19 14:48:42 +02:00
Serhiy Storchaka
d205d0145c
Issue #25935 : Garbage collector now breaks reference loops with OrderedDict.
2016-01-19 14:46:25 +02:00
Serhiy Storchaka
31a858cbf1
Issue #16620 : Got rid of using undocumented function glob.glob1().
2016-01-19 14:09:33 +02:00
Serhiy Storchaka
47670ebb0c
Issue #16620 : Fixed AttributeError in msilib.Directory.glob().
2016-01-19 14:06:13 +02:00
Serhiy Storchaka
e914cd1308
Issue #16620 : Fixed AttributeError in msilib.Directory.glob().
2016-01-19 13:55:36 +02:00
Victor Stinner
70c6a13613
Merge 3.5
2016-01-19 08:50:56 +01:00
Victor Stinner
47b91b0a81
Fix BytecodeTestCase.assertNotInBytecode()
...
Issue #11816 : Fix bytecode_helper to handle correctly errors. Don't use
unassigned variables.
2016-01-19 08:48:48 +01:00
Benjamin Peterson
2c028492d4
merge 3.5 ( #25731 )
2016-01-18 21:18:35 -08:00
Benjamin Peterson
9ad11544bf
set tp_new from the class in the hierarchy that actually owns the descriptor ( closes #25731 )
...
Debugging by Eryk Sun.
2016-01-18 21:11:18 -08:00
Senthil Kumaran
3114d763fb
merge from 3.5
...
issue23962 - Reference the correct TimeoutError in concurrent.futures documentation.
Patch contributed by Ryder Lewis.
2016-01-18 18:45:54 -08:00
Senthil Kumaran
9e9f850f99
issue23962 - Reference the correct TimeoutError in concurrent.futures documentation.
...
Patch contributed by Ryder Lewis.
2016-01-18 18:45:00 -08:00
Martin Panter
f12dc26c66
Issue #25859 : Merge NNTP test server from 3.5
2016-01-19 01:35:44 +00:00
Martin Panter
8f19e8e1c5
Issue #25859 : Reimplement NNTP test_starttls() using local server
...
The previous test relied on a remote server, which currently seems to be
shutting the connection down once TLS has been set up, causing an EOFError.
Now the test is implemented using a minimal NNTP server running in a
background thread.
2016-01-19 01:10:58 +00:00
Berker Peksag
99132051bf
Issue #25366 : Skip test_with_pip when threading module is not available
...
Some dependencies of pip import threading module unconditionally so
we need to skip the test to make buildbots happy.
2016-01-19 02:02:13 +02:00
Berker Peksag
1b25eff76e
Issue #25366 : Skip test_with_pip when threading module is not available
...
Some dependencies of pip import threading module unconditionally so
we need to skip the test to make buildbots happy.
2016-01-19 02:01:53 +02:00
Serhiy Storchaka
9d4f3d81c7
Added exceptins for testing non-reversible import mapping for Issue #26013 .
2016-01-18 22:34:19 +02:00
Serhiy Storchaka
5c1d9d2ff7
Added exceptins for testing non-reversible import mapping for Issue #26013 .
2016-01-18 22:33:44 +02:00
Serhiy Storchaka
905a97d4c2
Issue #26013 : Added compatibility with broken protocol 2 pickles created
...
in old Python 3 versions (3.4.3 and lower).
2016-01-18 21:36:03 +02:00
Serhiy Storchaka
111c7b9011
Issue #26013 : Added compatibility with broken protocol 2 pickles created
...
in old Python 3 versions (3.4.3 and lower).
2016-01-18 21:35:22 +02:00
Serhiy Storchaka
75ed708285
Issue #9006 : Added tests for XML RPC with non-UTF-8 encoding.
2016-01-18 19:40:23 +02:00
Serhiy Storchaka
084f7e4012
Issue #9006 : Added tests for XML RPC with non-UTF-8 encoding.
2016-01-18 19:39:26 +02:00