[issue31241] ast col_offset wrong for list comprehensions, generators and tuples

2018-11-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker

[issue31241] ast col_offset wrong for list comprehensions, generators and tuples

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b619b097923155a7034c05c4018bf06af9f994d0 by Serhiy Storchaka in branch 'master': bpo-31241: Fix AST node position for list and generator comprehensions. (GH-10633)

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Gregory, could you please make a look at PR 5914? Differences from PR 4329: * Any item of args can be an iterable of bytes and path-like objects on Windows (not just a first item as in PR 4329). * Accepts bytes and path-like objects as executable on

[issue35325] imp.find_module() return value documentation discrepancy

2018-11-26 Thread Stefan Bauer (TraceTronic)
New submission from Stefan Bauer (TraceTronic) : I’d like to report a discrepancy between the documentation and implementation of the method imp.find_module(). The documentation currently says “If the module does not live in a

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Objects/unicodeobject.c: In function ‘_PyUnicode_FastFill’: Objects/unicodeobject.c:10126:24: warning: passing argument 2 of ‘unicode_fill’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] unicode_fill(kind, data, fill_char,

[issue35310] select which was interrupted by EINTR isn't re-run if the timeout has passed

2018-11-26 Thread Brian Maissy
Change by Brian Maissy : -- nosy: +oranav ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35310] select which was interrupted by EINTR isn't re-run if the timeout has passed

2018-11-26 Thread Brian Maissy
Brian Maissy added the comment: The current behavior is: > select() is not retried, and the rlist is returned as-is (with fds in it > which are not ready for reading) Yes, this is a bug. It results in select() indicating that fd are ready for reading when they, in fact, are not.

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think a setter was added for has_location (msg205384) and docs were updated as part of the patch but the PEP was not updated? . A setter for has_location : https://hg.python.org/cpython/rev/e961a166dc70 --

[issue35324] ssl: FileNotFoundError when do handshake

2018-11-26 Thread joseph...@yahoo.com
New submission from joseph...@yahoo.com : After upgrade my python from 3.6 to 3.7, one of my program got following error msgs and I suppose it is related to the 'ssl' module: Traceback (most recent call last): File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\connectionpool.py",

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34978] check type of object in fix_dict.py in 2to3

2018-11-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'm disinclined to change the fix here after it's existed in this for for 10 years. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue34893] Add 2to3 fixer to change send and recv methods of socket object.

2018-11-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: I concur with Raymond. Thank you for the patch, but this seems too error-prone to commit. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue35323] Windows x86 executable installer can't install

2018-11-26 Thread liang feng
liang feng <1590...@139.com> added the comment: the file didn't download complete,change other computer download, it's fine -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue34212] Cygwin link failure with builtin modules since issue30860

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 716a8089b04095acaba493925751df194a4916bb by Miss Islington (bot) in branch '3.7': closes bpo-34212: Build core extension modules with Py_BUILD_CORE_BUILTIN. (GH-8712)

[issue35323] Windows x86 executable installer can't install

2018-11-26 Thread liang feng
New submission from liang feng <1590...@139.com>: see log -- files: Python 3.7.1 (32-bit)_20181127100820.log messages: 330486 nosy: outofthink priority: normal severity: normal status: open title: Windows x86 executable installer can't install versions: Python 3.7 Added file:

[issue34212] Cygwin link failure with builtin modules since issue30860

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

[issue34212] Cygwin link failure with builtin modules since issue30860

2018-11-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset da324d53d420347344236ff64cf5eb9b675d6f86 by Benjamin Peterson (E. M. Bray) in branch 'master': closes bpo-34212: Build core extension modules with Py_BUILD_CORE_BUILTIN. (GH-8712)

[issue34482] datetime: Tests for potential crashes due to non-UTF-8-encodable strings

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: It seems like thie issue introduced a memory leak: bpo-35322 . -- nosy: +vstinner ___ Python tracker ___

[issue35322] test_datetime leaks memory

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: C:\vstinner\python\master>python -m test -R 3:20 -u all test_datetime Running Debug|x64 interpreter... Run tests sequentially 0:00:00 [1/1] test_datetime beginning 23 repetitions 12345678901234567890123 ... test_datetime leaked [1, 2, 1, 1,

[issue35322] test_datetime leaks memory

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file47949/datetimetester.py ___ Python tracker ___ ___ Python-bugs-list

[issue35322] test_datetime leaks memory

2018-11-26 Thread STINNER Victor
New submission from STINNER Victor : test_datetime currently leaks memory blocks: test_datetime leaked [3, 4, 3] memory blocks, sum=10 Attached patch should be added to Lib/test/ to only run a minimum set of tests which reproduce the bug. -- files: datetimetester.py messages: 330482

[issue35314] fnmatch failed with leading caret (^)

2018-11-26 Thread Cyker Way
Cyker Way added the comment: Thank you for confirmation. Knowing it is not fully POSIX-compliant helps with understanding. I'm asking this because I had interoperability issues writing python scripts providing shell-like utilities for filename expansion and the result may surprise users.

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset f2a9d5c8378cd7eca90b3b197e2cc0989da55014 by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/pystate.h (GH-10733) https://github.com/python/cpython/commit/f2a9d5c8378cd7eca90b3b197e2cc0989da55014 --

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Géry
Change by Géry : -- nosy: +maggyero ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35321] None _frozen_importlib.__spec__.origin attribute

2018-11-26 Thread Géry
New submission from Géry : How to reproduce: In Python: > import _frozen_importlib > print(_frozen_importlib.__spec__.origin) Observed result: The __spec__.origin attribute of the _frozen_importlib module is None. Expected result: The __spec__.origin attribute of the _frozen_importlib module

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Géry
Change by Géry : -- nosy: -maggyero ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset ffedd9ad2a8be4bf82a4d8f2bac3eaee5b44191e by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/dictobject.h (GH-10732) https://github.com/python/cpython/commit/ffedd9ad2a8be4bf82a4d8f2bac3eaee5b44191e --

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset dd12aa0aea733820807ec4f99e4e476064a0ee41 by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/pylifecycle.h (GH-10731) https://github.com/python/cpython/commit/dd12aa0aea733820807ec4f99e4e476064a0ee41 --

[issue35314] fnmatch failed with leading caret (^)

2018-11-26 Thread Josh Rosenberg
Josh Rosenberg added the comment: Finished typing this while Serhiy was closing, but just for further explanation: This isn't a bug. fnmatch provides "shell-style" wildcards, but that doesn't mean it supports every shell's extensions to the globbing syntax. It doesn't even claim support for

[issue35308] webbrowser regression: BROWSER env var not respected

2018-11-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35303] A reference leak in _operator.c's methodcaller_repr()

2018-11-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35303] A reference leak in _operator.c's methodcaller_repr()

2018-11-26 Thread Josh Rosenberg
Josh Rosenberg added the comment: This is completely fixed, right? Just making sure there is nothing left to be done to close the issue. -- nosy: +josh.r ___ Python tracker

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Géry
New submission from Géry : How to reproduce: Assign the __spec__.has_location attribute of any module. Observed result: __spec__.has_location is a writable. Expected result: __spec__.has_location should be read-only, as defined in PEP 451: https://www.python.org/dev/peps/pep-0451/#attributes

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

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

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

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

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Same error: https://travis-ci.org/python/cpython/jobs/459983088 -- ___ Python tracker ___ ___

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

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

[issue35283] "threading._DummyThread" redefines "is_alive" but forgets "isAlive"

2018-11-26 Thread Brett Cannon
Brett Cannon added the comment: I think the only thing missing from your list, Andrew, is updating docstrings and such to mention is_alive() instead of isAlive(). -- ___ Python tracker

[issue35281] Allow access to unittest.TestSuite tests

2018-11-26 Thread Brett Cannon
Brett Cannon added the comment: Gotcha, thanks for the clarification! Unfortunately I don't think we will be able to accommodate your feature request. It's duplicating an API to simply save calling list() which is the idiomatic way to convert an iterable into a concrete sequence. And

[issue31241] ast col_offset wrong for list comprehensions, generators and tuples

2018-11-26 Thread Brett Cannon
Brett Cannon added the comment: Yeah, it's a tough call because it's one of those things others have probably worked around already, so backporting would break the work-arounds. If you don't want to bother backporting, Serhiy, I think it would be fine to not do it. --

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 2a37f013ec81099a6156160ce66803b2609bb7f4 by Miss Islington (bot) in branch '3.7': bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693) https://github.com/python/cpython/commit/2a37f013ec81099a6156160ce66803b2609bb7f4

[issue35308] webbrowser regression: BROWSER env var not respected

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 2a37f013ec81099a6156160ce66803b2609bb7f4 by Miss Islington (bot) in branch '3.7': bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693) https://github.com/python/cpython/commit/2a37f013ec81099a6156160ce66803b2609bb7f4

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4060283fcec7bb2bde4eb3c42b0a6ec99cf1d391 by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/abstract.h (GH-10728) https://github.com/python/cpython/commit/4060283fcec7bb2bde4eb3c42b0a6ec99cf1d391 --

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

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

[issue35308] webbrowser regression: BROWSER env var not respected

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

[issue35308] webbrowser regression: BROWSER env var not respected

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8c281ed403fd915284d5bba2405d7c47f8195066 by Serhiy Storchaka (Zhiming Wang) in branch 'master': bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693)

[issue31014] webbrowser._synthesize uses outdated calling signature for webbrowser.register

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8c281ed403fd915284d5bba2405d7c47f8195066 by Serhiy Storchaka (Zhiming Wang) in branch 'master': bpo-35308: Fix regression where BROWSER env var is not respected. (GH-10693)

[issue35310] select which was interrupted by EINTR isn't re-run if the timeout has passed

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: > Under this condition, either select() should be re-run with a timeout of 0, > or the fd lists should be emptied before returning. What is the current behavior? Are you trying to fix a bug? -- nosy: +vstinner

[issue31171] multiprocessing.BoundedSemaphore of 32-bit python could not work while cross compiling on linux platform

2018-11-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +benjamin.peterson, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5a8c240b1d97de0bd6ced2a57cbcf26da19c1fcc by Victor Stinner in branch 'master': bpo-35134: Add Include/cpython/pyerrors.h (GH-10727) https://github.com/python/cpython/commit/5a8c240b1d97de0bd6ced2a57cbcf26da19c1fcc --

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

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

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

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

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: I close again the bug. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 5350dd1b50e60882a2da6d53ed27e02d2b698f2e by Miss Islington (bot) in branch '3.7': bpo-33723: Fix test_time.test_thread_time() (GH-10724) https://github.com/python/cpython/commit/5350dd1b50e60882a2da6d53ed27e02d2b698f2e --

[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2018-11-26 Thread R. David Murray
R. David Murray added the comment: Without looking at doctest.py, yes. I believe the doctests in that file should be already plugged in to the unittest framework, so adding new testcase containing a non-doctest unit test should work fine. -- ___

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

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

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 65c216e74f7957006ef7653b7e2afe83007c45ce by Victor Stinner in branch 'master': bpo-33723: Fix test_time.test_thread_time() (GH-10724) https://github.com/python/cpython/commit/65c216e74f7957006ef7653b7e2afe83007c45ce --

[issue35318] Check accuracy of str() doc string for its encoding argument

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is not it exactly what the docsting says? > If encoding or > errors is specified, then the object must expose a data buffer > that will be decoded using the given encoding and error handler. > Otherwise, returns the result of object.__str__() (if defined) >

[issue35318] Check accuracy of str() doc string for its encoding argument

2018-11-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: We may need to reword this a bit to show that the default system encoding only applies if "errors" is specified; otherwise, the argument pattern is mysterious. -- ___ Python tracker

[issue35319] pkgutil.get_data() is a wrapper for a deprecated class

2018-11-26 Thread Kevin Norris
New submission from Kevin Norris : pkgutil.get_data()'s documentation[1] says it is a wrapper for importlib.abc.ResourceLoader.get_data(), but the latter's documentation[2] says the whole class is deprecated since 3.7. Please either: A. Formally deprecate pkgutil.get_data() (and ideally

[issue35318] Check accuracy of str() doc string for its encoding argument

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: >>> str(buffer, errors='strict') 'lim x ⟶ ∞, 1/sin²(x)' -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue35318] Check accuracy of str() doc string for its encoding argument

2018-11-26 Thread Raymond Hettinger
New submission from Raymond Hettinger : The "encoding" parameter is documented to default to sys.getdefaultencoding(). That may be true but there doesn't seem to be a way to use that default because objects will all have a __str__ or __repr__ that will be run instead.

[issue24209] Allow IPv6 bind in http.server

2018-11-26 Thread Lisa Roach
Change by Lisa Roach : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34977] Release Windows Store app containing Python

2018-11-26 Thread Steve Dower
Change by Steve Dower : -- Removed message: https://bugs.python.org/msg330453 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34977] Release Windows Store app containing Python

2018-11-26 Thread Steve Dower
Steve Dower added the comment: For my own reference, some issues I found installing this package on a clean machine: * requires Developer Mode (until I get the sccd file signed - just sideloading is not sufficient) * requires vcruntime140.dll to be included in the package (workaround is to

[issue34977] Release Windows Store app containing Python

2018-11-26 Thread Steve Dower
Steve Dower added the comment: For my own reference, some issues I found installing this package on a clean machine: * requires Developer Mode (until I get the sccd file signed - just sideloading is not sufficient) * requires vcruntime140.dll to be included in the package (workaround is to

Re: how to match list members in py3.x

2018-11-26 Thread Ethan Furman
On 11/25/2018 08:30 AM, Muhammad Rizwan wrote: > IF YOU CAN'T HELP BETTER IGNORE THE POST AND DON'T TRY TO BE A SMART > ASS. On 11/25/2018 08:49 AM, Muhammad Rizwan wrote: > IF YOU CAN'T HELP BETTER IGNORE THE POST AND DON'T TRY TO BE A SMART > ASS. On 11/25/2018 10:55 AM, Muhammad Rizwan

Re: [docs] Improvement Request

2018-11-26 Thread Jules Lasne
I thinks this is sphinx related, not the python doc team :) Regards, Jules Lasne +33640736355 jules.la...@gmail.com juleslasne.com Le lun. 26 nov. 2018 à 15:08, Sayan Kundu a écrit : > *** Please make "Table of Contents" an independent scrolling panel* > For a long documentation, users have

Re: [Tutor] Issue in using "subprocess.Popen" for parsing the command output

2018-11-26 Thread Mats Wichmann
On 11/25/18 10:58 AM, srinivasan wrote: > Even only with "*proc.decode("utf-8")"* in the above code still it seems to > throw the error > > #return proc.strip().decode("utf-8") > #return proc.decode("utf-8").strip() > *return proc.decode("utf-8")* > > Error: >

Re: how to match list members in py3.x

2018-11-26 Thread Michael F. Stemper
On 25/11/2018 11.41, Richard Damon wrote: > On 11/25/18 12:28 PM, Muhammad Rizwan wrote: >> handle = open('file.txt') >> newlist = list() >> for line in handle: >> #line.rstrip() >> linewords = line.split() >> print(linewords) >> >> for word in linewords: >> newlist.append(word)

[issue35255] delete "How do I extract the downloaded documentation" section in Windows FAQ

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 7f93f93fa68f54c1bc128d58fa17536245396de3 by Miss Islington (bot) (Julien Palard) in branch '3.6': [3.6] bpo-35255: Doc: Delete now useless Windows FAQ section (GH-10557) (GH-10725)

[issue35255] delete "How do I extract the downloaded documentation" section in Windows FAQ

2018-11-26 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +9973 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35035] Documentation for email.utils is named email.util.rst

2018-11-26 Thread Julien Palard
Change by Julien Palard : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Question on difference between LambdaType and FunctionType

2018-11-26 Thread Ian Kelly
On Sun, Nov 25, 2018 at 2:00 PM Chris Angelico wrote: > > On Mon, Nov 26, 2018 at 7:55 AM Iwo Herka wrote: > > > > > class Foo: > > >def setup(self): ... > > >__init__ = lambda self: self.setup() > > > > Sorry, didn't address this. This is fine too, since I'm assuming that > > only

[issue35255] delete "How do I extract the downloaded documentation" section in Windows FAQ

2018-11-26 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35255] delete "How do I extract the downloaded documentation" section in Windows FAQ

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 6f8cab0db044132c6192d6ac1536d28cf72c9d27 by Miss Islington (bot) (Julien Palard) in branch '3.7': [3.7] bpo-35255: Doc: Delete now useless Windows FAQ section (GH-10557) (GH-10722)

[issue35255] delete "How do I extract the downloaded documentation" section in Windows FAQ

2018-11-26 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +9972 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: how to match list members in py3.x

2018-11-26 Thread mm0fmf
On 25/11/2018 16:49, Muhammad Rizwan wrote: IF YOU CAN'T HELP BETTER IGNORE THE POST AND DON'T TRY TO BE A SMART ASS. *plonk* -- https://mail.python.org/mailman/listinfo/python-list

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Oh. In my previous attempt, I changed the minimum time from 20 ms to 15 ms. But I didn't notice that one check uses assertLess() rather than assertGreaterEqual(). So I wrote PR 10724 to change the maximum from 15 ms to 30 ms in test_thread_time().

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9971 stage: resolved -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New failure on AppVeyor: FAIL: test_thread_time (test.test_time.TimeTestCase) -- Traceback (most recent call last): File "C:\projects\cpython\lib\test\test_time.py", line 553, in

[issue33723] test_time.test_thread_time() failed on AMD64 Debian root 3.x

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

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 75e4699b31d1d88abad097ad13466c5c07711324 by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/unicodeobject.h (GH-10680) https://github.com/python/cpython/commit/75e4699b31d1d88abad097ad13466c5c07711324 --

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6eb996685e25c09499858bee4be258776e603c6f by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/object.h (GH-10679) https://github.com/python/cpython/commit/6eb996685e25c09499858bee4be258776e603c6f --

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Python 3.6, 3.7 and master have been fixed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset fc4a44b0c3a69390eca4680d89c2ae5fe967f882 by Victor Stinner in branch '3.6': bpo-33954: Fix _PyUnicode_InsertThousandsGrouping() (GH-10623) (GH-10718) (GH-10720) https://github.com/python/cpython/commit/fc4a44b0c3a69390eca4680d89c2ae5fe967f882

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

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

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Oh, the tests fail since 2012 at least on FreeBSD: https://bugs.python.org/issue15750#msg168741 """ On the FreeBSD 8.2 build slave: == ERROR: test_localtime_daylight_false_dst_true

[issue15750] test_localtime_daylight_false_dst_true raises OverflowError: mktime argument out of range

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-35317. -- resolution: fixed -> duplicate superseder: -> test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone ___ Python tracker

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: I'm able to reproduce the issue on FreeBSD 12.0-RC2: vstinner@freebsd$ TZ=CET ./python -m test test_email -m 'test_localtime_daylight_*' -v (...) Tests result: SUCCESS vstinner@freebsd$ TZ=UTC ./python -m test test_email -m 'test_localtime_daylight_*' -v

[issue31628] test_emails failure on FreeBSD

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-35317. -- nosy: +vstinner resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: Miro Hrončok: > I found a C reproducer and reported to Fedora glibc tracker: > https://bugzilla.redhat.com/show_bug.cgi?id=1653340 Nice, I wrote almost the same one :-) See attached mktime_bug.c: $ gcc mktime_bug.c -o mktime_bug $ ./mktime_bug TZ=CET:

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread Miro Hrončok
Miro Hrončok added the comment: I found a C reproducer and reported to Fedora glibc tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1653340 -- nosy: +hroncok ___ Python tracker

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I remember some related issues raised in the past about the same test failing on freebsd machines : issue31628 and issue15750 (some more detail on msg168747) -- nosy: +xtreak ___ Python tracker

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: mktime_bug.py: script to reproduce the bug. -- Added file: https://bugs.python.org/file47946/mktime_bug.py ___ Python tracker ___

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread STINNER Victor
New submission from STINNER Victor : The two following tests fail on glibc-2.28.9000-19.fc30.x86_64 on Fedora Rawhide depending on the timezone. Australia/Lord_Howe: ok EDT4: fail EST+05EDT,M3.2.0,M11.1.0: ok Europe/Kiev: ok Europe/Minsk: ok MSK-03: fail MST+07MDT,M4.1.0,M10.5.0: ok

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2018-11-26 Thread Tom Dalton
Tom Dalton added the comment: Here's a minimal example so my comment is not totally vacuous: ``` import unittest from unittest import mock class Foo: @classmethod def bar(cls, baz): pass class TestFoo(unittest.TestCase): def test_bar(self): with

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2018-11-26 Thread Tom Dalton
Tom Dalton added the comment: I've just come across this too, so would be great if the patch can be progressed. -- nosy: +tom.dalton.fanduel ___ Python tracker ___

  1   2   >