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
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
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
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
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
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
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
&
Change by wim glenn :
--
nosy: +wim.glenn
___
Python tracker
<https://bugs.python.org/issue40379>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by wim glenn :
--
nosy: +wim.glenn
___
Python tracker
<https://bugs.python.org/issue45356>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by wim glenn :
--
nosy: +wim.glenn
___
Python tracker
<https://bugs.python.org/issue27153>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by wim glenn :
--
nosy: +wim.glenn
___
Python tracker
<https://bugs.python.org/issue28742>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by wim glenn :
--
nosy: +wim.glenn
___
Python tracker
<https://bugs.python.org/issue29249>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
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
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
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
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
Glenn Linderman added the comment:
for more helpful => far more helpful
--
___
Python tracker
<https://bugs.python.org/issue42973>
___
___
Python-bugs-lis
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
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
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.
-
Change by Glenn Linderman :
--
nosy: +v+python
___
Python tracker
<https://bugs.python.org/issue42973>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
wim glenn added the comment:
Hi Raymond, any update on this?
--
nosy: +wim.glenn
___
Python tracker
<https://bugs.python.org/issue34394>
___
___
Python-bug
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
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
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
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
Change by Glenn Travis :
Added file: https://bugs.python.org/file49159/errormessage.jpg
___
Python tracker
<https://bugs.python.org/issue40649>
___
___
Python-bugs-list m
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
Change by Glenn Travis :
--
title: [Errno 1} -> [Errno 1]
___
Python tracker
<https://bugs.python.org/issue40649>
___
___
Python-bugs-list mailing list
Un
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&
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
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.
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
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
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
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
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
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
Glenn Travis added the comment:
So, how do we wake this sleeping concern up?
--
nosy: +TotallyLost
___
Python tracker
<https://bugs.python.org/issue32
Glenn Travis added the comment:
Pull - Request?
--
___
Python tracker
<https://bugs.python.org/issue40580>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
Change by wim glenn :
--
nosy: +wim.glenn
___
Python tracker
<https://bugs.python.org/issue17005>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by wim glenn :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by wim glenn :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue36761>
___
___
Python-bugs-list
Change by wim glenn :
--
pull_requests: +16953
pull_request: https://github.com/python/cpython/pull/17472
___
Python tracker
<https://bugs.python.org/issue27
Change by wim glenn :
--
nosy: +wim.glenn
___
Python tracker
<https://bugs.python.org/issue31542>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
Change by Glenn Johnson :
--
nosy: +Glenn Johnson
___
Python tracker
<https://bugs.python.org/issue37415>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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):
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
Change by Glenn Linderman :
--
nosy: +v+python
___
Python tracker
<https://bugs.python.org/issue36863>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
Change by wim glenn :
--
keywords: +patch
pull_requests: +9152
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue29636>
___
___
Python-
Change by wim glenn :
--
pull_requests: +8545
stage: commit review -> patch review
___
Python tracker
<https://bugs.python.org/issue28617>
___
___
Python-
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?
-
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
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
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
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
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
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
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
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
Changes by wim glenn :
--
versions: +Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue11874>
___
___
Python-bugs-list mailing list
Unsub
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
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
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
Glenn Linderman added the comment:
"veery" should be "veering" in above comment, sorry.
--
___
Python tracker
<http://bugs.python.org/issue30576>
___
_
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 - 100 of 417 matches
Mail list logo