Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport bpo-27456: Ensure TCP_NODELAY is set on linux 3.6 #4897

Closed
wants to merge 1,093 commits into from

Conversation

Projects
None yet
@1st1
Copy link
Member

commented Dec 16, 2017

benjaminp and others added some commits Sep 28, 2017

[3.6] closes bpo-22140: Prevent double substitution of prefix in pyth…
…on-config.sh (GH-3769) (#3793)

Fix the logic in python-config.sh to avoid attempting to substitute
prefix in a variable that might have already been subject to
substitution. This e.g. happened if @exec_prefix@ was defined as
"${prefix}" (which is the default of the configure script) -- in which
case the exec_prefix_build variable was initialized with
already-subtituted prefix, and then another round of substitution was
performed which might have resulted in duplicate prefix.

To avoid that, rename the variables so that the variables matching
likely configure names (prefix, exec_prefix) retain their original
values and a '_real' suffix is used for the real values of prefix.

Furthermore, replace the unnecessary prefix and exec_prefix
substitutions with direct prefix_real references since the sed
always replaced the whole string anyway by design.
(cherry picked from commit 14086cf)
[3.6] bpo-31478: Fix an assertion failure in random.seed() in case a …
…seed has a bad __abs__() method. (GH-3596) (#3794)

(cherry picked from commit d780b2d)
[3.6] bpo-31536: Avoid wholesale rebuild after `make regen-all` (GH-3678
) (#3797)

bpo-31536: Avoid wholesale rebuild after `make regen-all`
bpo-28129: fix ctypes crashes (#386) (#3799)
* init commit, with initial tests for from_param and fields __set__ and __get__, and some additions to from_buffer and from_buffer_copy

* added the rest of tests and patches. probably only a first draft.

* removed trailing spaces

* replace ctype with ctypes in error messages

* change back from ctypes instance to ctype instance

(cherry picked from commit 1bea762)
bpo-31621: Fix typo in Simple Statements documentation (GH-3809) (GH-…
…3810)

Replace "restriction" with "restrictions".
(cherry picked from commit 8d59aca)
[3.6] bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_…
…completed()` (GH-3830) (#3831)

This was possible before.  GH-1560 introduced a regression after 3.6.2 got
released where only sequences were accepted now.  This commit addresses this
problem.
(cherry picked from commit 574562c)
[3.6] bpo-31592: Fix an assertion failure in Python parser in case of…
… a bad unicodedata.normalize(). (GH-3767) (#3836)

(cherry picked from commit 7dc46d8)
[3.6] bpo-31460: Simplify the API of IDLE's Module Browser. (GH-3842) (
…#3843)

Passing a widget instead of an flist with a root widget opens the option of
creating a browser frame that is only part of a window. Passing a full file
name instead of pieces assumed to come from a .py file opens the possibility
of browsing python files that do not end in .py.
(cherry picked from commit d6bb65f)
[3.6] IDLE: make filetypes a tuple constant. (GH-3847) (#3848)
Save a bit of code, plus non-tuples get converted anyway to tuples by tkinter for the tk call.
(cherry picked from commit 5961e7c)
[3.6] bpo-31516: current_thread() should not return a dummy thread at…
… shutdown (GH-3673) (#3856)

bpo-31516: current_thread() should not return a dummy thread at shutdown
(cherry picked from commit 1023dbb)
[3.6] bpo-31423: Fix building the PDF documentation (GH-3693) (GH-3699)
Use prefixed macro names for the `authoraddress` function, add T2A to the font encoding in LaTeX sources to support Cyrillic characters in the PDF documentation, and replace the deprecated `font_size` config option with `pointsize`.
(cherry picked from commit da9b4cf)
[3.6] bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_…
…completed()` (GH-3830) (#3831)

This was possible before.  GH-1560 introduced a regression after 3.6.2 got
released where only sequences were accepted now.  This commit addresses this
problem.
(cherry picked from commit 574562c)
[3.6] bpo-31619: Fixed a ValueError when convert a string with large …
…number of underscores (GH-3827) (#3863)

to integer with binary base.
(cherry picked from commit 85c0b89)
[3.6] bpo-31675: Fix memory leaks in Tkinter's methods splitlist() an…
…d split() (GH-3866) (#3874)

when pass a string larger than 2 GiB.

Decrease memory requirements for Tcl's bigmem tests.
(cherry picked from commit 27c623c)

miss-islington and others added some commits Dec 15, 2017

F-strings docs: link to Format Specifiers (GH-4888) (GH-4889)
Link to the Format Specification Mini Language section from f-strings' documentation.
(cherry picked from commit d924fa5)

@1st1 1st1 self-assigned this Dec 16, 2017

@1st1 1st1 requested review from gpshead, gvanrossum, ilevkivskyi, ncoghlan, rhettinger, skrah, terryjreedy and python/email-team as code owners Dec 16, 2017

@1st1 1st1 closed this Dec 16, 2017

@1st1 1st1 deleted the 1st1:backport-e796b2f-3.6 branch Dec 16, 2017

@1st1 1st1 removed request for python/import-team, gpshead, ncoghlan, rhettinger, gvanrossum, ilevkivskyi, skrah and terryjreedy Dec 16, 2017

@1st1 1st1 restored the 1st1:backport-e796b2f-3.6 branch Dec 16, 2017

@1st1 1st1 deleted the 1st1:backport-e796b2f-3.6 branch Dec 16, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.