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.
11 years ago
Benjamin Peterson
47b8ba22e3
merge 3.4 ( #26171 )
11 years ago
Benjamin Peterson
c4032da201
prevent buffer overflow in get_data ( closes #26171 )
11 years ago
Benjamin Peterson
d4d7737c3f
merge 3.4
11 years ago
Benjamin Peterson
ef9cf08352
fix refleak in error condition
11 years ago
Benjamin Peterson
b57eaeadff
merge 3.4 ( #26172 )
11 years ago
Benjamin Peterson
c836f717cd
remove script from epub ( closes #26172 )
11 years ago
Victor Stinner
7172f507e1
Replace fpgetmask() with fedisableexcept()
Issue #24520 : On FreeBSD, fpgetmask() was deprecated long time ago.
fedisableexcept() is now preferred.
11 years ago
Senthil Kumaran
6a0514ea20
issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.
11 years ago
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
11 years ago
Serhiy Storchaka
aebb6d3682
Issue #26147 : xmlrpc now works with strings not encodable with used
non-UTF-8 encoding.
11 years ago
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.
11 years ago
Berker Peksag
49c9edf3d9
Issue #26157 : Fix typos in asyncio-eventloop.rst
Initial patch by Carlo Beccarini.
11 years ago
Donald Stufft
1dce2c72ed
Merge update to pip/setuptools
11 years ago
Donald Stufft
33a827678e
Update pip to 8.0.0 and setuptools to 19.4
11 years ago
Serhiy Storchaka
d205d0145c
Issue #25935 : Garbage collector now breaks reference loops with OrderedDict.
11 years ago
Serhiy Storchaka
e914cd1308
Issue #16620 : Fixed AttributeError in msilib.Directory.glob().
11 years ago
Victor Stinner
47b91b0a81
Fix BytecodeTestCase.assertNotInBytecode()
Issue #11816 : Fix bytecode_helper to handle correctly errors. Don't use
unassigned variables.
11 years ago
Benjamin Peterson
9ad11544bf
set tp_new from the class in the hierarchy that actually owns the descriptor ( closes #25731 )
Debugging by Eryk Sun.
11 years ago
Senthil Kumaran
9e9f850f99
issue23962 - Reference the correct TimeoutError in concurrent.futures documentation.
Patch contributed by Ryder Lewis.
11 years ago
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.
11 years ago
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.
11 years ago
Serhiy Storchaka
5c1d9d2ff7
Added exceptins for testing non-reversible import mapping for Issue #26013 .
11 years ago
Serhiy Storchaka
111c7b9011
Issue #26013 : Added compatibility with broken protocol 2 pickles created
in old Python 3 versions (3.4.3 and lower).
11 years ago
Serhiy Storchaka
084f7e4012
Issue #9006 : Added tests for XML RPC with non-UTF-8 encoding.
11 years ago
Senthil Kumaran
76d9a6bbd2
Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.
11 years ago
Terry Jan Reedy
356765194c
Issue #25905 : Specify 'ascii' encoding for README.txt and NEWS.txt.
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.
11 years ago
Senthil Kumaran
80538e9dfe
Issue26135 - In the tutorial section on modules, reference importlib.reload instead of imp.reload.
11 years ago
Steve Dower
332334f1ab
Issue #26071 : bdist_wininst created binaries fail to start and find 32bit Python
11 years ago
Steve Dower
87fb7f64d8
Issue #26073 : Update the list of magic numbers in launcher
11 years ago
Steve Dower
10cabcbe14
Issue #26065 : Excludes venv from library when generating embeddable distro.
11 years ago
Steve Dower
1d329413fc
Issue #25850 : Use cross-compilation by default for 64-bit Windows.
11 years ago
Steve Dower
e248f6875b
Issue #25089 : Adds short documentation section for modifying an install.
11 years ago
Senthil Kumaran
a82908f743
Issue26035 - Correct the argument names used in the docs of the traceback module. Make it consistent with module args.
Patch contributed by Upendra Kumar.
11 years ago
Martin Panter
7a5fe6d5d1
Issue #14771 : Redirect GDB's stdin to avoid messing the terminal settings
Otherwise, GDB seems to affect the terminal's foreground process group,
interfering with test_ioctl, which does not expect the foreground process to
change during the test. This change also solves the problem of the tests
being stopped in the shell if test_gdb is run twice in parallel.
11 years ago
Martin Panter
20b1bfa6fb
Issue #26127 : Fix links in tokenize documentation; patch by Silent Ghost
11 years ago
Gregory P. Smith
a3a58331a5
Make the error message regex more lenient so that it matches both
"certificate verify failed " and "CERTIFICATE_VERIFY_FAILED " as
some SSL libraries use different text than OpenSSL.
11 years ago
Gregory P. Smith
c7b05a409d
Make the error message regex more lenient so that it matches both
"certificate verify failed " and "CERTIFICATE_VERIFY_FAILED " as
some SSL libraries use different text than OpenSSL.
11 years ago
Brett Cannon
56aae8f304
Issue #17633 : Improve support for namespace packages with zipimport.
Previously zipimport mistakenly limited namespace support to only the
top-level of the zipfile when it should have supported an arbitrary
depth.
Thanks to Phil Connel for the bug report and initial patch and Mike
Romberg for the final patch.
11 years ago
Brett Cannon
07b954d148
Add some "used with permission" mentions where external resources are referenced.
Permission was validated prior to adding these markings.
11 years ago
Brett Cannon
45adb3100b
Issue #26114 : Remove a reference to 'Numerical Recipes'.
While no copyright violation occurred, the license which
'Numerical Recipes' operates under is not amenable to Python,
so to prevent confusion it's easier to simply remove its mention.
11 years ago
Martin Panter
a8b43b5fc3
Issue #25940 : Merge ETIMEDOUT fix from 3.4 into 3.5
11 years ago
Martin Panter
3f2240ccb6
Issue #25940 : Merge ETIMEDOUT fix from 3.3 into 3.4
11 years ago
Martin Panter
fab75d9bb9
Issue #25940 : Merge ETIMEDOUT fix from 3.2 into 3.3
11 years ago
Martin Panter
035583b389
Issue #25940 : On Windows, connecting to port 444 returns ETIMEDOUT
11 years ago
Martin Panter
40b97ec57a
Issue #25940 : Update new SSL tests for self-signed.pythontest.net
Removed SSL_ERROR_SYSCALL checking from ssl_io_loop() so that the loop can
terminate when unwrap() raises that error.
11 years ago
Martin Panter
17cbee49d6
Issue #25940 : Merge self-signed.pythontest.net testing from 3.4 into 3.5
11 years ago
doko@ubuntu.com
17210f50d2
dictobject.c(dict_sizeof): Make it static again.
11 years ago
Martin Panter
b55f8b79af
Issue #25940 : Update new SSL tests for self-signed.pythontest.net
11 years ago
Martin Panter
514bb0711f
Issue #25940 : Merge self-signed.pythontest.net testing from 3.3 into 3.4
11 years ago