[issue11352] Update cgi module doc

2021-11-30 Thread Glenn Linderman
Glenn Linderman added the comment: First I would have to learn how GitHub works, and how PRs work. And I haven't found time for that, as yet. -- ___ Python tracker <https://bugs.python.org/is

[issue11352] Update cgi module doc

2021-11-30 Thread Glenn Linderman
Glenn Linderman added the comment: Seems like another example of the CGI module not getting much support. While I haven't looked at all the details of the patches, it seems that several people have contributed enhancements or clarifications. and it would be a shame to discard them r

[issue10483] http.server - what is executable on Windows

2021-11-18 Thread Glenn Linderman
Glenn Linderman added the comment: On 11/18/2021 7:36 AM, STINNER Victor wrote: > STINNER Victor added the comment: > > I searched for open issues which contain "cgi" in their title. I found 43 > open issues. The oldest is 101 months ago. > > In 10 years, Lib/cg

[issue44257] typo and verbous grammar in the grammar spec

2021-11-03 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn nosy_count: 2.0 -> 3.0 pull_requests: +27651 pull_request: https://github.com/python/cpython/pull/29393 ___ Python tracker <https://bugs.python.org/issu

[issue10483] http.server - what is executable on Windows

2021-11-01 Thread Glenn Linderman
Glenn Linderman added the comment: Ethan, 3.7.2 at the moment. I doubt there'd be any issues moving it to 3.11, unless there have been significant changes to the main branch in that area, I just haven't bothered because it is working for me as is. I forget what version I st

[issue10483] http.server - what is executable on Windows

2021-11-01 Thread Glenn Linderman
Glenn Linderman added the comment: As the original author of this report, getting significant pushback from the then maintainer of the code, I went ahead and implemented what I considered to be a useful set of features to make CGI work on Windows. I never proposed them as a patch, because

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-10-27 Thread wim glenn
wim glenn added the comment: added Graham Dumpleton to nosy list in case he has some useful insight here, I think the PR from issue19072 may have been adapted from grahamd's patch originally? -- nosy: +grahamd ___ Python tracker &

[issue40379] multiprocessing's default start method of fork()-without-exec() is broken

2021-10-18 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn ___ Python tracker <https://bugs.python.org/issue40379> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45356] Calling `help` executes @classmethod @property decorated methods

2021-10-04 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn ___ Python tracker <https://bugs.python.org/issue45356> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44507] Favor needed ASAP

2021-06-24 Thread Glenn Travis
New submission from Glenn Travis : - This mail is in HTML. Some elements may be ommited in plain text. - Hi to you! Need a favor from you, do you have an account with Amazon? Glenn Travis -- messages: 396511 nosy: Old Sub Sailor priority: normal severity: normal status: open title

[issue27153] Default value shown by argparse.ArgumentDefaultsHelpFormatter is backwards for action='store_false'

2021-06-03 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn ___ Python tracker <https://bugs.python.org/issue27153> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28742] argparse.ArgumentDefaultsHelpFormatter sometimes provides inaccurate documentation of defaults, so they should be overrideable

2021-06-03 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn ___ Python tracker <https://bugs.python.org/issue28742> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29249] Pathlib glob ** bug

2021-06-03 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn ___ Python tracker <https://bugs.python.org/issue29249> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32824] Docs: Using Python on a Macintosh has bad info per Apple site

2021-04-29 Thread Glenn Travis
Glenn Travis added the comment: Here is a copy of the Apple Python call as of April 29, 2021. To my way of thinking it seems that Apple is saying that someday they will indeed eliminate all the included “scripting” software from macOS and they further imply that one should install an. Up-to

[issue32824] Docs: Using Python on a Macintosh has bad info per Apple site

2021-04-28 Thread Glenn Travis
Glenn Travis added the comment: I see that this remains alive. I do have a newer question. Apple continues to say that they are going to drop all their included versions of python and I believe ruby in some future version of macOS. I thought that this would happen in Big Sur, but python

[issue28874] test_logging fails and freezes

2021-04-24 Thread wim glenn
wim glenn added the comment: I was seeing this problem when building 3.6.4. Fixed it by replacing the test cert with a newer one from 3.6.13: curl https://raw.githubusercontent.com/python/cpython/v3.6.13/Lib/test/keycert.pem > ./Lib/test/keycert.pem Hope this helps someone else

[issue43046] argparse: capturing actions

2021-01-28 Thread Glenn Linderman
Glenn Linderman added the comment: Raymond Hettinger added the comment: >> Sounds like another wet blanket argpment > Please watch your tone. It borders on being abusive. I considered that as a canonical description of the type of negativity presented by your comment. It was not

[issue43046] argparse: capturing actions

2021-01-27 Thread Glenn Linderman
Glenn Linderman added the comment: Raymond said: ISTM the scope of argparse was never intended to capture all possible patterns for command line argument parsing. Instead, it aimed at to address the common cases. I say: Sounds like another wet blanket argpment. Refer to the section &quo

[issue43046] argparse: capturing actions

2021-01-27 Thread Glenn Linderman
Glenn Linderman added the comment: So the missing signature is why I didn't understand, probably. At least, it seems reasonable to blame that :) You didn't include [version] in the signature, but that isn't your fault: it isn't in the original and should be (see action

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-27 Thread Glenn Linderman
Glenn Linderman added the comment: paul j3 said: Given how different this is from the normal argparse parsing (and the POSIX parsing argparse seeks to emulate), I question the wisdom of adding this, in part or whole, to the stock distribution. It could certainly be published as a pypi

[issue43046] argparse: capturing actions

2021-01-27 Thread Glenn Linderman
Glenn Linderman added the comment: I'm a little confused by the mention of the "key" keyword argument. I suspect that is an internal concept to argparse, possibly passed that way to internal methods, but on the add_argument interface, it doesn't exist... instead ther

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-27 Thread Glenn Linderman
Glenn Linderman added the comment: Yes I think this is a useful enabling step toward enhanced functionality, as is. But I think the learning curve to achieve the enhanced functionality is a bit high for most people, as it requires too much knowledge of argparse internals, so I really look

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-26 Thread Glenn Linderman
Glenn Linderman added the comment: Paul said: I haven't had a chance to study your longer posts, but it seems to me that the AddFruitAction example could just as well be implemented with parser.add_argument('--color', nargs='*', action='append') wit

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-26 Thread Glenn Linderman
Glenn Linderman added the comment: This sounds very good to me. Might also want action='store_capture' for a single positional definition? capture could be a string, or any iterable of strings (tuple comes to mind) capture_once have similar value as capture, but I wonder if

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-25 Thread Glenn Linderman
Glenn Linderman added the comment: for more helpful => far more helpful -- ___ Python tracker <https://bugs.python.org/issue42973> ___ ___ Python-bugs-lis

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-25 Thread Glenn Linderman
Glenn Linderman added the comment: OK, I think I see what you are doing here. Thanks for your responses. And probably it is the bare-bones minimum feature that allows user-implementation of "as complex as desired" combinations of optionals and context-sensitive positionals. I

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-25 Thread Glenn Linderman
Glenn Linderman added the comment: On 1/25/2021 12:43 PM, Tadek Kijkowski wrote: > Tadek Kijkowski added the comment: > > I added tests and docs to the PR. How does it look now? Could you send me the docs privately? I'm trying to understand what you are suggesting, without re

[issue42948] bytearray.copy is undocumented

2021-01-24 Thread wim glenn
wim glenn added the comment: Oh, I've missed that part. Although the note (5) seems to indicate that the copy method refers to sequence types which don't support slicing, it still seems adequately documented under the mutable sequence operations. I'll close this. -

[issue42973] argparse: mixing optional and positional arguments... not again

2021-01-22 Thread Glenn Linderman
Change by Glenn Linderman : -- nosy: +v+python ___ Python tracker <https://bugs.python.org/issue42973> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42948] bytearray.copy is undocumented

2021-01-17 Thread wim glenn
New submission from wim glenn : bytearray type has a copy method which seems to be undocumented https://docs.python.org/3/library/stdtypes.html#bytes-and-bytearray-operations -- assignee: docs@python components: Documentation messages: 385164 nosy: docs@python, wim.glenn priority

[issue37449] Move ensurepip off of pkgutil and to importlib.resources

2020-10-11 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn nosy_count: 4.0 -> 5.0 pull_requests: +21636 pull_request: https://github.com/python/cpython/pull/22659 ___ Python tracker <https://bugs.python.org/issu

[issue41793] Inaccuracy about reflected operands in datamodel docs.

2020-09-15 Thread wim glenn
Change by wim glenn : -- keywords: +patch pull_requests: +21312 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22257 ___ Python tracker <https://bugs.python.org/issu

[issue41793] Inaccuracy about reflected operands in datamodel docs.

2020-09-15 Thread wim glenn
New submission from wim glenn : Qualifying that the right operand's type must be a *strict* subclass for the reflected method to take precedence avoids an edge case / counter-example when the types are actually equal. >>> class A: ... def __add

[issue34394] Descriptors HowTo doesn't mention __set_name__

2020-09-15 Thread wim glenn
wim glenn added the comment: Hi Raymond, any update on this? -- nosy: +wim.glenn ___ Python tracker <https://bugs.python.org/issue34394> ___ ___ Python-bug

[issue40649] [Errno 1]

2020-05-17 Thread Glenn Travis
Glenn Travis added the comment: I think that you are referring to Gatekeeper. Something that I have run into with various applications, such as certain utility files in Ortho4XP and even when adding aircraft to X-Plane(some of the developers refuse to become approved Apple developers

[issue40649] [Errno 1]

2020-05-17 Thread Glenn Travis
Glenn Travis added the comment: As per your suggestion I have sent an email to python help, just looking for info regarding what you would consider the key permission settings. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40649] [Errno 1]

2020-05-17 Thread Glenn Travis
Glenn Travis added the comment: ok, fine. So what permissions would indicate that "the Python interpreter can read it." The Get Info screenshot that he sent me looks just like mine with regard to permissions. The long list in terminal shows nothing special. I am not having proble

[issue40649] [Errno 1]

2020-05-16 Thread Glenn Travis
Glenn Travis added the comment: I think that I will ask him to reinstall Python. Which can be a scary process for him. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40649] [Errno 1]

2020-05-16 Thread Glenn Travis
Change by Glenn Travis : Added file: https://bugs.python.org/file49159/errormessage.jpg ___ Python tracker <https://bugs.python.org/issue40649> ___ ___ Python-bugs-list m

[issue40649] [Errno 1]

2020-05-16 Thread Glenn Travis
Glenn Travis added the comment: I think that there is something odd going on with his python install. He just tried to run a very simple python script that I made for him, print('Hello there python interperter') And he got the same error message again. I do not know what more i

[issue40649] [Errno 1]

2020-05-16 Thread Glenn Travis
Change by Glenn Travis : -- title: [Errno 1} -> [Errno 1] ___ Python tracker <https://bugs.python.org/issue40649> ___ ___ Python-bugs-list mailing list Un

[issue40649] [Errno 1}

2020-05-16 Thread Glenn Travis
New submission from Glenn Travis : A fellow on the X-Plane forum reported getting this: cd desktop/Ortho4XP-130 ianrobertson@Ians-iMac Ortho4XP-130 % python3 Ortho4XP_v130.py /Library/Frameworks/Python.framework/Versions/3.8/bin/python3: can't open file 'Ortho4XP_v130.py&

[issue40477] Python Launcher app on macOS 10.15 Catalina fails to run scripts

2020-05-15 Thread Glenn Travis
Glenn Travis added the comment: Is there no way to edit a previous comment? Anyway, I can get it to work as described, but the Launcher Preferences window also opens when I run a script. Did I miss a setting? -- ___ Python tracker <ht

[issue40477] Python Launcher app on macOS 10.15 Catalina fails to run scripts

2020-05-14 Thread Glenn Travis
Glenn Travis added the comment: It is working now. However, I end up with two terminal windows open. One is the one that I opened and the second appears to have been opened by the Launcher?? -- ___ Python tracker <https://bugs.python.

[issue40477] Python Launcher app on macOS 10.15 Catalina fails to run scripts

2020-05-14 Thread Glenn Travis
Glenn Travis added the comment: Thank you Ned. So close now. After your final fix, if I understood you correctly, we will no longer have to open Terminal? And, excuse my vast knowledge gap, but will it ever be possible to not have the terminal run in the future

[issue40477] Python Launcher app on macOS 10.15 Catalina fails to run scripts

2020-05-14 Thread Glenn Travis
Glenn Travis added the comment: Well heck. I just tried it, and got an error. The error does not occur when I run the script directly from the Terminal, nor when I run it via IDLE (double click) Last login: Thu May 14 07:57:11 on ttys000 But what do I know? % cd '/Volumes/BigHDD/Ort

[issue40477] Python Launcher app on macOS 10.15 Catalina fails to run scripts

2020-05-14 Thread Glenn Travis
Glenn Travis added the comment: I appreciate the update. As an aside, I keep the terminal in the dock. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40477] Launcher on Catalina

2020-05-11 Thread Glenn Travis
Glenn Travis added the comment: I tried to report this concern under Documentation, but got shot down as duplicate. I have the same results. I tried to make Launcher the default "Open With" application for a script, also tried dragging (and Option dragging) the script to th

[issue32824] Docs: Using Python on a Macintosh has bad info per Apple site

2020-05-09 Thread Glenn Travis
Glenn Travis added the comment: Thank you, but how in the world does one know where to look or find that document at github. I tried to search earlier and got hundreds of listings for python doc. Sent from my iPhone > On May 9, 2020, at 16:36, Glenn Travis wrote: > > Thank

[issue32824] Docs: Using Python on a Macintosh has bad info per Apple site

2020-05-09 Thread Glenn Travis
Glenn Travis added the comment: Thank you Remi > On May 9, 2020, at 4:15 PM, Rémi Lapeyre wrote: > > > Rémi Lapeyre added the comment: > > Hi Gleen, the best way forward is to propose an improvement to the current > documentation. It will get reviewed and merge if

[issue32824] Docs: Using Python on a Macintosh has bad info per Apple site

2020-05-09 Thread Glenn Travis
Glenn Travis added the comment: So, how do we wake this sleeping concern up? -- nosy: +TotallyLost ___ Python tracker <https://bugs.python.org/issue32

[issue40580] Macintosh Documentation Still Bad

2020-05-09 Thread Glenn Travis
Glenn Travis added the comment: Pull - Request? -- ___ Python tracker <https://bugs.python.org/issue40580> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40580] Macintosh Documentation Still Bad

2020-05-09 Thread Glenn Travis
Glenn Travis added the comment: Thank you for your reply. I just wanted to renew or recall attention to the older one. It seems to have been dormant for too long. A C program is like a fast dance on a newly waxed dance floor by people carrying razors. -W.R. And now for something

[issue40580] Macintosh Documentation Still Bad

2020-05-09 Thread Glenn Travis
New submission from Glenn Travis : This was reported two years ago, and still is not fixed https://bugs.python.org/issue32824#msg312028 and the documentation is even older. It starts off referencing "Mac OS X 10.8" and Apple Documents that are archived. Then the section referen

[issue40284] Add mapping methods to types.SimpleNamespace

2020-04-14 Thread Glenn Linderman
Glenn Linderman added the comment: Here's what I have. Maybe it would be better if parse and dump were under or dunder names, although I think parse was in the original implementation I found. Is this the derived from the same original as PyPI dotable? Not sure. -- Added

[issue40284] Add mapping methods to types.SimpleNamespace

2020-04-14 Thread Glenn Linderman
Glenn Linderman added the comment: Yes, I laud this effort. I don't care if it is called SimpleNamespace (which I didn't use because it was insufficient), or anything else, but it would be extremely handy to have this battery. I eventually found one called Dotable (or did I re

[issue28029] Replace and empty strings

2020-04-01 Thread Glenn Linderman
Glenn Linderman added the comment: Nope: I guess for x.replace( a, b, c ) the workaround would be x.replace( a, b, c ) if x else x.replace( a, b ) -- ___ Python tracker <https://bugs.python.org/issue28

[issue28029] Replace and empty strings

2020-04-01 Thread Glenn Linderman
Glenn Linderman added the comment: Thanks Stèphańe and Serhiy, I just discovered this strange behavior in 3.8, and wondered how my logic was wrong, until I pinpointed the inconsistent behaviour of str.replace with an empty first parameter and replace count of 1. Glad to see it is fixed in

[issue17005] Add a topological sort algorithm

2020-02-20 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn ___ Python tracker <https://bugs.python.org/issue17005> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39269] Descriptor how-to guide wanting update for 3.6+ features

2020-01-08 Thread wim glenn
New submission from wim glenn : https://docs.python.org/3/howto/descriptor.html Current descriptor how-to guide, above, has no mention about API features added since Python 3.6 (see __set_name__ in PEP 487) It's an important and useful piece of using descriptors effectively and the

[issue28617] Why isn't "in" called a comparison operation?

2020-01-08 Thread wim glenn
Change by wim glenn : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36761] Extended slice assignment + iterable unpacking

2020-01-08 Thread wim glenn
Change by wim glenn : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue36761> ___ ___ Python-bugs-list

[issue27413] Add an option to json.tool to bypass non-ASCII characters.

2019-12-05 Thread wim glenn
Change by wim glenn : -- pull_requests: +16953 pull_request: https://github.com/python/cpython/pull/17472 ___ Python tracker <https://bugs.python.org/issue27

[issue31542] pth files in site-packages of venvs are executed twice

2019-11-08 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn ___ Python tracker <https://bugs.python.org/issue31542> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38557] PyTuple_GetSlice docs minor inaccuracy

2019-10-22 Thread wim glenn
New submission from wim glenn : https://docs.python.org/3/c-api/tuple.html#c.PyTuple_GetSlice In the c-api it says (emphasis mine): PyObject* PyTuple_GetSlice(PyObject *p, Py_ssize_t low, Py_ssize_t high)¶ Return value: New reference. Take a slice of the tuple pointed to by p from

[issue38191] typing.NamedTuple() should prefix parameters with '_'

2019-09-16 Thread Glenn Gribble
New submission from Glenn Gribble : At present, it is not possible to use the shorthand notation to define a NamedTuple with typename or fields. I.e., NamedTuple('MyTuple', typename=str, fields=int) does not work. Changing the parameter names to _typename and _fields would all

[issue37816] f-string documentation not fully accurate

2019-08-10 Thread Glenn Linderman
New submission from Glenn Linderman : I noticed the following description for f-strings: > Escape sequences are decoded like in ordinary string literals (except when a > literal is also marked as a raw string). After decoding, the grammar for the > contents of the string is: fo

[issue37684] list.extend docs inaccurate

2019-07-26 Thread wim glenn
wim glenn added the comment: Raymond, I understand that consecutive appends could potentially trigger multiple resizes behind the scenes, and so it's not really showing that extend is more like a bulk update as you mentioned. That's a good point! However I think it's a

[issue37684] list.extend docs inaccurate

2019-07-25 Thread wim glenn
Change by wim glenn : -- keywords: +patch pull_requests: +14720 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14951 ___ Python tracker <https://bugs.python.org/issu

[issue37684] list.extend docs inaccurate

2019-07-25 Thread wim glenn
New submission from wim glenn : >From https://docs.python.org/3/tutorial/datastructures.html#more-on-lists : list.extend(iterable) Extend the list by appending all the items from the iterable. Equivalent to a[len(a):] = iterable. The "equivalent" is not very g

[issue37415] Error build Python with Intel compiler: doesn't provide atomic_uintptr_t

2019-07-21 Thread Glenn Johnson
Change by Glenn Johnson : -- nosy: +Glenn Johnson ___ Python tracker <https://bugs.python.org/issue37415> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37490] poor documentation for .startswith, .endswith

2019-07-03 Thread Glenn Linderman
Glenn Linderman added the comment: Thanks for the explanations and suggestions. Now that I think I know what those parameters are used for... Sorry, my first example was tweaked on the fly, and doesn't make as much sense as it could because it wound up being a mix of pre-tweaked and tw

[issue37490] poor documentation for .startswith, .endswith

2019-07-02 Thread Glenn Linderman
Glenn Linderman added the comment: Or is text.startswith(('day', 'month', 'year'), 8, 12) the same as text[8:12] in ('day', 'month', 'year') What happens if the text doesn't have as many

[issue37490] poor documentation for .startswith, .endswith

2019-07-02 Thread Glenn Linderman
New submission from Glenn Linderman : The documentation is reasonably clear regarding the first parameter, which can be a string or a tuple of strings to match at the start or end of a string. However, the other two parameters are much less clear in their effect. text = "Now the day is

[issue30052] URL Quoting page links to function Bytes instead of defintion

2019-06-17 Thread wim glenn
wim glenn added the comment: This anchor works, by the way: https://docs.python.org/3/library/functions.html#func-bytes Hopefully someone more fluent in the docs syntax can figure out a way to fix the anchor-link hovers -- ___ Python tracker

[issue30052] URL Quoting page links to function Bytes instead of defintion

2019-06-17 Thread wim glenn
wim glenn added the comment: https://docs.python.org/3/library/functions.html Usually the little paragraph icon appears when you hover over a function name, giving an anchor link. It's not doing it for bytes or bytearray. Was that an unintended consequence of disambiguation fro

[issue37018] put http.server on a diet

2019-05-22 Thread Glenn Linderman
New submission from Glenn Linderman : The idea inspired by the email exchange below is basically in three parts: 1. investigate the various popular web server frameworks, to determine what parts of http.server they depend on. For example, bottle.py depends only on BaseHTTPRequestHandler and

[issue36909] LastUpdatedOrderedDict recipe uses super() unnecessarily

2019-05-13 Thread wim glenn
New submission from wim glenn : Section https://docs.python.org/3/library/collections.html#ordereddict-examples-and-recipes class LastUpdatedOrderedDict(OrderedDict): 'Store items in the order the keys were last added' def __setitem__(self, key, value):

[issue36761] Extended slice assignment + iterable unpacking

2019-05-13 Thread wim glenn
wim glenn added the comment: Serhiy, `a, *L[::2] = "abc"` as an alternative is interesting, thanks. The other example `L[:], *rest = 'abcdef'` is less interesting because L[:] can be arbitrary size. When noticing this, I had tried to consume a generator into every

[issue36863] argparse doesn't like options in the middle of arguments

2019-05-10 Thread Glenn Linderman
Change by Glenn Linderman : -- nosy: +v+python ___ Python tracker <https://bugs.python.org/issue36863> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36761] Extended slice assignment + iterable unpacking

2019-04-30 Thread wim glenn
New submission from wim glenn : Could cases like these be made to work? *Should* cases like these be made to work? L = [0, 1, 2] L[::2], *rest = "abcdef" # ValueError: attempt to assign sequence of size 1 to extended slice of size 2 a, L[::2] = "abc" # ValueError: too m

[issue10486] http.server doesn't set all CGI environment variables

2018-11-13 Thread Glenn Linderman
Glenn Linderman added the comment: That's interesting, Pierre, I hadn't really read the RFC carefully, to realize that many of the "missing" variables from Apache are HTTP headers, and that section 4.1.18 tell how to convert HTTP headers to meta variables. The code in ser

[issue10486] http.server doesn't set all CGI environment variables

2018-11-13 Thread Glenn Linderman
Glenn Linderman added the comment: Rémi Lapeyre, glad to see your interest here, as this is an old and languishing bug. I would have hoped based on my input, that had there been anyone that was maintaining the Python web server code, that they might have done a more complete analysis than I

[issue29636] Specifying indent in the json.tool command

2018-10-08 Thread wim glenn
Change by wim glenn : -- keywords: +patch pull_requests: +9152 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue29636> ___ ___ Python-

[issue28617] Why isn't "in" called a comparison operation?

2018-09-06 Thread wim glenn
Change by wim glenn : -- pull_requests: +8545 stage: commit review -> patch review ___ Python tracker <https://bugs.python.org/issue28617> ___ ___ Python-

[issue28044] Make the sidebar in the documentation follow the section automatically

2018-08-07 Thread Glenn Linderman
Glenn Linderman added the comment: Uh, thanks, I guess, but it wasn't marked out of date or resolved or closed when I commented. I haven't used the GitHub issue tracker. Sigh. There should be a link here to the issue that was copied there, to make it easy and obvious? -

[issue28044] Make the sidebar in the documentation follow the section automatically

2018-08-07 Thread Glenn Linderman
Glenn Linderman added the comment: Nice implementation of sticky sidebar. https://css-tricks.com/sticky-smooth-active-nav/#more-273952 I haven't looked at the patch, and don't know what R. David Murray doesn't like about how it works, but I find the Python sidebar extremely a

[issue32983] UnicodeDecodeError 'ascii' codec can't decode byte in position - ordinal not in range(128)

2018-03-02 Thread Glenn Linderman
Glenn Linderman added the comment: The problem here is that the error message is trying to write to an output device using ASCII. If there is no error, there is no error message print attempt. The error message, when written to an ASCII device, needs to be escaped. You don't show the

[issue32982] Parse out invisible Unicode characters?

2018-03-02 Thread Glenn Linderman
Glenn Linderman added the comment: Characters should not be stripped during compilation. But I can see where it might be helpful if the codepoint of the character, and the printed form just in case it is printable, could helpfully be included in the error message, as well as having the

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2017-12-27 Thread Glenn Linderman
Glenn Linderman added the comment: I don't know how to look back at the previous version of the PR, I was barely able to find the "current version" each time. The following line is in the current version: daemon_threads = True Whether it was in the previous version, I do

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2017-12-27 Thread Glenn Linderman
Glenn Linderman added the comment: I tried the approach in the PR "externally" (when starting the server using a test program), and I couldn't get it to work. But my test case was probably different: I was using Chrome rather than Chromium, and while they both work for me

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2017-12-17 Thread Glenn Linderman
Glenn Linderman added the comment: This probably has been around for a while: this 2011 thread in a Chromium wontfix bug is enlightening, but the solution suggested, a ThreadingMixIn for the HTTPServer, didn't help me. https://bugs.chromium.org/p/chromium/issues/detail?id=1

[issue31639] http.server and SimpleHTTPServer hang after a few requests

2017-12-17 Thread Glenn Linderman
Glenn Linderman added the comment: Same behavior on Windows. -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, v+python, zach.ware ___ Python tracker <https://bugs.python.org/issue31

[issue32263] Template string docs refer to "normal %-based substitutions"

2017-12-09 Thread Glenn Linderman
New submission from Glenn Linderman : At least as far back as Python 3.1, the description for Template strings (section 6.1.5 in version 3.6.4rc1 docs) starts by differentiating what Template strings do, as: Instead of the normal %-based substitutions, Templates support $-based substitutions

[issue11874] argparse assertion failure with brackets in metavars

2017-09-14 Thread wim glenn
Changes by wim glenn : -- versions: +Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue11874> ___ ___ Python-bugs-list mailing list Unsub

[issue29475] option to not follow symlinks when globbing

2017-09-12 Thread wim glenn
wim glenn added the comment: +1, would like to use this feature too, and I would like it also in pathlib.PosixPath.glob -- nosy: +wim.glenn ___ Python tracker <https://bugs.python.org/issue29

[issue14191] argparse doesn't allow optionals within positionals

2017-09-04 Thread Glenn Linderman
Glenn Linderman added the comment: I would dearly love to discard my private copies of argparse subclasses to implement this that I have been using for the last 5 years. Please, some other committer, concur here! -- ___ Python tracker <h

[issue26253] tarfile in stream mode always set zlib compression level to 9

2017-06-28 Thread wim glenn
wim glenn added the comment: This issue also got me. compresslevel kwarg works fine for tarfile.open(..., mode='w:gz') but raises exception for tarfile.open(..., mode='w|gz') I want to use stream compression, and compresslevel=1 is more than enough for my use case, the

[issue30576] http.server should support HTTP compression (gzip)

2017-06-25 Thread Glenn Linderman
Glenn Linderman added the comment: "veery" should be "veering" in above comment, sorry. -- ___ Python tracker <http://bugs.python.org/issue30576> ___ _

[issue30576] http.server should support HTTP compression (gzip)

2017-06-25 Thread Glenn Linderman
Glenn Linderman added the comment: Martin, I understood what you meant, but sadly, doing that least to confusion. Follow your link, it displays fine, and then save the file. At least in Firefox, the default name to save as is "nGzip — A File Compressor.html". This looks appropriat

  1   2   3   4   5   >