Shane Mai added the comment:
I added some code to wait for all tasks completion before exit:
currentTask = asyncio.current_task()
for t in asyncio.all_tasks():
if currentTask != t:
await t
and still got the exception
Then I think it created additional thread
Shane Harvey added the comment:
This issue says "mimetypes read from the registry should not overwrite standard
mime mappings". Was this change ever made? the following issue claims that the
"HKEY_CLASSES_ROOT\.js\Content Type" registry can still overrides
Shane Harvey added the comment:
I opened a PR to add the socket.TCP_KEEPALIVE flag *on macOS only*. I don't see
a reason to add it on Windows since as far as I can tell, TCP_KEEPALIVE is
completely undocumented there. Besides there are already two ways to configure
keepalive tim
Shane Harvey added the comment:
This issue was resolved in https://jira.mongodb.org/browse/PYTHON-2621
The cause of the segfault was determined to be gevent 1.3.4 (2018) and/or
greenlet 0.4.13 (2018). When the reporter upgraded to gevent==21.1.2 and
greenlet==1.0 the segfault went away
Change by Shane Harvey :
--
nosy: +ShaneHarvey
nosy_count: 3.0 -> 4.0
pull_requests: +23829
pull_request: https://github.com/python/cpython/pull/25079
___
Python tracker
<https://bugs.python.org/issu
Shane added the comment:
Based on my understanding, your fix should do it.
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
Shane added the comment:
Jason, thank you for the primer.
> Nevertheless, when I tried the same thing on my Windows machine, I got a
> different outcome. The server bound to [::0] but was unreachable on
> http://127.0.0.1:8000.
Perhaps it's an issue with IPv4 addresses
Shane added the comment:
A small update:
Using the direct invocation:
> python -m http.server 8000
Serving HTTP on :: port 8080 (http://[::]:8080/) ...
Is NOT accessible at the following addresses:
http://[::]:8080/ # most surprising, because this is where it tells you to go
http://:8
Shane added the comment:
For the basic invocation:
>python -m http.server 8080
Serving HTTP on :: port 8080 (http://[::]:8080/) ...
It just sits there, because I can't access it (http://[::]:8080/ is not a valid
address, so far as I know, and inserting my IP address doesn't f
New submission from Shane :
It seems to me that the direct invocation behavior for http.server changed,
probably with Python 3.8 (I'm currently using 3.8.1 on Windows 10). On 3.7.X I
was able to use it as described in the docs
(https://docs.python.org/3/library/http.server.html)
> p
Change by Shane :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue39211>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Shane Harvey :
In https://bugs.python.org/issue26741 Popen was changed to emit a
ResourceWarning in __del__ if the process is still running. However, when
running a daemon/detached process it is completely valid to delete a Popen
object before the process is complete.
On
Change by Shane Harvey :
--
nosy: +ShaneHarvey
___
Python tracker
<https://bugs.python.org/issue17123>
___
___
Python-bugs-list mailing list
Unsubscribe:
Shane G added the comment:
This issue was created because I ran across a plist like this when parsing
entitlements in an IPA. I assume that this happened by some unusual step in
the toolchain when building the application.
To some other points:
* agreed lstrip()ing just the key would not
New submission from Shane G :
plistlib in Python 3.7.3 (and earlier) does not autodetect plist data as XML if
it contains whitespace before the "https://github.com/python/cpython/blob/3.7/Lib/plistlib.py#L493
--
messages: 346089
nosy: shaneg
priority: normal
severity: normal
s
Shane added the comment:
Well, then I guess that explains it! Still, like I said, I tend to shy away
from features that require such a deep understanding of the implementation in
order to avoid "gotchas". "is" does have its uses, but for me they very
New submission from Shane :
Would it be possible to enhance IDLE's new Squeezed Output Viewer (which I
LOVE, btw), with a text search feature? If I'm in a module's help
documentation, I'm usually looking for something, and I often end up copying
the text into notepad
Shane added the comment:
This is the sort of thing that makes me avoid "is" in favor of "==" for most
applications. Understanding when two objects point to the same memory requires
a deeper understanding of the underlying code than I usually want to delve into
Shane added the comment:
Thank you both for having a look. I just find that these sort of gotchas
rather annoying (nonsensical mental burden of having to memorize behavior that
does not behave like most other features for "hysterical raisins").
I think making the documentation mo
New submission from Shane :
It occurred to me there is a slight mismatch in the behavioral consistency of
the csv module (at least on Windows, Python 3.X). Specifically, csv.writer()
and csv.reader() treat the line terminator slightly differently. To boil it
down to a concise example
New submission from Shane Lee :
Python 2.7.15 (probably affects newer versions as well)
Given an archive with any number of files inside that have non-ascii characters
in their filename `zipfile` will crash when extracting them to the file system.
```
Traceback (most recent call last
Shane added the comment:
I suspect the author simply does not realize lists are mutable in Python.
--
nosy: +Shane Smith
___
Python tracker
<https://bugs.python.org/issue35
New submission from Shane :
I noticed a slight mismatch in the parameter documentation for one of turtle's
functions. onclick() accepts the parameters (fun, btn, add), but the
documentation describes the parameters (fun, num, add). A minor issue, to be
sure, but I wanted to point i
Shane Harvey added the comment:
When are these functions going to be deprecated? In 3.5, 3.6, and master they
still raise PendingDeprecationWarning, not DeprecationWarning:
https://github.com/python/cpython/blob/v3.5.3/Lib/platform.py#L305-L306
https://github.com/python/cpython/blob/v3.6.2/Lib
Changes by Shane Harvey :
--
pull_requests: +3039
___
Python tracker
<http://bugs.python.org/issue31107>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Shane Harvey :
--
pull_requests: +3038
___
Python tracker
<http://bugs.python.org/issue31107>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Shane Harvey :
--
versions: -Python 3.7
___
Python tracker
<http://bugs.python.org/issue31107>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Shane Harvey:
This line in copyreg._slotnames does not properly calculate mangled attribute
names:
https://github.com/python/cpython/blob/v3.6.2/Lib/copyreg.py#L131
The problem is that it does not strip leading underscores from the class name:
>>&
Shane Smith added the comment:
Since you're a developer, I'm sure you need a lot of versions installed so you
can check for backwards combatibility (spelling intentional). But until
recently, only the most recent IDLE was in the context menu, so I'm guessing
your workflow fo
Shane Smith added the comment:
I'm fine with a single implementation, so long as the implementation is what's
best for the majority of users. Not my intent to increase the burden of work.
So, let me ask the question alluded to in my first post: when is a nested menu
actually des
Shane Smith added the comment:
Hi Vedran, that seems to now be the default behavior, regardless of previous
installs (my 3.6 was a clean install, and it's still nested). Kind of a pain
if you want to edit with IDLE frequently.
While we wait for a more integrated solution, the hackish w
Shane Smith added the comment:
Would it be possible to allow the user to select whether they'd prefer a nested
or flat context menu at install? I believe it went to nested as a result of
issue23546.
Unless there are a large number of installations (arbitrarily... perhaps 4 or
more)
Shane Hathaway added the comment:
Thanks for the analysis. I have already started a pull request to fix this in
Supervisor, but I also thought this change to Python might be gratuitous and
accidental. It seems like open('/dev/stdout', 'a') ought to work the same as
P
New submission from Shane Hathaway:
With Python 2, the following call worked:
open('/dev/stdout', 'a')
Users of Supervisor have been depending on that for a long time.
With Python 3.5, this is what happens:
>>> open('/dev/stdout', 'a')
Tra
New submission from Shane Hansen :
The python docs state that for socket.makefile "The file object references a
dup()ped version of the socket file descriptor, so the file object and socket
object may be closed or garbage-collected independently."
In fact for socket.py dup() is ne
Changes by shane moore :
--
nosy: +shane.moore
___
Python tracker
<http://bugs.python.org/issue12659>
___
___
Python-bugs-list mailing list
Unsubscribe:
36 matches
Mail list logo