[issue36085] Enable better DLL resolution

2019-03-11 Thread Eryk Sun
Eryk Sun added the comment: > call SetDefaultDllDirectories() in Py_Main (i.e. not when embedded) > to ensure secure search paths are always used That will require rewriting many scripts and packages that use ctypes or cffi to load DLLs. It would also break DLLs that internally rely on

[issue35854] EnvBuilder and venv symlinks do not work on Windows on 3.7.2

2019-03-11 Thread Ned Deily
Ned Deily added the comment: Can we close this issue now? -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36216] urlsplit does not handle NFKC normalization

2019-03-11 Thread Ned Deily
Ned Deily added the comment: New changeset 23fc0416454c4ad5b9b23d520fbe6d89be3efc24 by Ned Deily (Steve Dower) in branch '3.6': [3.6] bpo-36216: Add check for characters in netloc that normalize to separators (GH-12201) (GH-12215)

[issue35647] Cookie path check returns incorrect results

2019-03-11 Thread Ned Deily
Ned Deily added the comment: New changeset 5565b1db6f37f244890369e0d68a3e906aca28b9 by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-35647: Fix path check in cookiejar (GH-11436) (GH-12268) https://github.com/python/cpython/commit/5565b1db6f37f244890369e0d68a3e906aca28b9 --

[issue35924] curses segfault resizing window

2019-03-11 Thread Lisa Roach
Lisa Roach added the comment: I am able to confirm the repro, I haven't been able to find the root cause of it yet though. Trying to dig into it. -- nosy: +lisroach ___ Python tracker

[issue35931] pdb: "debug print(" crashes with SyntaxError

2019-03-11 Thread Zachary Ware
Zachary Ware added the comment: Thanks for catching that and fixing it before 3.7.3! -- priority: release blocker -> normal resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker

[issue35931] pdb: "debug print(" crashes with SyntaxError

2019-03-11 Thread miss-islington
miss-islington added the comment: New changeset 1c4580d1f563173f5d6ec990b46bd38f4ae901a1 by Miss Islington (bot) in branch '3.7': [3.7] bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103) (GH-12285)

[issue36159] Modify Formatter Class to handle arbitrary objects

2019-03-11 Thread Lisa Roach
Lisa Roach added the comment: Can you give an example use case for this? F-strings are the newer method of string interpolation, I'm not sure it's worth putting effort into adding features to string.Formatter. -- nosy: +lisroach ___ Python

[issue35931] pdb: "debug print(" crashes with SyntaxError

2019-03-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +12264 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35931] pdb: "debug print(" crashes with SyntaxError

2019-03-11 Thread miss-islington
miss-islington added the comment: New changeset 3e936431e23b424b1e4665e8165c245924f0ab02 by Miss Islington (bot) (Daniel Hahler) in branch 'master': bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103)

[issue35132] python-gdb error: Python Exception Type does not have a target

2019-03-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +12263 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35132] python-gdb error: Python Exception Type does not have a target

2019-03-11 Thread Lisa Roach
Lisa Roach added the comment: New changeset 1ceb3a3d172dcf0ddff38d5d6b559443ad065b84 by Lisa Roach in branch 'master': bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848) https://github.com/python/cpython/commit/1ceb3a3d172dcf0ddff38d5d6b559443ad065b84 --

[issue36235] distutils.sysconfig.customize_compiler() overrides CFLAGS var with OPT var if CFLAGS env var is set

2019-03-11 Thread Kubilay Kocak
Change by Kubilay Kocak : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36184] [EASY] test_gdb.test_threads() is specific to _POSIX_THREADS, fail on FreeBSD

2019-03-11 Thread Kubilay Kocak
Change by Kubilay Kocak : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36184] [EASY] test_gdb.test_threads() is specific to _POSIX_THREADS, fail on FreeBSD

2019-03-11 Thread Joshua Jay Herman
Joshua Jay Herman added the comment: I was able to reproduce this on FreeBSD 12.0. -- ___ Python tracker ___ ___ Python-bugs-list

[issue36267] User input to argparse raises Index_Error: "-a=" on a 'store_true' action

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak versions: +Python 2.7, Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue36229] Linear-time list, set, and bytearray ops.

2019-03-11 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36268] Change default tar format to modern POSIX 2001 (pax) for better portability/interop, support and standards conformance

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36216] urlsplit does not handle NFKC normalization

2019-03-11 Thread Jeremy Kloth
Jeremy Kloth added the comment: > > How does that cause tests to fail? Is it going to stderr? Or just causing > an error. > It is causing an "unexpected output error". When the test is re-run at the end, it is run in verbose mode so the extra output is ignored and thus passes at that point.

[issue36268] Change default tar format to modern POSIX 2001 (pax) for better portability/interop, support and standards conformance

2019-03-11 Thread C.A.M. Gerlach
New submission from C.A.M. Gerlach : I propose changing tarfile.DEFAULT_FORMAT to be tarfile.PAX_FORMAT , rather than the legacy tarfile.GNU_FORMAT for Python 3.8. This would offer several benefits: • Removes limitations of the old GNU tar format, including in max UID/GID values and bits in

[issue36267] User input to argparse raises Index_Error: "-a=" on a 'store_true' action

2019-03-11 Thread paul j3
New submission from paul j3 : Test case: parser = argparse.ArgumentParser() parser.add_argument("-a", action="store_true") args = parser.parse_args("-a=".split()) raises an Index_Error, which is not caught by the argparse error mechanism. This is an unusual case, the coincidence

[issue36229] Linear-time list, set, and bytearray ops.

2019-03-11 Thread Brandt Bucher
Change by Brandt Bucher : -- title: Linear-time ops for some mutable collections. -> Linear-time list, set, and bytearray ops. ___ Python tracker ___

[issue21314] Document '/' in signatures

2019-03-11 Thread Cheryl Sabella
Cheryl Sabella added the comment: There are a few other open issues about positional-only keywords (for example, #10789 and #8350). I wasn't sure what, if anything, could be done with those now that the '/' is available and documented. -- nosy: +cheryl.sabella

[issue28124] Rework SSL module documentation

2019-03-11 Thread Cheryl Sabella
Cheryl Sabella added the comment: Can this issue be closed as resolved? It looks like the changes have been merged even though the first PR still has an 'open' status. Thanks! -- nosy: +cheryl.sabella ___ Python tracker

[issue32951] Prohibit direct instantiation of SSLSocket and SSLObject

2019-03-11 Thread Cheryl Sabella
Cheryl Sabella added the comment: Can this issue be closed as resolved? -- nosy: +cheryl.sabella ___ Python tracker ___ ___

[issue36085] Enable better DLL resolution

2019-03-11 Thread Steve Dower
Steve Dower added the comment: In the absence of any other comments, here's my proposal. * call SetDefaultDllDirectories() in Py_Main (i.e. not when embedded) to ensure secure search paths are always used * ensure LoadLibrary when used in ctypes or importing will use the correct flags * add

[issue36216] urlsplit does not handle NFKC normalization

2019-03-11 Thread Steve Dower
Steve Dower added the comment: > A missed print statement in the 2.7 patch is causing the tests to fail. How does that cause tests to fail? Is it going to stderr? Or just causing an error. -- ___ Python tracker

[issue35704] On AIX, test_unpack_archive_xztar fails with default MAXDATA settings

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:25, Michael Felt wrote: > Michael Felt added the comment: > > Could this also be backported to 3.7 and 3.6 please? Only 3.7 I guess - As 3.6 is in security mode. > > -- > versions: +Python 3.6, Python 3.7 > >

[issue35633] test_eintr fails on AIX since fcntl functions were modified

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:34, Michael Felt wrote: > Michael Felt added the comment: > > Could this also be backported to version 3.6? > > -- > versions: +Python 3.6 Not to worry: As 3.6 is in security mode. > > ___ > Python

[issue34720] Fix test_importlib.test_bad_traverse for AIX

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:31, Michael Felt wrote: > Michael Felt added the comment: > > could this be backported to versions 3.7, and if applicable, to version 3.6 Only 3.7 - As 3.6 is in security mode. > > -- > > ___ > Python

[issue34490] transport.get_extra_info('sockname') of test_asyncio fails on AIX

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:37, Michael Felt wrote: > Michael Felt added the comment: > > Could this also be backported to Version 3.6? Ignore this since 3.6 is in security mode. > > -- > versions: +Python 3.6 > > ___ > Python

[issue36266] Which module could not be found?

2019-03-11 Thread Phillip M. Feldman
New submission from Phillip M. Feldman : I have a module that contains an import statement that imports a large number of items. This import was failing with the following error message: ImportError: DLL load failed: The specified module could not be found. The message would be so much more

[issue11192] test_socket error on AIX

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:40, Michael Felt wrote: > Michael Felt added the comment: > > Could this also be backported to Version 3.7 and 3.6 (I do not expect it to > be backported to 2.7, but I had mistakenly removed it 2.7 when I changed it > to 3.8 - and should have

[issue34373] test_time errors on AIX

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 10/03/2019 19:43, Michael Felt wrote: > Michael Felt added the comment: > > Could this alos be backported to Version 3.7 and 3.6 - thx! As 3.6 is in security mode - I guess only 3.7 then. > -- > versions: +Python 3.6, Python 3.7 > >

[issue34711] Lib/http/server.py: Return HTTPStatus.NOT_FOUND if path.endswith(/) and not a directory

2019-03-11 Thread Michael Felt
Michael Felt added the comment: On 11/03/2019 09:42, Stéphane Wirtel wrote: > Stéphane Wirtel added the comment: > > Hi Michael, > > I think no, because 3.6 is in security mode. Clear reason. Maybe makes the baclport to 3.7 more opportune. Thx for the reply! > > -- > nosy: +matrixise >

[issue36256] parser module fails on legal input

2019-03-11 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: -giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36256] parser module fails on legal input

2019-03-11 Thread A. Skrobov
A. Skrobov added the comment: > The major problem with the parser module is that is unsynchronized with the > actual parser The parser module is "sort of" synchronised with the actual parser, in that it uses the same _PyParser_Grammar; this doesn't mean they always behave the same, as this

[issue26826] Expose new copy_file_range() syscall in os module.

2019-03-11 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Little update about this. According to: http://man7.org/linux/man-pages/man2/copy_file_range.2.html ...it seems glibc 2.27 released on 2018-02-01 includes copy_file_range(). I'm not the best candidate for giving advice on C syscalls

[issue36256] parser module fails on legal input

2019-03-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > I would be curious to hear what Pablo has to say with the new parser having > landed and if there's something we should be exposing from that code to > replace what's in 'parser' today? (Either w/o semantic change or a new API.) :) One small

[issue36256] parser module fails on legal input

2019-03-11 Thread Brett Cannon
Brett Cannon added the comment: I would be curious to hear what Pablo has to say with the new parser having landed and if there's something we should be exposing from that code to replace what's in 'parser' today? (Either w/o semantic change or a new API.) --

[issue36240] Definitions of time

2019-03-11 Thread Paul Ganssle
Paul Ganssle added the comment: I also think it would be ideal to avoid getting into too much detail about the definitions of UTC and GMT in a general sense. Instead, we should probably refer to some better source on the matter and maybe focus on how UTC and GMT are used *in this document*?

[issue36262] Coverity scan: Python/dtoa.c resource leak

2019-03-11 Thread Mark Dickinson
Mark Dickinson added the comment: > ... in practice, it seems like Python became the "upstream". Yes; unfortunately, we changed things enough that updating from upstream became impractical. At some point we should take a look at changes made to the upstream dtoa.c since our adoption of it,

[issue36265] Remove ABCs from collections

2019-03-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Please see https://github.com/python/cpython/pull/10596 . pip is incompatible with this change. -- nosy: +serhiy.storchaka, xtreak ___ Python tracker

[issue36265] Remove ABCs from collections

2019-03-11 Thread Jakub Wilk
New submission from Jakub Wilk : This happens with Python from git master (d9bd8ec2a4): >>> from collections import Hashable :1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working I was

[issue36184] [EASY] test_gdb.test_threads() is specific to _POSIX_THREADS, fail on FreeBSD

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: I am running FreeBSD 12. I don't recall the minor version (12.1 maybe?). -- ___ Python tracker ___

[issue36264] os.path.expanduser should not use HOME on windows

2019-03-11 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch pull_requests: +12262 stage: -> patch review ___ Python tracker ___ ___

[issue36018] Add a Normal Distribution class to the statistics module

2019-03-11 Thread Steven D'Aprano
Steven D'Aprano added the comment: > I'm assuming you meant 5.374 rather than 5.372 in the first Nspire result. Yes, that was a typo, sorry. Thanks for checking into the results. -- ___ Python tracker

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: Oh, the Fedora package of OpenSSL 1.1.1b includes this downstream patch: https://src.fedoraproject.org/rpms/openssl/blob/master/f/openssl-1.1.1-evp-kdf.patch Extract of the changelog: * Thu Feb 28 2019 Tomáš Mráz 1.1.1b-1 - update to the 1.1.1b release -

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: Attached PR 12280 fix the issue: the salt wasn't passed to EVP_PBE_scrypt() and so the function fails with "missing salt". -- ___ Python tracker

[issue36264] os.path.expanduser should not use HOME on windows

2019-03-11 Thread Anthony Sottile
New submission from Anthony Sottile : The current code for `os.path.expanduser` in `ntpath` uses `HOME` in preference to `USERPROFILE` / `HOMEDRIVE\\HOMEPATH` I can't find any documentation of `HOME` being relevant on windows (only on posix). For example, wikipedia only mentions

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: I tried but failed to identify when test_hashlib started to fail whereas it was fine previously. IMHO it can only be a changed in OpenSSL. It might be a different between Fedora packages openssl-1.1.1b-1.fc29 (built at 2019-02-28) and openssl-1.1.1b-2.fc29

[issue35121] Cookie domain check returns incorrect results

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +12261 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12260 stage: -> patch review ___ Python tracker ___ ___

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: Python 3.7 is also affected, but not Python 2.7. -- versions: +Python 3.7 ___ Python tracker ___

[issue35121] Cookie domain check returns incorrect results

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +12259 stage: commit review -> patch review ___ Python tracker ___ ___

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-03-11 Thread Erik Bray
Erik Bray added the comment: Perhaps it would be better if the `xcrun --show-sdk-path` thing were run at configure-time and its result shoved into a variable we can read with sysconfig.get_config_var() -- nosy: +erik.bray ___ Python tracker

[issue35647] Cookie path check returns incorrect results

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16385] evaluating literal dict with repeated keys gives no warnings/errors

2019-03-11 Thread Jonathan Fine
Jonathan Fine added the comment: This is was closed and tagged as resolved in 2012. The status has not been changed since then. Using dict(a=1, ...) provides a workaround, but only when the keys are valid as variable names. The general workaround is something like helper([ (1,

[issue35647] Cookie path check returns incorrect results

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +12258 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36261] email examples should not gratuitously mess with preamble

2019-03-11 Thread R. David Murray
Change by R. David Murray : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36261] email examples should not gratuitously mess with preamble

2019-03-11 Thread R. David Murray
R. David Murray added the comment: We could also change both of them to be more correct and say something like "If you are reading this your browser probably does not support MIME, and you will have to find a MIME aware email client or decode the message by hand." That demonstrates what

[issue36261] email examples should not gratuitously mess with preamble

2019-03-11 Thread R. David Murray
R. David Murray added the comment: I don't see "several", can you point to the other instances? I only see that one case you mention (for reference, it is in Doc/includes/email-mime.py). The other case of setting preamble is actually correct ("You will not see this in a MIME-aware mail

[issue16385] evaluating literal dict with repeated keys gives no warnings/errors

2019-03-11 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Guido van Rossum said in https://mail.python.org/pipermail/python-ideas/2019-March/055726.html: "this was an explicit design decision that I made nearly 30 years ago". I think the best way to avoid silently accepting such values would be to use

[issue35647] Cookie path check returns incorrect results

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +12257 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36240] Definitions of time

2019-03-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: How about replacing "formerly known as Greenwich Mean Time, or GMT" with "which superseded Greenwich Mean Time or GMT as the basis of international timekeeping"? I don't think Python reference manual is the right place to explain the difference

[issue36263] test_hashlib.test_scrypt() fails on Fedora 29

2019-03-11 Thread STINNER Victor
New submission from STINNER Victor : $ ./python -m test -v test_hashlib -m test_scrypt ... ERROR: test_scrypt (test.test_hashlib.KDFTests) -- Traceback (most recent call last): File

[issue36240] Definitions of time

2019-03-11 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-03-11 Thread Pierre Glaser
Pierre Glaser added the comment: Update: Instead of changing permission on some attributes of function objects (__globals__ and __closure__), we added an optional argument called state_setter to save_reduce. This expects a callable that will be saved inside the object's pickle string, and

[issue27916] Use time.monotonic instead of time.time where appropriate

2019-03-11 Thread Cheryl Sabella
Cheryl Sabella added the comment: multiprocessing was changed to use time.monotonic in issue 34054. Based on the other feedback on this thread, I'm going to close this. -- nosy: +cheryl.sabella resolution: -> rejected stage: -> resolved status: open -> closed

[issue36262] Coverity scan: Python/dtoa.c resource leak

2019-03-11 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12256 stage: -> patch review ___ Python tracker ___ ___

[issue36233] xml ElementTree quotation marks of xml version string

2019-03-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Then report a bug to OpenCV. I do not think that changing quotation marks in the xml declaration will help much, since likely that parser has other flaws (for example what about using single quotes for attributes?). Changing quotation marks for sure will

[issue36262] Coverity scan: Python/dtoa.c resource leak

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: Julia copied the same file. See: * https://bugs.llvm.org//show_bug.cgi?id=31928 * https://bugs.freebsd.org/216770 * https://bugs.python.org/issue30104: "It was decided to not touch dtoa.c to not diverge from upstream." --

[issue36262] Coverity scan: Python/dtoa.c resource leak

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: * bpo-9009 discussed maintenance of Python/dtoa.c * Python/dtoa.c asks to frequently update it from "upstream" http://www.netlib.org/fp/dtoa.c * The upstream is also mentioned in the license: https://docs.python.org/dev/license.html#strtod-and-dtoa ... in

[issue36262] Coverity scan: Python/dtoa.c resource leak

2019-03-11 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- nosy: +mark.dickinson, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36262] Coverity scan: Python/dtoa.c resource leak

2019-03-11 Thread Charalampos Stratakis
New submission from Charalampos Stratakis : Coverity report on dtoa.c. It was run on python2 but the same code resides on python3. Error: RESOURCE_LEAK (CWE-772): [#def89] Python-2.7.15/Python/dtoa.c:1846: alloc_fn: Storage is returned from allocation function "s2b".

[issue4459] bdist_rpm should enable --fix-python by default

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue. The command still needs --fix-python and distutils2 project has been abandonned. Bug report in RHEL: https://bugzilla.redhat.com/show_bug.cgi?id=1673325 -- nosy: +vstinner resolution: rejected -> status: closed -> open versions:

[issue36234] test_os: add tests for invalid uid type

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: Thanks David Malcolm :-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36234] test_os: add tests for invalid uid type

2019-03-11 Thread miss-islington
miss-islington added the comment: New changeset 24872e1e15a816fb8e79c2885cafb7d785393547 by Miss Islington (bot) in branch '3.7': bpo-36234: Add more tests to PosixUidGidTests (GH-12234) https://github.com/python/cpython/commit/24872e1e15a816fb8e79c2885cafb7d785393547 -- nosy:

[issue36234] test_os: add tests for invalid uid type

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 701af605df336c9e32751e9031266a2da60656c1 by Victor Stinner in branch '2.7': bpo-36234: test_os: check TypeError for invalid uid type (GH-12235) https://github.com/python/cpython/commit/701af605df336c9e32751e9031266a2da60656c1 --

[issue36234] test_os: add tests for invalid uid type

2019-03-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +12255 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36234] test_os: add tests for invalid uid type

2019-03-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 876e82b4f32075e1bd21750bf852a103035fce23 by Victor Stinner in branch 'master': bpo-36234: Add more tests to PosixUidGidTests (GH-12234) https://github.com/python/cpython/commit/876e82b4f32075e1bd21750bf852a103035fce23 --

[issue36018] Add a Normal Distribution class to the statistics module

2019-03-11 Thread Mark Dickinson
Mark Dickinson added the comment: Below is the full transcript from Pari/GP: note that I converted the float inputs to exact Decimal equivalents, assuming IEEE 754 binary64. Summary: both Python results look fine; it's Nspire that's inaccurate here. mirzakhani:~ mdickinson$

[issue36226] multipart/related header causes false positive StartBoundaryNotFoundDefect and MultipartInvariantViolationDefect

2019-03-11 Thread Christian Schmidbauer
Christian Schmidbauer added the comment: @martin.panter: I see a relation to issue 29353, but I don't see why this report here is a duplicate. Could you elaborate on this? Issue 29991 contains parts of what I reported here, but it is closed "resolved" and refers back to 29353. I also tried

[issue36018] Add a Normal Distribution class to the statistics module

2019-03-11 Thread Mark Dickinson
Mark Dickinson added the comment: According to GP/Pari, the correctly value for the first result, to the first few dozen places, is: 0.995275743920768157605659214368609706759611629000344854339231928536087783251913252354... I'm assuming you meant 5.374 rather than 5.372 in the first Nspire

[issue35892] Fix awkwardness of statistics.mode() for multimodal datasets

2019-03-11 Thread Steven D'Aprano
Steven D'Aprano added the comment: Looks good to me, I'm happy to accept it. Thank you for your efforts Raymond, can I trouble you to do the merge yourself please, I'm still having issues using the Github website. -- ___ Python tracker

[issue36018] Add a Normal Distribution class to the statistics module

2019-03-11 Thread Steven D'Aprano
Steven D'Aprano added the comment: I've done some spot checks of NormDist.pdf and .cdf and compared the results to those returned by my TI Nspire calculator. So far, the PDF has matched that of the Nspire to 12 decimal places (the limit the calculator will show), but the CDF differs on or

[issue36261] email examples should not gratuitously mess with preamble

2019-03-11 Thread era
New submission from era : Several of the examples in the email module documentation modify the preamble. This is not good practice. The email MIME preamble is really only useful for communicating information about MIME itself, not for general human-readable content like 'Our family reunion'.

[issue28956] return list of modes for a multimodal distribution instead of raising a StatisticsError

2019-03-11 Thread Steven D'Aprano
Steven D'Aprano added the comment: I'm closing this issue in favour of Raymond's #35892, thank you to everyone even if your PRs didn't get used, I appreciate your efforts. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed

[issue32846] Deletion of large sets of strings is extra slow

2019-03-11 Thread Inada Naoki
Inada Naoki added the comment: I thought compact set implementation similar to dict sicne Python 3.6 may fix this issue. But as discussion with Raymond on Python-Dev ML, I conclude the merits of compact implementation is not significant enough. I abandoned compact set branch. Now I don't

[issue36042] Setting __init_subclass__ and __class_getitem__ methods are in runtime doesnt make them class method.

2019-03-11 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36233] xml ElementTree quotation marks of xml version string

2019-03-11 Thread Johann Krauter
Johann Krauter added the comment: The xml parser of OpenCV (3.4.5) in C++ is not able to load such xml file. -- ___ Python tracker ___

[issue36260] Cpython/Lib vulnerability found and request a patch submission

2019-03-11 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34506] Traceback logged when SSL handshake fails

2019-03-11 Thread Harmon
Change by Harmon : -- nosy: +Harmon758 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34711] Lib/http/server.py: Return HTTPStatus.NOT_FOUND if path.endswith(/) and not a directory

2019-03-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Michael, I think no, because 3.6 is in security mode. -- nosy: +matrixise versions: -Python 3.6 ___ Python tracker ___

[issue36259] exception text is being sourced from the wrong file

2019-03-11 Thread Ronald Oussoren
Change by Ronald Oussoren : -- versions: +Python 2.7, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36240] Definitions of time

2019-03-11 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +belopolsky, mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36260] Cpython/Lib vulnerability found and request a patch submission

2019-03-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: You can find the process to report security vulnerabilities at https://www.python.org/news/security/ . Please email the details to secur...@python.org and who will analyze the report before public disclosure. -- nosy: +xtreak

[issue36260] Cpython/Lib vulnerability found and request a patch submission

2019-03-11 Thread KunYu Chen
KunYu Chen added the comment: Dear community, I am one of the discoverer of this vulnerability, please tell us what to do next :D Kunyu Chen -- nosy: +18z ___ Python tracker

[issue36260] Cpython/Lib vulnerability found and request a patch submission

2019-03-11 Thread Nick Sung
New submission from Nick Sung : Dear Python Community, We’ve found a vulnerability in cpython Lib and already received a cve number (CVE-2019-9674) https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9674 We also have a patch for this vulnerability, please tell us what to do next. Since

[issue36223] Execution sequence for print function

2019-03-11 Thread Ketan Sharma
Ketan Sharma added the comment: Realized this is expected behavior. Slight modification to the existing comments: Resolution happens in usual order for print(a, pola(a), a). 1) a -> is a reference to the array, resolved as is. 2) pola(a) -> changes the values pointed at by the reference a 3)

  1   2   >