[issue33459] Define "tuple display" in the docs

2018-05-11 Thread R. David Murray
R. David Murray added the comment: Hmm. OK, I didn't think that's how we'd defined those terms, but then I don't actually work with the parser much myself :) However, generator expressions are clearly called out as a separate thing. All of the other display types get t

[issue33478] PEP 8 CapWords reference wrong?

2018-05-13 Thread R. David Murray
R. David Murray added the comment: In PEP 8 'CapWords" does not refer to the capwords function, as is fairly clear from context. A big clues is that it is not spelled 'capwords', and case matters in python function names :) I can understand your getting confused,

[issue33481] configparser.write() does not save comments.

2018-05-13 Thread R. David Murray
Change by R. David Murray : -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.org/issue33481> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33484] build system runs when it merely link

2018-05-13 Thread R. David Murray
R. David Murray added the comment: Thanks for wanting to improve Python. Your PR seems to contain quite a few changes that aren't obviously related to your topic. As for the topic, I know there are at least some cases where we really do have to *run* the code to prove the functi

[issue33484] build system runs when it merely link

2018-05-13 Thread R. David Murray
R. David Murray added the comment: Yes, we are one of those projects that wants it to be possible to build python without having the tools that generate build artifacts. You will note that we also check in build artifacts that are produced by our own python scripts, to avoid the problem of

[issue33480] Improvement suggestions for urllib.parse.urlparser

2018-05-13 Thread R. David Murray
R. David Murray added the comment: These are actually reasonable requests, and in fact have been brought up before and implemented: >>> x = >>> urlparse('http://me:myp...@example.com:800/foo;key1=value1?key2=value2#key3=value3#key4=value4') >>> x Pars

[issue33476] String index out of range in get_group(), email/_header_value_parser.py

2018-05-14 Thread R. David Murray
R. David Murray added the comment: The fix is mostly likely correct, so we need a PR for this that includes tests. -- keywords: +easy stage: -> test needed versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issu

[issue33476] String index out of range in get_group(), email/_header_value_parser.py

2018-05-14 Thread R. David Murray
Change by R. David Murray : -- type: crash -> behavior ___ Python tracker <https://bugs.python.org/issue33476> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue18022] Inconsistency between quopri.decodestring() and email.quoprimime.decode()

2018-05-14 Thread R. David Murray
R. David Murray added the comment: OK, I've finally gotten around to looking at this. It looks like quopri and binascii are not stripping trailing whitespace. quoprimime binascii quopri preferred b'=' '' b'

[issue18022] Inconsistency between quopri.decodestring() and email.quoprimime.decode()

2018-05-15 Thread R. David Murray
R. David Murray added the comment: I should have just deleted the table, actually. The only important info in it is that per RFC '=', '=\n', and '= \n' all ought to become '='. But I don't think we should make that change, I think we should conti

[issue33519] Should MutableSequence provide .copy()?

2018-05-15 Thread R. David Murray
R. David Murray added the comment: The ABCs are different from the standard types provided by python itself. The former are a minimal subset of the methods provided by the latter. So I think the answer is neither. -- nosy: +r.david.murray

[issue33519] Should MutableSequence provide .copy()?

2018-05-15 Thread R. David Murray
R. David Murray added the comment: On the other hand, that section does reference the ABC directly, so I can see the point of your question. So I guess I'm not sure what the answer is...I don't think copy is an essential part of the ABC, but I&

[issue33524] non-ascii characters in headers causes TypeError on email.policy.Policy.fold

2018-05-15 Thread R. David Murray
R. David Murray added the comment: Oh, interesting. I could argue that that's a missing feature in Python's slice handling. The value of text_space at that point is '+inf', and I obviously incorrectly assumed that slicing would treat that as if it were [:]. The counter

[issue33520] ast.Tuple has wrong col_offset

2018-05-15 Thread R. David Murray
R. David Murray added the comment: No, the parenthesis are never part of the tuple itself, even if you can't write syntactically correct code without them. They just syntactically group the expression list to isolate it from the surrounding context. It's the same principle as

[issue33520] ast.Tuple has wrong col_offset

2018-05-15 Thread R. David Murray
Change by R. David Murray : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33520] ast.Tuple has wrong col_offset

2018-05-15 Thread R. David Murray
R. David Murray added the comment: Oh, and the empty tuple is a specific syntactic construct that really is the empty parenthesis, so that's consistent with the language definition. -- ___ Python tracker <https://bugs.python.org/is

[issue33527] Invalid child function scope

2018-05-15 Thread R. David Murray
R. David Murray added the comment: Please post an example, and not a zip file. Given your description (which indeed is not enough to understand what you think the problem is by itself), I think you should be able to post a few lines of python code into the issue in order to explain what you

[issue31145] PriorityQueue.put() fails with TypeError if priority_number in tuples of (priority_number, data) are the same.

2017-09-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker <https://bugs.python.org/issue31145> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31578] Unexpected Floating Point Division Result

2017-09-25 Thread R. David Murray
R. David Murray added the comment: In the absence of the appropriate __future__ import, the python2 division operator uses integer division. -- nosy: +r.david.murray resolution: -> not a bug stage: -> resolved status: open -> closed _

[issue18257] Two copies of python-config

2017-09-25 Thread R. David Murray
R. David Murray added the comment: Since it hasn't been an issue for a few releases, I say we close it. If there is some problem remaining, it probably deserves its own tracker issue anyway. -- nosy: +r.david.murray resolution: -> fixed stage: needs patch -> resolved s

[issue31580] Defer compiling regular expressions

2017-09-25 Thread R. David Murray
R. David Murray added the comment: I agree with Raymond. It would be strange to have the API that is obviously designed to pre-compile the regex not pre-compile the regex. If the concern is that a non-precompiled regex might get bumped out of the cache but you want a way to only compile a

[issue31580] Defer compiling regular expressions

2017-09-26 Thread R. David Murray
R. David Murray added the comment: Precompiling as a compile-time optimization would be cool. I think we are currently favoring doing that kind of thing as an AST optimization step? I think Raymond and my point was that the current behavior should remain unchanged by default. So a

[issue31598] pyping 0.0.5 package crashed on ZeroDivisionError: float division by zero

2017-09-26 Thread R. David Murray
R. David Murray added the comment: pyping is not part of the standard library, you'll need to find their bug tracker and report the problem to them. -- nosy: +r.david.murray resolution: -> third party stage: -> resolved status: open -> closed type: cra

[issue31599] bug in doctest when comparing - 0.0 == 0.0

2017-09-26 Thread R. David Murray
R. David Murray added the comment: Can you explain why you think that is a bug in doctest? It looks like you are getting different output than you expect, but that by itself wouldn't be a bug in doctest. -- nosy: +r.david.murray ___ Python tr

[issue31599] bug in doctest when comparing - 0.0 == 0.0

2017-09-26 Thread R. David Murray
R. David Murray added the comment: To be clear: doctest compares strings, so "-0.0" is not the same as "0.0" to doctest. -- ___ Python tracker <https://bug

[issue31599] bug in doctest when comparing - 0.0 == 0.0

2017-09-26 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue31603] Please add argument to override stdin/out/err in the input builtin

2017-09-27 Thread R. David Murray
R. David Murray added the comment: This is probably a topic for the python-ideas mailing list. For example, rather than complicating input, it might be better to propose adding a redirect_stdin to contextlib to parallel the two existing redirect context managers. I don't remember why

[issue31607] Add listsize in pdb.py

2017-09-27 Thread R. David Murray
R. David Murray added the comment: It isn't obvious from your description here what 'listsize' does. I think you should have provided some more motivating details :) Looking at your PR, this is essentially a configuration setting. I wonder if we should think about the

[issue31616] Windows installer: Python binaries are user-writable

2017-09-28 Thread R. David Murray
R. David Murray added the comment: In fact, this is a backward compatibility issue. Users expect that if you install it in the old location, it behaves like it did in the old location (lower security), and this is probably depended on by a number of users of python. We *could* change it in

[issue31616] Windows installer: Python binaries are user-writable

2017-09-28 Thread R. David Murray
R. David Murray added the comment: I'll let Steve be the one to close this, but it sounds like this isn't even a doc bug (ie: it is standard window's practice). -- ___ Python tracker <https://bugs.pyt

[issue25351] pyvenv activate script failure with specific bash option

2017-09-28 Thread R. David Murray
R. David Murray added the comment: Note that in the equivalent issue raised against virtualenv, the concern was raised that some old sh-like shells might not support this syntax, but it was pointed out that it is part of the posix standard. I'm not arguing for or against here, just n

[issue31622] Make threading.get_ident() return an opaque type

2017-09-28 Thread R. David Murray
R. David Murray added the comment: Are you aware of PEP 539? (See issue 25658 for discussion.) I haven't followed that closely, but I imagine this issue is at least related. -- nosy: +r.david.murray ___ Python tracker <https://bugs.py

[issue31623] Allow to build MSI installer from the official tarball

2017-09-28 Thread R. David Murray
R. David Murray added the comment: Assuming 3.4 is packagable using msi and hg is the only problem, I presume you could use an hg-git adapter to get an hg checkout to build from. -- nosy: +r.david.murray ___ Python tracker <https://bugs.python.

[issue31627] test_mailbox fails if the hostname is empty

2017-09-29 Thread R. David Murray
R. David Murray added the comment: A system with no hostname can be considered to be improperly configured, but it doesn't look like this would weaken the test, so I think it is OK. -- ___ Python tracker <https://bugs.python.org/is

[issue31640] Document exit() from parse_args

2017-09-29 Thread R. David Murray
R. David Murray added the comment: I think this is reasonable, but do note that this is covered in 16.4.4.2, and the fact that help exits is actually a property of help, not parse_args. That is, the docs are correct and complete as they stand, but I agree that it would be helpful to have

[issue31590] CSV module incorrectly treats escaped newlines as new records if unquoted

2017-09-29 Thread R. David Murray
R. David Murray added the comment: I'm pretty hesitant to make this kind of change in python2. I'm going to punt, and let someone else make the decision. Which means if no one does, the status quo will win. Sorry about that. --

[issue31646] bug in time.mktime

2017-09-30 Thread R. David Murray
Change by R. David Murray : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue31655] SimpleNamespace accepts non-string keyword names

2017-10-01 Thread R. David Murray
R. David Murray added the comment: Well, it would be an "unenhancement" (reducing functionality :). What I think it would be classed as is an API bug fix, and those generally can be made only in feature releases. I can imagine code depending on this ability, since we have had c

[issue31655] SimpleNamespace accepts non-string keyword names

2017-10-01 Thread R. David Murray
Change by R. David Murray : -- nosy: +eric.snow ___ Python tracker <https://bugs.python.org/issue31655> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31655] SimpleNamespace accepts non-string keyword names

2017-10-01 Thread R. David Murray
R. David Murray added the comment: Sorry, not broken, it just raises a type error, which is appropriate :) -- ___ Python tracker <https://bugs.python.org/issue31

[issue31656] Bitwise operations for bytes-type

2017-10-01 Thread R. David Murray
R. David Murray added the comment: What happens when you apply a bitwise operation to two bytes objects of unequal length? Since the answer to that question is not obvious, we simply don't support the operation. If you want to make a proposal for this the python-ideas mailing list wou

[issue31660] sys.executable different in os.execv'd python3.6 virtualenv session in python2 vs python3

2017-10-02 Thread R. David Murray
R. David Murray added the comment: virtualenv is not part of the standard library. What happens if you use venv instead? -- nosy: +r.david.murray ___ Python tracker <https://bugs.python.org/issue31

[issue31670] Associate .wasm with application/wasm

2017-10-03 Thread R. David Murray
R. David Murray added the comment: We generally wait for something a bit stronger than "tentatively" before adding a mime type (ie: an actual submission to the relevant standards channel). -- nosy: +r.david.murray ___ Python track

[issue31583] 2to3 call for file in current directory yields error

2017-10-03 Thread R. David Murray
R. David Murray added the comment: 3.5 is in security-fix-only mode, and we use versions to indicate which versions we plan to fix the bug in. -- nosy: +r.david.murray versions: -Python 3.5 ___ Python tracker <https://bugs.python.org/issue31

[issue31583] 2to3 call for file in current directory yields error

2017-10-03 Thread R. David Murray
R. David Murray added the comment: Yes, redistributors sometimes backport non-security fixes if they consider them important enough. Note that I haven't evaluated the merits of this issue, and there is a related issue about how 2to3 finds its fixers that this may overlap

[issue31670] Associate .wasm with application/wasm

2017-10-03 Thread R. David Murray
R. David Murray added the comment: Yes, if/when it goes in it will go in to all currently maintained versions. I've adjusted 'versions' accordingly. -- versions: -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker <https

[issue31688] scope error

2017-10-04 Thread R. David Murray
R. David Murray added the comment: Yes, this conforms to Python's namespace/scoping rules: nested scopes are allowed to reference (but not assign to) variables from the global scope even without a 'global' declaration. -- nosy: +r.david.murray resolution: -&g

[issue27645] Supporting native backup facility of SQLite

2017-10-05 Thread R. David Murray
R. David Murray added the comment: If you are talking about Gerhard, if he was still around you'd probably get a similar response, but he hasn't been around much. So this is somewhat of an orphaned module currently and it takes longer for an issue to get traction. One of the dr

[issue31712] subprocess with stderr=subprocess.STDOUT hang

2017-10-06 Thread R. David Murray
R. David Murray added the comment: Given the title, are you saying that it works if you omit the stderr=subprocess.STDOUT? At the beginning you say you are using an authorized key and mux so you don't need to enter a password, and at the end you say it works fine if the MUX is created

[issue31717] Socket documentation threading misstep?

2017-10-06 Thread R. David Murray
R. David Murray added the comment: Based on the paragraph following the example, I don't think client_thread is a threading.Thread, and 'run' is meant to be a generic representation of a possible API. Since Threads do have a 'run' method, this is certainly potenti

[issue31717] Socket documentation threading misstep?

2017-10-06 Thread R. David Murray
R. David Murray added the comment: Or maybe instead of client_handler/run, it should be something like handle_client_asynchronously(clientsocket). -- ___ Python tracker <https://bugs.python.org/issue31

[issue31726] Missing token.COMMENT

2017-10-08 Thread R. David Murray
R. David Murray added the comment: This is fixed in python3. Do you have a use case for 2.7 or are you just noticing? -- nosy: +r.david.murray versions: -Python 3.4 ___ Python tracker <https://bugs.python.org/issue31

[issue31726] Missing token.COMMENT

2017-10-08 Thread R. David Murray
R. David Murray added the comment: 3.4 and 3.5 are in security maintenance mode only, and this is not a security bug. This was fixed in master (3.7) as a result of issue 25324. The decision there was made to not backport it because no one had complained about the problem previously. Now

[issue31739] socket.close recommended but not demonstrated in same-page example code

2017-10-09 Thread R. David Murray
R. David Murray added the comment: Which example? (It might be easiest to just generate a PR with your suggested improvement.) -- nosy: +r.david.murray ___ Python tracker <https://bugs.python.org/issue31

[issue31741] backports import path can not be overridden in Windows (Linux works fine)

2017-10-09 Thread R. David Murray
R. David Murray added the comment: Where did you get your installer? I don't find any references to 'backports' in our repo, other than a couple of places in the docs where the word appears. I also don't understand the relationship between your MyPackages and a backpo

[issue31741] backports import path can not be overridden in Windows (Linux works fine)

2017-10-09 Thread R. David Murray
R. David Murray added the comment: What is "the backports module"? I still don't understand what a backports directory, that I don't think our installer creates, has to do with your MyLibraries directory. I'm sorry that I'm having trouble following your expla

[issue31742] Default to emitting FutureWarning for provisional APIs

2017-10-10 Thread R. David Murray
R. David Murray added the comment: I think there needs to be an easy way to turn off the warnings while running tests, as well. I don't want to be bothered by those messages when testing parts of my package that are consciously using the provisional features. But really, I agree with

[issue31742] Default to emitting FutureWarning for provisional APIs

2017-10-10 Thread R. David Murray
R. David Murray added the comment: That's why I said set on by default by the test harnesses. The opt in would be done by the standard testing tools, not directly by the programmer. That's how deprecation warnings work now. -- ___ Pyth

[issue31742] Default to emitting FutureWarning for provisional APIs

2017-10-10 Thread R. David Murray
R. David Murray added the comment: I imagine we could make it controlled by the same setting that controls deprecation warnings, with some way to differentiate them if you really need to. I forget exactly how that warning control works, so maybe that would be awkward, but I wouldn'

[issue31742] Default to emitting FutureWarning for provisional APIs

2017-10-10 Thread R. David Murray
R. David Murray added the comment: Nick says: "Neither of those situations can be encountered simply by running an existing *application* on a newer version of Python". I fail to see the operational difference between running an application on a newer version of Python and d

[issue31741] backports import path can not be overridden in Windows (Linux works fine)

2017-10-11 Thread R. David Murray
R. David Murray added the comment: Ah, so backports is a package on pypi. You should report this problem wherever they do their bug tracking. It is *possible* there is some problem in 2.7 on windows, but it is much more likely to be a bug in backports on windows. In sort, python does not

[issue31762] Issue in login

2017-10-11 Thread R. David Murray
R. David Murray added the comment: This tracker is for reporting bugs in python. If you want to report a problem with the tracker, please use the 'report tracker problem' link in the left column. (That said, I thought the error message you show in the screenshot was fixed by

[issue31763] Add NOTICE level to the logging module

2017-10-11 Thread R. David Murray
R. David Murray added the comment: I fixed the title for you, otherwise this looks like a duplicate of issue 31732. -- nosy: +r.david.murray title: Add TRACE level to the logging module -> Add NOTICE level to the logging module ___ Python trac

[issue31765] BUG: System deadlocks performing big loop operations in python 3.5.4, windows 10

2017-10-11 Thread R. David Murray
R. David Murray added the comment: Most likely an error in your program logic, I'm afraid. This isn't a forum for getting help, you should try the python-list mailing list. (If you do find a bug, you can then open an issue with details.) -- nosy: +r.da

[issue31732] Add TRACE level to the logging module

2017-10-14 Thread R. David Murray
R. David Murray added the comment: I'm not arguing against the rejection, but I want to mention a point in relation to Raymond's statement "five levels have sufficed for a long and that the need for finer distinctions almost never arises in practice". In thinking abou

[issue31739] socket.close recommended but not demonstrated in same-page example code

2017-10-17 Thread R. David Murray
R. David Murray added the comment: I think in the echo examples the 'with conn' block should be indented and a 'with s:' added around it. The network sniffer should probably use a with statement with the created socket. The CAN example ends only on ctrl-C, and could go i

[issue31739] socket.close recommended but not demonstrated in same-page example code

2017-10-17 Thread R. David Murray
R. David Murray added the comment: Heh, of course the socket server also only ends with ctl-C. And I misread the CAN example, it won't spin because the read isn't wrapped in a try/except. So yes, that should use a with on the socket as well, since the with will close the socket

[issue31778] ast.literal_eval supports non-literals in Python 3

2017-10-18 Thread R. David Murray
R. David Murray added the comment: "Safely evaluate an expression node or a string containing a Python expression." The behavior you are citing matches that documentation, as far as I can see. 1+1 is an expression involving supported literals. -- nosy: +r.da

[issue31831] EmailMessage.add_attachment(filename="long or spécial") crashes or produces invalid output

2017-10-20 Thread R. David Murray
R. David Murray added the comment: Does the patch in gh-3488 fix this? I think it should, or if it doesn't that's a bug in the PR patch. -- ___ Python tracker <https://bugs.python.o

[issue31831] EmailMessage.add_attachment(filename="long or spécial") crashes or produces invalid output

2017-10-21 Thread R. David Murray
R. David Murray added the comment: You are correct, that is a bug. Presumably I forgot to check for non-ascii when the parameter value doesn't need to be folded. I'm not sure when I'll have time to look at this, unfortunately :(. If you can see how to fix it, you could subm

[issue31831] EmailMessage.add_attachment(filename="long or spécial") crashes or produces invalid output

2017-10-22 Thread R. David Murray
R. David Murray added the comment: Great, thank you for that research. And yes, that's exactly why __str__ uses utf8=True, the "picture" of the message is much more readable. I will commit that PR soon. -- ___ Python

[issue31864] datetime violates Postel's law

2017-10-24 Thread R. David Murray
R. David Murray added the comment: The python standard library does not parse files, nor does it have a _parse_rfc message. You say you reported the problem you are having to "the program's maintainer", and that is appropriate. There does not appear to be anything in this re

[issue31864] datetime violates Postel's law

2017-10-24 Thread R. David Murray
R. David Murray added the comment: I meant the python standard library datetime package doesn't parse files, of course :) Other parts of the stdlib certainly do parse files. -- ___ Python tracker <https://bugs.python.org/is

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2017-10-26 Thread R. David Murray
R. David Murray added the comment: It may be a proper noun, but it is conventionally spelled with a lowercase letter when referring to the type/object. It would be spelled with an upper case letter when referring to the *standard*. -- ___ Python

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2017-10-26 Thread R. David Murray
R. David Murray added the comment: In this case I think the cost of editing for consistency may be higher than the value, especially since as you say there are ambiguous cases. -- ___ Python tracker <https://bugs.python.org/issue31

[issue23990] Callable builtin doesn't respect descriptors

2017-10-26 Thread R. David Murray
R. David Murray added the comment: Ionel please give commenters the benefit of the doubt. In this case, Raymond is merely articulating our policy: if something is in pre-PEP stage we don't generally keep issues open in the tracker. We open issues for PEPs when they get t

[issue31881] subprocess.returncode not set depending on arguments to subprocess.run

2017-10-26 Thread R. David Murray
R. David Murray added the comment: If you run mpirun -np 4 myexe.x moreargs; echo $? in /bin/sh, what do you see? You also might try to make sure it is the same mpirun and the same myexe.x that is being called in both cases (it is the mpirun return code you are seeing). -- nosy

[issue31887] docs for email.generator are missing a comment on special multipart/signed handling

2017-10-27 Thread R. David Murray
R. David Murray added the comment: The patch looks good to me if someone wants to make a PR out of it. If you wouldn't mind digitally signing the CLA, Peter, that would make PSF legal happy, though I doubt a one sentence doc patch is really an

[issue31905] IPv4Networkcontains raises exception on None

2017-10-30 Thread R. David Murray
R. David Murray added the comment: It is not obvious that this is a bug. Why should None be a valid value for 'in network'? -- nosy: +r.david.murray ___ Python tracker <https://bugs.python.o

[issue31941] ImportError: DLL Load Failure: The specified module cannot be found

2017-11-03 Thread R. David Murray
R. David Murray added the comment: Duplicate of #25655. Any concrete proposals for how to make this better are welcome. -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Python errors related to failures loadin

[issue31939] Support return annotation in signature for Argument Clinic

2017-11-05 Thread R. David Murray
R. David Murray added the comment: I believe we currently have a policy that the python standard library will not include type annotations, that those are provided by typeshed. -- nosy: +r.david.murray ___ Python tracker <https://bugs.python.

[issue31968] exec(): method's default arguments from dict-inherited globals

2017-11-07 Thread R. David Murray
R. David Murray added the comment: Yes, that's the way it works (and is intended to work, for performance reasons). The documentation on this could be improved...while it does say globals must be a dict and that locals can be any mapping object, it does it in a sentence that is

[issue31975] Add a default filter for DeprecationWarning in __main__

2017-11-08 Thread R. David Murray
R. David Murray added the comment: >From the linked email: > That way ad hoc scripts and the REPL will get warnings by default, > while zipapps and packages can avoid warnings by keeping their > __main__.py simple, and importing a CLI helper function from another > module. Entr

[issue31904] Python should support VxWorks RTOS

2017-11-08 Thread R. David Murray
R. David Murray added the comment: I'm not sure what licensing issues you are talking about, but setting up a buildbot shouldn't normally run into any. As long as you have a license to the run the OS, the fact that you are using it to receive jobs from our build master an

[issue31984] startswith and endswith leak implementation details

2017-11-08 Thread R. David Murray
R. David Murray added the comment: Can you please give examples of what you think the problem is? -- nosy: +r.david.murray ___ Python tracker <https://bugs.python.org/issue31

[issue31975] Add a default filter for DeprecationWarning in __main__

2017-11-08 Thread R. David Murray
R. David Murray added the comment: It was never about putting the interests of the app developers first, it was about putting the interests of the users first: not being pestered by seeing deprecation warnings they can't do anything about. So yeah, maybe a PEP explaining the logic wou

[issue31989] setattr on a property gives a very unhelpful exception

2017-11-09 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of #27794. -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> setattr a read-only property; the AttributeError should show the attribute that failed versions:

[issue31992] Make iteration over dict_items yield namedtuples

2017-11-10 Thread R. David Murray
R. David Murray added the comment: This is not something it is worth complicating the dict API or collections for. If you want the feature in your code, implement your subclass in your own utility library. If you disagree with this decision, please bring it up on the python-ideas mailing

[issue31975] Add a default filter for DeprecationWarning in __main__

2017-11-11 Thread R. David Murray
R. David Murray added the comment: > Why would mypy, flake8 or pip emit DeprecationWarnings? Because they use python features that get deprecated, and the python the user is using to run them gets upgraded. Now, those particular tools probably will get updated quickly, but other tools w

[issue31975] Add a default filter for DeprecationWarning in __main__

2017-11-12 Thread R. David Murray
R. David Murray added the comment: My *personal* memory (as in, the reason I gave a sigh of relief when we made this change) was other tools, regardless of what core's rationale was :) (If I remember correctly it was some sysadmin-type tool I was using just about every

[issue32018] inspect.signature does not respect PEP 8

2017-11-13 Thread R. David Murray
R. David Murray added the comment: FWIW, I find the version without the spaces to be more readable (but I don't find annotations to be readable in general, so my opinion may not be worth much :) -- nosy: +r.david.murray ___ Python tracker &

[issue32018] inspect.signature does not respect PEP 8

2017-11-13 Thread R. David Murray
R. David Murray added the comment: Agreed. -- ___ Python tracker <https://bugs.python.org/issue32018> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32021] Brotli encoding is not recognized by mimetypes

2017-11-14 Thread R. David Murray
R. David Murray added the comment: It looks like Brotli is a de-facto standard (RFC 7932 is an informational RFC), and it says the IANA registry has been updated. However, this appears to be http-only, with no corresponding program used for compression of files, and thus no "file exte

[issue32021] Brotli encoding is not recognized by mimetypes

2017-11-14 Thread R. David Murray
R. David Murray added the comment: OK, so there are "real" filenames that have .br on the end? That wasn't clear from the RFC and discussions I found. Based on the documentation, br is for use in the Content-Encoding header. What does aiohttp do when it gets a brotli enco

[issue32021] Brotli encoding is not recognized by mimetypes

2017-11-14 Thread R. David Murray
R. David Murray added the comment: Note, I'm not saying we shouldn't do this, I'd just like to get good documentation of why linked to this issue. -- ___ Python tracker <https://bugs.pyt

[issue32021] Brotli encoding is not recognized by mimetypes

2017-11-14 Thread R. David Murray
R. David Murray added the comment: Hmm. OK, the docs do say that value should be usable as a content-encoding header. However, absent any sort of program that actually does brotli encoding/decoding to and from files, this would be essentially useless based on the aiohttp's algorithm (o

[issue32036] error mixing positional and non-positional arguments with `argparse`

2017-11-15 Thread R. David Murray
R. David Murray added the comment: Can you reproduce this without your PosArgsParser? -- nosy: +r.david.murray ___ Python tracker <https://bugs.python.org/issue32

[issue32021] Brotli encoding is not recognized by mimetypes

2017-11-15 Thread R. David Murray
R. David Murray added the comment: OK, bouncing around from those URL I finally found this: https://github.com/google/ngx_brotli/issues/28 That indicates unambiguously that someone does expect files to be pre-compressed on the server and that the main brotli package provides a cli tool (I

[issue32036] error mixing positional and non-positional arguments with `argparse`

2017-11-15 Thread R. David Murray
R. David Murray added the comment: Ah, yes, I'd managed to forget about that issue, even though I was the one that finally committed the fix. So, the alternate parser will be in 3.7. In the meantime you can grab the code from the commit and put it in a local file, I think. You'll

[issue32042] Option for comparing values instead of reprs in doctest

2017-11-15 Thread R. David Murray
R. David Murray added the comment: I think it is an interesting idea. Let see what other people think. -- nosy: +r.david.murray ___ Python tracker <https://bugs.python.org/issue32

<    29   30   31   32   33   34   35   36   37   38   >