[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread Brett Cannon
Brett Cannon added the comment: @Brian: And thanks for the experiment! It was an interesting idea to consider. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37134] Use PEP570 syntax in the documentation

2019-06-06 Thread Brett Cannon
Brett Cannon added the comment: @Brian: Probably not. The worry that came up during the steering council meeting was bifurcating the docs could cause confusion as to why it was different, which one was more "right", etc. -- ___ Pyth

[issue37162] new importlib dependencies csv, email and zipfile

2019-06-05 Thread Brett Cannon
Brett Cannon added the comment: The imports are on purpose but they are not required for import to run, just like importlib.resources isn't necessary. -- ___ Python tracker <https://bugs.python.org/is

[issue37134] Use PEP570 syntax in the documentation

2019-06-05 Thread Brett Cannon
Brett Cannon added the comment: To help short-circuit this discussion and focus on the desired solution, the steering council came to a decision that can be seen at https://github.com/python/steering-council/issues/12#issuecomment-498874939 : - for Python 3.8 specifically, we think it makes

[issue36839] Support the buffer protocol in code objects

2019-06-05 Thread Brett Cannon
Brett Cannon added the comment: "I'm sorry, I thought "fantasy" was good metaphor." No problem! Saying something is "fantasy" like "it's based on fantasy" -- in North America at least -- is like sayin

[issue37163] dataclasses.replace() fails with the field named "obj"

2019-06-05 Thread Brett Cannon
Brett Cannon added the comment: +1 for Serhiy's suggestion -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue37163> ___ ___ Pytho

[issue36964] `python3 -m venv NAME`: virtualenv is not portable

2019-06-04 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue36964> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36964] `python3 -m venv NAME`: virtualenv is not portable

2019-06-04 Thread Brett Cannon
Brett Cannon added the comment: "if you coded bad and it doesn't work, it's your fault." I disagree. Your request changes what VIRTUAL_ENV gets set to, correct? Changing it suddenly for users doesn't mean their code was bad, it means we changed something on them.

[issue36839] Support the buffer protocol in code objects

2019-06-04 Thread Brett Cannon
Brett Cannon added the comment: Let's please keep this respectful. Saying people are basing things "on fantasy" or that "people need to develop reading skills" is not helpful. -- ___ Python tracker <https:

[issue37149] link to official documentation tkinter failed !!!

2019-06-04 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +gpolo, serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue37149> ___ ___ Python-bugs-list mailing list Unsub

[issue36964] `python3 -m venv NAME`: virtualenv is not portable

2019-06-03 Thread Brett Cannon
Brett Cannon added the comment: Changing VIRTUAL_ENV will break code, so I'm not sure if it's worth changing. -- ___ Python tracker <https://bugs.python.o

[issue37134] [EASY] Use PEP570 syntax in the documentation

2019-06-03 Thread Brett Cannon
Brett Cannon added the comment: FYI when Guido said "call on the steering council" I think he meant open an issue at https://github.com/python/steering-council/issues as this will get lost otherwise (i.e. Guido already removed himself from the nosy list so this already doesn&

[issue37130] pathlib.with_name() doesn't like unnamed files.

2019-06-03 Thread Brett Cannon
Change by Brett Cannon : -- stage: -> test needed ___ Python tracker <https://bugs.python.org/issue37130> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue37130] pathlib.with_name() doesn't like unnamed files.

2019-06-03 Thread Brett Cannon
Brett Cannon added the comment: The inconsistency is a bit weird. Looking at https://github.com/python/cpython/blob/master/Lib/pathlib.py#L825 the question is why is self.name not being set for '.' but it is for '..'. I suspect there's special-casing for '.

[issue36839] Support the buffer protocol in code objects

2019-05-31 Thread Brett Cannon
Brett Cannon added the comment: RE: "I think it needs significant benefits for typical users, not only for Instagram. If only Instagram get benefit from this, keep it as Instagram's internal patch." But who's typical in this case? You? Me? We're talking code obj

[issue36839] Support the buffer protocol in code objects

2019-05-30 Thread Brett Cannon
Brett Cannon added the comment: I agree with Eric. While I understand what Serhiy is saying about code objects being more than a bytearray of bytecode, the buffer protocol is still a view on an object, and that view happens to be for a subset which I think is acceptable as I think of what a

[issue21156] Consider moving importlib.abc.InspectLoader.source_to_code() to importlib.abc.Loader

2019-05-28 Thread Brett Cannon
Brett Cannon added the comment: @Carl Feel free to open new issues for whatever you need. :) -- ___ Python tracker <https://bugs.python.org/issue21156> ___ ___

[issue35040] [functools] provide an async-compatible version of functools.lru_cache

2019-05-28 Thread Brett Cannon
Brett Cannon added the comment: I was just saying that this is an enhancement request, no judgment about whether we want to solve the enhancement request. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35328] Set a environment variable for venv prompt

2019-05-23 Thread Brett Cannon
Brett Cannon added the comment: You can open a new PR with co-author or basing off of their fork if it's still around. -- ___ Python tracker <https://bugs.python.org/is

[issue36964] `python3 -m venv NAME`: virtualenv is not portable

2019-05-23 Thread Brett Cannon
Brett Cannon added the comment: Virtual environments are not designed to be portable. For instance, if you have entry points installed then moving them to another machine would break their shebang lines. And even if you do it on your local machine there's no guarantee something else w

[issue35328] Set a environment variable for venv prompt

2019-05-23 Thread Brett Cannon
Brett Cannon added the comment: @lys.nikolaou it looks like there was an initial PR, but it only updated things for Bash and not for all the other shells that we support for virtual environments. -- nosy: +brett.cannon ___ Python tracker <ht

[issue36975] csv: undocumented UnicodeDecodeError on malformed file

2019-05-23 Thread Brett Cannon
Brett Cannon added the comment: This isn't a bug because the CSV format isn't malformed (which would be appropriate for csv.Error), but the file itself isn't appropriate encoded (or the proper encoding wasn't specified (hence UnicodeDecodeError). So the exception is app

[issue8400] zipimporter find_module fullname mis-documented

2019-05-16 Thread Brett Cannon
Brett Cannon added the comment: Actually find_module() should be deprecated and find_spec() should be defined instead (and the same goes for load_module(); see bpo-9699). So I'm personally fine w/ making this a doc problem w/ the plan to eventually deprecate the m

[issue36919] Exception from 'compile' reports a newline char not present in input

2019-05-15 Thread Brett Cannon
Brett Cannon added the comment: I don't think it's option C. As for whether A or B I don't know. Wouldn't hurt to ask on python-dev if no one comes forward with a more authoritative answer. -- ___ Python tracker <

[issue36920] inspect.getcallargs sees optional arg to builtin as required

2019-05-15 Thread Brett Cannon
Brett Cannon added the comment: Also note that inspect.getcallargs() has been deprecated since Python 3.5: https://docs.python.org/3/library/inspect.html#inspect.getcallargs. Since the function is deprecated I'm closing as "won't fix". -- nosy: +brett.cannon reso

[issue24048] remove_module() needs to save/restore exception state

2019-05-13 Thread Brett Cannon
Brett Cannon added the comment: Can this be closed, Nick? -- ___ Python tracker <https://bugs.python.org/issue24048> ___ ___ Python-bugs-list mailing list Unsub

[issue10991] trace fails when test imported a temporary file

2019-05-13 Thread Brett Cannon
Brett Cannon added the comment: Since I'm not bothered enough to check if this is still an issue I'm fine with closing this. -- resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Pyt

[issue36751] Changes in the inspect module for PEP 570

2019-05-13 Thread Brett Cannon
Brett Cannon added the comment: RE: "if a function continues to work correctly throughout the span of a Python X version, why does it need to be removed?" In this case the argument is whether inspect.getfullargspec() works correctly in the face of positional-only parameters. Th

[issue36594] Undefined behavior due to incorrect usage of %p in format strings

2019-05-13 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue22640] Add silent mode for py_compile

2019-05-06 Thread Brett Cannon
Brett Cannon added the comment: I don't see anything wrong with the idea. -- ___ Python tracker <https://bugs.python.org/issue22640> ___ ___ Python-bugs-l

[issue36594] Undefined behavior due to incorrect usage of %p in format strings

2019-05-06 Thread Brett Cannon
Brett Cannon added the comment: New changeset 1a2252ed39bc1b71cdaa935d7726d82909af93ab by Brett Cannon (Zackery Spytz) in branch 'master': bpo-36594: Fix incorrect use of %p in format strings (GH-12769) https://github.com/python/cpython/commit/1a2252ed39bc1b71cdaa935d7726d8

[issue34616] implement "Async exec"

2019-05-01 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue34616> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36232] Improve error message on dbm.open

2019-04-29 Thread Brett Cannon
Brett Cannon added the comment: New changeset 81c5a905951aaf46f292eb459c32649c0b74ef61 by Brett Cannon (Marco Rougeth) in branch 'master': bpo-36232: Improve error message on dbm.open() when the db doesn't exist (GH-12060) https://github.com/python

[issue36751] Changes in the inspect module for PEP 570

2019-04-29 Thread Brett Cannon
Brett Cannon added the comment: If I remember correctly the un-deprecation was because 2/3 code could only use getfullargspec() to get all relevant details. Since we're so close to being done w/ Python 2 I think this might be the last change to make to them, document their deprecation,

[issue36751] Changes in the inspect module for PEP 570

2019-04-29 Thread Brett Cannon
Brett Cannon added the comment: Steve's right that we can't change the indexes on those functions for pre-existing values, so appending to the end is the only real option in that case. I still think they should both be deprecated due to how limiting their APIs are. Obviously

[issue35181] Doc: Namespace Packages: Inconsistent documentation of __loader__ being None

2019-04-27 Thread Brett Cannon
Change by Brett Cannon : -- assignee: docs@python -> barry ___ Python tracker <https://bugs.python.org/issue35181> ___ ___ Python-bugs-list mailing list Un

[issue32642] add support for path-like objects in sys.path

2019-04-27 Thread Brett Cannon
Brett Cannon added the comment: This seems fine to me and I can't think of any negatives. Can anyone think of why this might be a bad idea? (Messing with how sys.path is used is just so fundamental I'm being paranoid. :) -- nosy: +eric.snow

[issue36720] Correct Should to Must in Definition of object.__len__

2019-04-25 Thread Brett Cannon
Brett Cannon added the comment: There is probably validation code in len(), but the method itself can do whatever it wants if you call it directly. So the documentation is accurate in saying the method _should_ return >= 0 but that there's nothing strictly enforcing that in Python

[issue36708] can not execute the python + version, to launch python under windows.

2019-04-24 Thread Brett Cannon
Brett Cannon added the comment: This is by design in the Windows installer. You can check a box to put python3.6 on PATH if you want. If you want the Python Launcher on UNIX, see https://crates.io/crates/python-launcher. -- nosy: +brett.cannon resolution: -> not a bug st

[issue36701] module 'urllib' has no attribute 'request'

2019-04-23 Thread Brett Cannon
Brett Cannon added the comment: I'm -1 on pulling `request` up to implicitly be part of the `urllib` namespace without an import. `os.path` is the only exception that I know of in the stdlib and that's historical (it predates packages existing in the language). Otherwise the propo

[issue36688] _dummy_thread lacks an RLock implementaiton

2019-04-22 Thread Brett Cannon
Brett Cannon added the comment: Basically _thread.RLock was added without an equivalent in _dummy_thread. Add that and it will fix the issue. It probably wouldn't be too hard since you have to implement it as if it's single-threaded and there's already a lock class in _dummy

[issue36661] Missing dataclass decorator import in dataclasses module docs

2019-04-22 Thread Brett Cannon
Brett Cannon added the comment: I also don't think it's critical to make examples within a module's docs work like a doctest. Plus I discourage importing objects directly off of modules anyway and this would actually promote that. -- nosy

[issue36695] Change (regression?) in v3.8.0a3 doctest output after capturing the stderr output from a raised warning

2019-04-22 Thread Brett Cannon
Brett Cannon added the comment: If you look at that commit that Thomas made all it did was change where the string was grabbed from, not what type of object was used. So it doesn't make any sense as to why that would cause any specific change, so I think this may be doctest&#x

[issue32913] Improve regular expression HOWTO

2019-04-18 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue32913] Improve regular expression HOWTO

2019-04-17 Thread Brett Cannon
Brett Cannon added the comment: New changeset a6de52c74d831e45ee0ff105196da8a58b9e43cd by Brett Cannon (josh) in branch 'master': bpo-32913: Added re.Match.groupdict example to regex HOWTO (GH-5821) https://github.com/python/cpython/commit/a6de52c74d831e45ee0ff105196da8

[issue36645] re.sub() library entry does not adequately document surprising change in behavior between versions

2019-04-17 Thread Brett Cannon
Brett Cannon added the comment: @mollison: would you like to open a PR w/ how you would expect it to be formatted? -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue36

[issue36637] Restrict syntax for tuple literals with one element

2019-04-15 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the idea, but this would break way too much code to warrant changing it. Plus making this act differently just in the single-item case is too much special-casing/surprise. -- resolution: -> rejected stage: -> resolved status

[issue30840] Contrary to documentation, relative imports cannot pass through the top level

2019-04-15 Thread Brett Cannon
Brett Cannon added the comment: RE: "does it mean we dont need this to work anymore as was earlier put in the PEP?" Correct, we aren't going to implement that part of the PEP ever. -- ___ Python tracker <https://bugs.pyt

[issue30274] Make importlib.abc.ExtensionFileLoader.__init__() documentation match code

2019-04-10 Thread Brett Cannon
Brett Cannon added the comment: I realized another solution to this is to make the argument positional-only, then the name simply doesn't matter. Probably unnecessary breakage, though. -- versions: +Python 3.8 ___ Python tracker &

[issue26389] Expand traceback module API to accept just an exception as an argument

2019-04-10 Thread Brett Cannon
Brett Cannon added the comment: Boy, having a postional-only parameter in that first position would have been handy when we created this API (as Matthias pointed out). :) The 'exec' keyword-only parameter is obviously the safest option here. Making the first parameter positiona

[issue36586] multiprocessing.Queue.close doesn't behave as documented

2019-04-10 Thread Brett Cannon
Change by Brett Cannon : -- components: +Library (Lib) nosy: +davin, pitrou ___ Python tracker <https://bugs.python.org/issue36586> ___ ___ Python-bugs-list m

[issue36569] @staticmethod seems to work with setUpClass, but docs say it shouldn't

2019-04-09 Thread Brett Cannon
Brett Cannon added the comment: It's more of a "can't be an instance method" than a strict "only classmethod". Can I ask why you want it to be a strictmethod instead of a classmethod? I personally don't want to change the docs as I think that encourages

[issue36559] "import random" should import hashlib on demand (nor load OpenSSL)

2019-04-08 Thread Brett Cannon
Brett Cannon added the comment: Could you explain a bit more, Victor, about why you want to avoid importing hashlib and OpenSSL so much? -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue36

[issue36322] Argument typo in dbm.ndbm.open

2019-04-02 Thread Brett Cannon
Brett Cannon added the comment: So Terry is correct in so much as there is no parameter name. :) Both of the functions in question are positional-only, so the name actually doesn't matter beyond giving a way to reference the parameter in the documentation. So thanks for the PR, Marco

[issue36322] Argument typo in dbm.ndbm.open

2019-04-02 Thread Brett Cannon
Brett Cannon added the comment: Actually, it's even more subtle as the arguments are positional-only. -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/is

[issue32413] Document that locals() may return globals()

2019-04-02 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36364] errors in multiprocessing.shared_memory examples

2019-04-02 Thread Brett Cannon
Brett Cannon added the comment: @Davin is there an issue for that and thus this issue can then be closed? Or did you want to re-purpose this issue to track that? Either way I'm assigning the issue to you to let you decide which way you want to go. :) -- assignee: docs@p

[issue36485] Establish a uniform way to clear all caches in a given module

2019-04-02 Thread Brett Cannon
Brett Cannon added the comment: Did you mean importlib.reload() instead of sys.reload()? And technically it would *if* you're okay with the other side-effects of reloading, e.g. making sure no one has a reference to any objects from the module's namespace which won't chang

[issue32413] Document that locals() may return globals()

2019-04-01 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue32413> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36485] Add a way to clear all caches

2019-04-01 Thread Brett Cannon
Brett Cannon added the comment: RE: "And do you think polling for a new magic attribute is the right approach?": my thinking behind that idea is that by standardizing the function name it's easy to tell if there's a cache, but you can also do away with the registrati

[issue31182] Suggested Enhancements to zipfile & tarfile command line interfaces

2019-03-29 Thread Brett Cannon
Brett Cannon added the comment: I'm going to agree w/ Serhiy and say thanks to Steve for the idea but for maintainability purposes we should keep the CLI of both modules simple and only for critical operations. -- nosy: +brett.cannon ___ P

[issue31182] Suggested Enhancements to zipfile & tarfile command line interfaces

2019-03-29 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue31182> ___ ___

[issue36463] python37.dll crashing 0xc000041d

2019-03-29 Thread Brett Cannon
Brett Cannon added the comment: Please provide code which consistently causes the crash, otherwise your use of ctypes makes the very likely not Python's fault and nearly impossible to debug without a working example. -- nosy: +brett.cannon status: open ->

[issue36463] python37.dll crashing 0xc000041d

2019-03-29 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon status: pending -> open ___ Python tracker <https://bugs.python.org/issue36463> ___ ___ Python-bugs-list mai

[issue36472] Some old PR with CLA not signed

2019-03-29 Thread Brett Cannon
Brett Cannon added the comment: I'm already going through the "CLA not signed" issues and cleaning them up, so there's no need for anyone to duplicate my work. And this is not a steering council concern but a core-workflow concern. -- resolution: -> not a

[issue36366] Patcher stop method should be idempotent

2019-03-28 Thread Brett Cannon
Brett Cannon added the comment: Thanks, everyone! -- nosy: +brett.cannon resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36462] CVE-2019-9674 : zip bomb vulnerability in Lib/zipfile.py

2019-03-28 Thread Brett Cannon
Brett Cannon added the comment: You can also leave a comment in the other issue saying there's more details in the closed duplicate. On Thu, Mar 28, 2019 at 9:54 AM Karthikeyan Singaravelan < rep...@bugs.python.org> wrote: > > Karthikeyan Singaravelan added the comment: &g

[issue36462] CVE-2019-9674 : zip bomb vulnerability in Lib/zipfile.py

2019-03-28 Thread Brett Cannon
Brett Cannon added the comment: Closing as a duplicate of issue36260. -- nosy: +brett.cannon resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Cpython/Lib vulnerability found and request a patc

[issue36453] pkgutil.get_importer only return the first valid path_hook(importer)

2019-03-28 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue36453> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36453] pkgutil.get_importer only return the first valid path_hook(importer)

2019-03-28 Thread Brett Cannon
Change by Brett Cannon : -- title: get_importer only return the first valid path_hook(importer) -> pkgutil.get_importer only return the first valid path_hook(importer) ___ Python tracker <https://bugs.python.org/issu

[issue36453] pkgutil.get_importer only return the first valid path_hook(importer)

2019-03-28 Thread Brett Cannon
Brett Cannon added the comment: To clarify, this is for pkgutil. -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue36453> ___ ___ Pytho

[issue36364] errors in multiprocessing.shared_memory examples

2019-03-26 Thread Brett Cannon
Brett Cannon added the comment: I've gone ahead and merged Pierre's fix (thanks!), but I'm not sure if SharedMemoryManager should stay in the shared_memory docs or if it should move over to multiprocessing.manager. Davin, any input on that? -- nosy

[issue36345] Deprecate Tools/scripts/serve.py in favour of python -m http.server -d

2019-03-26 Thread Brett Cannon
Brett Cannon added the comment: I actually still think we should remove serve.py as the person who had needed to clean up that directory when we realized we had massive bitrot in /Tools. :) I don't' think that just because Debian packages means we need to continue supporting and m

[issue36345] Deprecate Tools/scripts/serve.py in favour of python -m http.server -d

2019-03-25 Thread Brett Cannon
Brett Cannon added the comment: New changeset 360e1e4c519cfc139de707bcdd1e6c871eec79ee by Brett Cannon (Stéphane Wirtel) in branch 'master': bpo-36345: Add a new example in the documentation of wsgiref (#12511) https://github.com/python/cpython/commit/360e1e4c519cfc139de707bcdd1e6c

[issue36404] Document PendingDeprecationWarning as deprecated

2019-03-25 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue36404> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36298] Lib/pyclbr.py crashes when the package spec cannot be determined by importlib

2019-03-25 Thread Brett Cannon
Brett Cannon added the comment: Thanks, mental! -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36085] Enable better DLL resolution

2019-03-22 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker <https://bugs.python.org/issue36085> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36400] Add activate script to venv root folder

2019-03-22 Thread Brett Cannon
Brett Cannon added the comment: I agree with Eric. Thanks for the idea, Ivan, but I'm closing this as an idea we won't be pursuing. -- nosy: +brett.cannon resolution: -> rejected stage: -> resolved status: open -> closed ___

[issue36370] Check for PyErr_Occurred() after PyImport_GetModule().

2019-03-20 Thread Brett Cannon
Brett Cannon added the comment: Pulling in Eric and Nick as they have played w/ the C API more recently. -- nosy: +eric.snow, ncoghlan ___ Python tracker <https://bugs.python.org/issue36

[issue36342] test_venv failure when executed by test_multiprocessing and the platform lacks a functional sem_open()

2019-03-20 Thread Brett Cannon
Brett Cannon added the comment: I guess my confusion comes from the fact that test_venv in isolation is a totally fine test suite, it just fails when test_multiprocessing runs it due to something multiprocessing-related. I've tried tweaking the title to reflect the fact that i

[issue36362] Detected unused variables in import.c and HAVE_DYNAMIC_LOADING=False with --with-address-sanitizer

2019-03-19 Thread Brett Cannon
Brett Cannon added the comment: Thanks! -- nosy: +brett.cannon resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36343] Certificate added to Win Store not available

2019-03-19 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +steve.dower ___ Python tracker <https://bugs.python.org/issue36343> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36342] test_venv fails on Android with clang

2019-03-19 Thread Brett Cannon
Brett Cannon added the comment: So this is a test_multiprocessing issue? If it is then the title is misleading. -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue36

[issue36345] Deprecate Tools/scripts/serve.py in favour of python -m http.server -d

2019-03-19 Thread Brett Cannon
Brett Cannon added the comment: I agree that if it's a good example of using wsgiref then it should exist in the wsgiref docs as an example. Then that would mean dropping the script and updating the Makefile. -- nosy: +brett.cannon ___ P

[issue36309] Remove tempfile.mktemp()

2019-03-18 Thread Brett Cannon
Brett Cannon added the comment: Unfortunately not because there is no warning being raised currently about the deprecation (it's only documented as deprecated; https://github.com/python/cpython/commit/44f602dd3b452bbacd3c85b1e5f9873c892b46e3). A PR raising an appropriate deprecation f

[issue36315] Unable to install Python 3.7.2

2019-03-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue36315> ___ ___ Python-bug

[issue36298] Lib/pyclbr.py crashes when the package spec cannot be determined by importlib

2019-03-15 Thread Brett Cannon
Brett Cannon added the comment: (And sorry about stealing this from you, Terry; I forgot to flip the assignment while I was looking into this.) -- ___ Python tracker <https://bugs.python.org/issue36

[issue36298] Lib/pyclbr.py crashes when the package spec cannot be determined by importlib

2019-03-15 Thread Brett Cannon
Change by Brett Cannon : -- stage: patch review -> commit review ___ Python tracker <https://bugs.python.org/issue36298> ___ ___ Python-bugs-list mai

[issue36298] Lib/pyclbr.py crashes when the package spec cannot be determined by importlib

2019-03-15 Thread Brett Cannon
Brett Cannon added the comment: Got a patch up if either of you would like to review. -- ___ Python tracker <https://bugs.python.org/issue36298> ___ ___ Pytho

[issue36298] Lib/pyclbr.py crashes when the package spec cannot be determined by importlib

2019-03-15 Thread Brett Cannon
Change by Brett Cannon : -- keywords: +patch pull_requests: +12325 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36298> ___ ___ Py

[issue36298] Lib/pyclbr.py crashes when the package spec cannot be determined by importlib

2019-03-15 Thread Brett Cannon
Brett Cannon added the comment: I have a fix en-route. -- ___ Python tracker <https://bugs.python.org/issue36298> ___ ___ Python-bugs-list mailing list Unsub

[issue36298] Lib/pyclbr.py crashes when the package spec cannot be determined by importlib

2019-03-15 Thread Brett Cannon
Change by Brett Cannon : -- assignee: terry.reedy -> brett.cannon nosy: -terry.reedy stage: needs patch -> title: Lib/pyclbr.py fails when package spec cannot be determined -> Lib/pyclbr.py crashes when the package spec cannot be determined by importlib versions: -P

[issue36290] _ast.ast_type_init does not handle args and kwargs correctly.

2019-03-15 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +benjamin.peterson, brett.cannon, serhiy.storchaka, yselivanov ___ Python tracker <https://bugs.python.org/issue36290> ___ ___

[issue36287] Make ast.dump() not output optional default fields

2019-03-14 Thread Brett Cannon
Brett Cannon added the comment: @eamanu tests are basically always necessary. :) -- ___ Python tracker <https://bugs.python.org/issue36287> ___ ___ Python-bug

[issue33944] Deprecate and remove pth files

2019-03-14 Thread Brett Cannon
Brett Cannon added the comment: We could also have a new namespace package which is *just* for startup injection so it wasn't such a hack to tie into the codecs startup code. -- ___ Python tracker <https://bugs.python.org/is

[issue36276] Python urllib CRLF injection vulnerability

2019-03-14 Thread Brett Cannon
Brett Cannon added the comment: Yep, if it's the same problem then close this as a dupe and just poke the other issue. -- ___ Python tracker <https://bugs.python.org/is

[issue36272] Recursive logging crashes Interpreter in Python 3

2019-03-13 Thread Brett Cannon
Brett Cannon added the comment: Limiting the version scope to 3.6 until someone reproduces on 3.7 and/or 3.8. -- nosy: +brett.cannon versions: -Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue36

[issue36276] Python urllib CRLF injection vulnerability

2019-03-13 Thread Brett Cannon
Brett Cannon added the comment: And security issues should be reported according to https://www.python.org/news/security/ . -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue36

[issue36256] parser module fails on legal input

2019-03-12 Thread Brett Cannon
Brett Cannon added the comment: @Xavier different needs; AST and CST are at different stages of compilation. -- ___ Python tracker <https://bugs.python.org/issue36

[issue35661] Store the venv prompt in pyvenv.cfg

2019-03-12 Thread Brett Cannon
Change by Brett Cannon : -- assignee: brett.cannon -> cheryl.sabella ___ Python tracker <https://bugs.python.org/issue35661> ___ ___ Python-bugs-list mai

<    4   5   6   7   8   9   10   11   12   13   >