-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
2.7 #4266
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
2.7 #4266
Conversation
Also backport new functions temp_dir() and python_is_optimized(). temp_cwd() now accepts None as a name (means using tempfile.mkdtemp). check_syntax_error() now accepts arguments lineno and offset. Use more specific error messages in get_attribute().
…sTestCondition. (python#1591) (cherry picked from commit f25a8de)
…nish (python#1583) * bpo-30357 each test in test_thread waits until all spawn threads finish * bpo-30357 each test in test_thread waits until all spawn threads finish * bpo-30357: test_thread now uses threading_cleanup() (python#1592) test_thread: setUp() now uses support.threading_setup() and support.threading_cleanup() to wait until threads complete to avoid random side effects on following tests. Co-Authored-By: Victor Stinner <victor.stinner@gmail.com> * bpo-30357: test_thread now uses threading_cleanup() (python#1592) test_thread: setUp() now uses support.threading_setup() and support.threading_cleanup() to wait until threads complete to avoid random side effects on following tests. Co-Authored-By: Victor Stinner <victor.stinner@gmail.com>
) * Use explicit numbering for footnotes referred by explicit number. * Fix literal strings formatting in howto/urllib2.rst. * Add `:noindex:` to duplicated definition of list. * Update susp-ignored.csv for reference/expressions.rst. (cherry picked from commit d97b7dc)
Running Python with the -3 option now emits deprecation warnings for getchildren() and getiterator() methods of the Element class in the xml.etree.cElementTree module and when pass the html argument to xml.etree.ElementTree.XMLParser(). Fixed a deprecation warning about the doctype() method of the xml.etree.ElementTree.XMLParser class. Now it is emitted only when define the doctype() method in the subclass of XMLParser. Fixed a bug in the test_bug_200708_close test method. An EchoTarget instance was incorrectly passed to XMLParser() as the html argument and silently ignored. Tests no longer failed when use the -m option for running only selected test methods. Checking warnings now is more specific, warnings are expected only when use deprecated features.
Running Python with the -3 option now warns about regular expression syntax that is invalid or has different semantic in Python 3 or will change the behavior in future Python versions.
…ython#1595) (python#1648) Warnings emitted when compile a regular expression now always point to the line in the user code. Previously they could point into inners of the re module if emitted from inside of groups or conditionals. (cherry picked from commit c7ac728)
…onGH-1167) Patch by Davin with help from Marc.
… attribute names. (pythonGH-1652) (python#1675) Based on patch by Eryk Sun. (cherry picked from commit d896985)
…ython#1681) Based on patches by Duane Griffin and Tim Mitchell. (cherry picked from commit 753bca3)
…. (python#1696) (cherry picked from commit 8175547)
Ran the docstrings through spell checker, and fixed spelling issues.
…oop on exc (pythonGH-1683) (python#1817) * bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc Queue background running thread was not handling exceptions correctly. Any exception occurred inside thread (putting unpickable object) cause feeder to finish running. After that every message put into queue is silently ignored. * bpo-30414: multiprocesing.Queue._feed do not break from main loop on exc Queue background running thread was not handling exceptions correctly. Any exception occurred inside thread (putting unpickable object) cause feeder to finish running. After that every message put into queue is silently ignored.. (cherry picked from commit bc50f03)
python#1289) (cherry picked from commit 9616a82)
…python#1858) This fixes a faulty backport to the Python 2.7 branch only of http://bugs.python.org/issue28032. Details in the bpo-29766.
(cherry picked from commit eba68e2)
…onGH-1891) (cherry picked from commit a5aa72a)
…) (pythonGH-1898) The "iterable iterable" phrasing created confusion between the term reference and the parameter name. This simplifies the phrasing to just use the parameter name without linking directly to the term definition.. (cherry picked from commit 08e2f35)
…onGH-1907) (cherry picked from commit 0737ee2)
…rejecting (pythonGH-4158) (python#4163) separators that are not bytes-like objects.. (cherry picked from commit a231428)
test_curses now saves/restores signals. On FreeBSD, the curses module sets handlers of some signals, but don't restore old handlers when the module is deinitialized. (cherry picked from commit 19f6830)
…4165). (python#4194) (cherry picked from commit baac01e)
* Fixed the layout of the kqueue_event structure on OpenBSD and NetBSD. * Fixed the comparison of the kqueue_event objects.. (cherry picked from commit b9052a0)
Document the following functions: * PyObject_Malloc() * PyObject_Realloc() * PyObject_Free() Document also the pymalloc allocator.
* Fix a compilation error on FreeBSD. * Fix the data attribute size on Mac OS X. (cherry picked from commit 2298fad)
…thonGH-4164) (python#4213) Modify the code to use ncurses is_pad() instead of checking WINDOW _flags field. If your platform does not provide the is_pad(), the existing way that checks the field will be enabled. Note: This change does not drop support for platforms where do not have both WINDOW _flags field and is_pad(). (cherry picked from commit 8bc7d63)
bpo-31910: test_create_connection() now catchs also EADDRNOTAVAIL to fix the test on Travis CI. (cherry picked from commit 280c22a)
) (python#4216) (cherry picked from commit 894ebd0)
…se(). (pythonGH-4220) (python#4222) (cherry picked from commit 4f469c0)
…honGH-4258) (python#4263) Bug report and patch by Jeroen Demeyer.. (cherry picked from commit f6f90ff)
(cherry picked from commit a7723d8)
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. Thanks again to your contribution and we look forward to looking at it! |
|
Not sure what you mean to do here, @richmoore1962 , but your PR was trying to merge all of Python into a different version. |
|
I thought we had a bot to reject such PRs. |
|
This scenario is not considered by the bot. |
!!! If this is a backport PR (PR made against branches other than
master),please ensure that the PR title is in the following format:
Where: [X.Y] is the branch name, e.g. [3.6].
GH-NNNN refers to the PR number from
master.PLEASE: Remove this headline!!!