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

3.6 #18722

Closed
wants to merge 2,202 commits into from
Closed

3.6 #18722

wants to merge 2,202 commits into from

Conversation

saurabhprasadsah
Copy link

indexing issue in python

miss-islington and others added 30 commits October 30, 2018 08:35
)

The root widget was accessed as a global variable in the Application's method.
(cherry picked from commit a80af77)

Co-authored-by: Daniel Lovell <lovell.daniel92@gmail.com>
(cherry picked from commit c9a6168)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
…gument. (GH-10217)

_io.IncrementalNewlineDecoder's initializer possibly assigns out-of-range
value to the bitwise struct field.
(cherry picked from commit b08746b)

Co-authored-by: Xiang Zhang <angwerzx@126.com>
Don't call _Py_FatalError_PrintExc() nor flush_std_files() if the
current thread doesn't hold the GIL, or if the current thread
has no Python state thread.

(cherry picked from commit 3a228ab)
…0268). (GH-10281)

(cherry picked from commit 4b5e62d)

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
https://bugs.python.org/issue35075
(cherry picked from commit bf46a09)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* Include memo in the documented signature of copy.deepcopy()

The memo argument is mentioned lower on the doc page under writing a
`__deepcopy__` method, but is not included in the documented function signature.
This makes it easy to miss, and can lead to incorrect/buggy implementations of
`__deepcopy__` -- which is exatly what just happpend to me!
(cherry picked from commit 0200928)

Co-authored-by: Stephan Hoyer <shoyer@gmail.com>
…w match `setup.py` (GH-10289)

This could cause compile errors on macOS or other platforms.
(cherry picked from commit 318ab63)

Co-authored-by: Max Bélanger <aeromax@gmail.com>
Some methods in the os module can accept path-like objects. This is documented in the general documentation but not in the function docstrings. To keep both in sync, the docstrings need to be updated to reflect that path-like objects are also accepted..
(cherry picked from commit b942707)

Co-authored-by: BNMetrics <luna@bnmetrics.com>
Use `__GNUC__` instead of non-existing `__GNUC_MAJOR__`.

(cherry picked from commit e2ed5ad)
(cherry picked from commit fe62d87)

Co-authored-by: İsmail Arılık <arilik.ismail@gmail.com>
GH-10318) (GH-10326)

(cherry picked from commit 59668aa)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
…ferent lines. (GH-10284) (GH-10335)

Two kind of mistakes:

1. Missed space. After concatenating there is no space between words.

2. Missed comma. Causes unintentional concatenating in a list of strings..
(cherry picked from commit 34fd4c2)
§31.5.6.3. Importing a source file directly: `module_from_spec` is new in Python 3.5.
(cherry picked from commit 16c8a53)

Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com>
The section is renamed from "IDLE -- console differences".  It mostly
covers the implications of using custom sys.stdxxx objects.
(cherry picked from commit 5e79090)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(This should have been done with the first PR for this issue.)
(cherry picked from commit f1d3efc)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
… systems. (GH-10347)

The test depended on '/usr/share/zoneinfo/posixrules' or equivalent
because it set TZ without explicit DST transition rules. At least
on OpenSUSE Tumbleweed that file is linked to '/etc/localtime',
making the test fail with certain local timezones,
such as 'Europe/Moscow' which doesn't have DST transitions since 2011.
(cherry picked from commit f1b9ad3)

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
Add a new subsection to the doc.
(cherry picked from commit 75d9d59)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
A program that runs indefinitely can overfill memory.
(cherry picked from commit 76cd0c3)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit ea6a28c)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
(cherry picked from commit ca03f3b)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
(cherry picked from commit d649910)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
…he index. (GH-10138)

(cherry picked from commit c5eec44)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
(cherry picked from commit ae31e3f)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
(cherry picked from commit bfe1839)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Allow configure --with-lto to apply to all builds, not just profile-opt builds.

Whether this is actually useful or not must be determined by the person
building CPython using their own toolchain.

My own quick test on x86_64 Debian 9 (gcc 6.3, binutils 2.28) seemed
to suggest that it wasn't, but I expect better toolchains can or will exist
at some point.  The point is to allow it at all.
…H-10400)

The constructor of subprocess.CalledProcessError in the check_output function had an extra None in it.
(cherry picked from commit b939250)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.