[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: Thanks Ville Skyttä for your bugfix! I applied it in 3.6 and 3.7 branches. FYI as Karthikeyan Singaravelan wrote, the function is gone (I removed it) from the master branch ;-) -- ___ Python tracker

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread miss-islington
miss-islington added the comment: New changeset cbf57674e257617977b35c016e861a52b5f65359 by Miss Islington (bot) in branch '3.6': bpo-27903: Fix ResourceWarning in platform.dist() (GH-10792) https://github.com/python/cpython/commit/cbf57674e257617977b35c016e861a52b5f65359 -- nosy:

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +10040 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7eeab87263b831adbe617a4af7ec5b5d9296962a by Victor Stinner in branch '3.7': bpo-27903: Fix ResourceWarning in platform.dist() (GH-10792) https://github.com/python/cpython/commit/7eeab87263b831adbe617a4af7ec5b5d9296962a --

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: Python 3.6 and 3.7 are still supported. The patch LGTM, I converted it to a PR. -- resolution: out of date -> status: closed -> open versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-11-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +10039 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16086] tp_flags: Undefined behaviour with 32 bits long

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2a852a2b122cf9545909234cdc8fca564dc8f805 by Victor Stinner (Miss Islington (bot)) in branch '3.6': bpo-16086: Fix PyType_GetFlags() documentation (GH-10758) (GH-10790)

[issue16086] tp_flags: Undefined behaviour with 32 bits long

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset e754159ef0af99a4124dd041ab7ceb77fcc922ad by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-16086: Fix PyType_GetFlags() documentation (GH-10758) (GH-10789)

[issue35337] Check index in PyTuple_GET_ITEM/PyTuple_SET_ITEM in debug mode

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: > This is compatibility breaking change. Right. The question is if you are ok with it :-) > Currently you can get the address of the array of tuple items by using > _GET_ITEM(obj, 0). I don't get your point. I know that you access directly obj->ob_item to

[issue30167] site.main() does not work on Python 3.6 and superior if PYTHONSTARTUP is set

2018-11-29 Thread INADA Naoki
INADA Naoki added the comment: New changeset 82daa60defbd6497efdaa6c1132ecc8563122ed5 by INADA Naoki in branch 'master': bpo-30167: Remove __cached__ from __main__ when removing __file__ (GH-7415) https://github.com/python/cpython/commit/82daa60defbd6497efdaa6c1132ecc8563122ed5 --

[issue35337] Check index in PyTuple_GET_ITEM/PyTuple_SET_ITEM in debug mode

2018-11-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is compatibility breaking change. Currently you can get the address of the array of tuple items by using _GET_ITEM(obj, 0). -- nosy: +serhiy.storchaka ___ Python tracker

[issue28608] Support creating hardlink using `pathlib`

2018-11-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just to add to this os.link supports path-like objects. Adding @pitrou to take a call on this. -- nosy: +pitrou, xtreak versions: +Python 3.8 -Python 3.7 ___ Python tracker

[issue35341] Add generic version of OrderedDict to typing module

2018-11-29 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Also typing is technically still provisional, we can backport this to previous versions (at least to 3.7). -- ___ Python tracker ___

[issue35341] Add generic version of OrderedDict to typing module

2018-11-29 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Yes, since we already have `DefaultDict`, `Counter`, and `ChainMap` from collections, we can also add `OrderedDict`. -- ___ Python tracker

[issue35347] test_socket: NonBlockingTCPTests.testRecv() uses a weak 100 ms sleep as synchronization

2018-11-29 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +10038 stage: -> patch review ___ Python tracker ___ ___

[issue35347] test_socket: NonBlockingTCPTests.testRecv() uses a weak 100 ms sleep as synchronization

2018-11-29 Thread STINNER Victor
New submission from STINNER Victor : Failure seen on the Windows XP buildbot: https://buildbot.python.org/all/#/builders/45/builds/288 0:02:14 [ 35/404/1] test_socket failed test test_socket failed -- Traceback (most recent call last): File

[issue16086] tp_flags: Undefined behaviour with 32 bits long

2018-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +10037 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16086] tp_flags: Undefined behaviour with 32 bits long

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9fbcfc08e5814d7aa9287740187e461425a99f67 by Victor Stinner (Eddie Elizondo) in branch 'master': bpo-16086: Fix PyType_GetFlags() documentation (GH-10758) https://github.com/python/cpython/commit/9fbcfc08e5814d7aa9287740187e461425a99f67

[issue16086] tp_flags: Undefined behaviour with 32 bits long

2018-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +10036 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35345] Remove platform.popen(), deprecated since Python 3.3

2018-11-29 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35345] Remove platform.popen(), deprecated since Python 3.3

2018-11-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 73104fa1e6a791f7d66c0091ed91f6c396ca0fb2 by Victor Stinner in branch 'master': bpo-35345: Remove platform.popen() (GH-10781) https://github.com/python/cpython/commit/73104fa1e6a791f7d66c0091ed91f6c396ca0fb2 --

[issue21622] ctypes.util incorrectly fails for libraries without DT_SONAME

2018-11-29 Thread Javier Castillo II
Javier Castillo II added the comment: The PR 10460 ( for 3.8 ) patches the search attempts to leverage LD_LIBRARY_PATH for the Linux case and catches the case after SONAME, gcc and ldconfig behaviors fail. While this may not be set in all environments ( like the musl based Alpine docker

<    1   2