Change by mike bayer :
--
nosy: +zzzeek
___
Python tracker
<https://bugs.python.org/issue47174>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by mike mcleod :
--
keywords: +patch
pull_requests: +30302
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32230
___
Python tracker
<https://bugs.python.org/issu
mike mcleod added the comment:
Works for me. The command installed the correct version of Sphinx.
Thanks.
--
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.org/i
New submission from mike mcleod :
After sync'ing to upstream/main and then
python/Doc on main via 🐍 v3.11.0a6+
❯ make html
mkdir -p build
Building NEWS from Misc/NEWS.d with blurb
PATH=./venv/bin:$PATH sphinx-build -b html -d build/doctrees -W . build/html
Running Sphinx v3.5.4
bui
mike mcleod added the comment:
After sync'ing to upstream/main and then running make html I get: ...
checking consistency... done
preparing documents... failed
Warning, treated as error:
unsupported theme option 'license_url' given
make: *** [Makefile:53: build] Error 2
I ca
mike mcleod added the comment:
Sorry, forgot this one. Would you like me to move this forward? Or do you want
to take it? I don't mind either way.
--
___
Python tracker
<https://bugs.python.org/is
Mike Kaganski added the comment:
> As for 3.9: it's not available through the 64 bit installer (at least, I
> don't see it there). I'll look and see what's involved in installing it.
I don't remember if I did something special to install it; however, just mayb
Mike Kaganski added the comment:
Thanks for looking at this!
> Are you running from bash (or another cygwin shell), or from cmd.exe, or
> something else?
:) Citing myself:
> Trying this *bash* command line:
> To my knowledge, cygwin's installer doesn't have a 3
New submission from Mike Kaganski :
Using cyqwin 3.3.4-2, and python3:
Python 3.9.10 (main, Jan 20 2022, 21:37:52)
[GCC 11.2.0] on cygwin
Trying this bash command line:
> python3 C:/path/to/script.py
results in this error:
"python3: can't open file '/cygdrive/c/path/to
Mike Lissner added the comment:
Looks like that CVE isn't public yet.
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0391
Any chance I can get access (I originally reported this vuln.). My email is
m...@free.law, if it's possible and my email is neede
Change by Mike Auty :
--
title: file_open doesn't handle UNC paths produced by pathlib's resolve() (but
can handle UNC paths with additional slashes) -> urllib.request.urlopen doesn't
handle UNC paths produced by pathlib's resolve() (but can handle UNC paths w
Mike Auty added the comment:
I can confirm that url2pathname work with either number of slashes, and that
open_file appears to have had the file: removed.
However, in even if the check in open_file were bypassed, it calls
open_local_file, which then strips any host before calling
Mike Auty added the comment:
Here's the revised code sample:
import pathlib
import urllib.request
path = "Z:\\test.py"
print(f"Stock open: {pathlib.Path(path).as_uri()}")
with urllib.request.urlopen(pathlib.Path(path).as_uri()) as f
Mike Auty added the comment:
My bad, sorry, I realized I was conflating open with urllib.request.urlopen. I
believe the issue still exists though, sorry for the confusion.
--
___
Python tracker
<https://bugs.python.org/issue46
Mike Auty added the comment:
> Why are you adding `.as_uri()`?
The API we provide accepts URIs, so whilst the example seems a little
contrived, the code itself expects a URI and then calls open (making use of the
ability to add open handlers).
> Builtin open() calls C open().
As
New submission from Mike Auty :
I've found open to have difficulty with a resolved pathlib path:
Example code of:
import pathlib
path = "Z:\\test.py"
with open(path) as fp:
print("Stock open: works")
data = fp.read()
with open(pathlib.Pa
Mike Auty added the comment:
Sorry for the spam, thought I was in a different text box. 5:(
--
nosy: +ikelos
title: file_open unc -> Result of pathlib Path.resolve() with UNC path is not
very useful
___
Python tracker
<https://bugs.pyth
Change by Mike Auty :
--
title: Result of pathlib.Path.resolve() with UNC path is not very useful ->
file_open unc
___
Python tracker
<https://bugs.python.org/issu
mike mcleod added the comment:
I would like to help with this issue. Is that acceptable?
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/issue32
mike mcleod added the comment:
I would like to help on this issue.
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/issue1521051>
___
___
Pytho
mike mcleod added the comment:
I would like to help on this issue. Is there anyone available to push a PR
through? If I make the changes.
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/issue10
Change by mike mcleod :
--
keywords: +patch
pull_requests: +28934
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/30747
___
Python tracker
<https://bugs.python.org/issu
mike mcleod added the comment:
Working.. should be able to create pull request soon. Note part of suggestions
include using SIOCOUTQ, but this does not have an equivalent for windows. And
as Murphy's law goes this is likely to be where the probl
Mike Schiessl added the comment:
Yes, enforcing interval == 1 or interval == None (which pulls the
TimedRotatingFileHandler class __init__ default value which is also 1) works
perfectly with midnight.
I do not see any urge on that topic - as I personally now know the issue :D -
but I
Mike Schiessl added the comment:
i've just checked PR and you're right, something with the PR went wrong.
Anyway, midnight (at least from the wording) specifies the "atTime". (which
should be midnight).
Again, if there's (by mistake) an interval bigger than 1 se
New submission from Mike Schiessl :
Using the TimedRotatingFileHandler along with "when='midnight'" and interval >
1, midnight is handled equally to "days" which is a little misleading.
Expectation:
setting when to 'midnight', the file is rotate
mike mcleod added the comment:
I would like to help with this issue.
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/issue24364>
___
___
Pytho
mike mcleod added the comment:
I would like to help with this issue. I'm new to this space hence I am not
aware of what patch review means.
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/i
Change by mike mcleod :
--
pull_requests: +28450
pull_request: https://github.com/python/cpython/pull/30228
___
Python tracker
<https://bugs.python.org/issue1284
Change by mike mcleod :
--
pull_requests: +28437
pull_request: https://github.com/python/cpython/pull/30216
___
Python tracker
<https://bugs.python.org/issue10
Change by mike mcleod :
--
keywords: +patch
pull_requests: +28141
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29624
___
Python tracker
<https://bugs.python.org/issu
mike mcleod added the comment:
Minor fix after test.
--
Added file: https://bugs.python.org/file50467/2.html
___
Python tracker
<https://bugs.python.org/issue1284
mike mcleod added the comment:
I have made the changes as indicated in the diff files. I have tested against
the latest from my GitHub copy.
The result is:
./python -m test -j0
== CPython 3.11.0a2+ (heads/main:3a91617590, Dec 1 2021, 15:11:41) [GCC 11.2.0]
== Linux-5.13.0-22-generic-x86_64
mike mcleod added the comment:
I will work on this next week.
--
___
Python tracker
<https://bugs.python.org/issue10483>
___
___
Python-bugs-list mailin
mike mcleod added the comment:
Ok, I will work on this soon and make further comments.
--
___
Python tracker
<https://bugs.python.org/issue1284670>
___
___
Pytho
mike mcleod added the comment:
I would like to help with this issue.
I note the history (using Git Dag) of the modulefinder.py shows that it has
been modified with changes related here:
Author: Éric Araujo 2011-07-28 22:35:29
Committer: Éric Araujo 2011-07-28 22:35:29
Parent
mike mcleod added the comment:
Hi Victor,
Ok I'll do that.
Regards,
Mike
On Thu, 18 Nov 2021 at 15:36, STINNER Victor wrote:
>
> STINNER Victor added the comment:
>
> I searched for open issues which contain "cgi" in their title. I found 43
> open issues
mike mcleod added the comment:
I would like to help on this issue. I understand the arguments here but it has
been a lone time since this was raised and there does not seem to be any
further issues discussed or support for this issue.
--
nosy: +mikecmcleod
mike mcleod added the comment:
I would like to help with this issue.
I note that when I test against 3.10 this error does not show. Also, all tests
for test_tarfile pass.
I am wondering if it may be reasonable to close this due to the age and
currently its not an issue in the latest Python
mike mcleod added the comment:
I have put the question on Discuss and wait for (any) responses,
--
___
Python tracker
<https://bugs.python.org/issue10
mike mcleod added the comment:
One of the things I did when the example code didn't work was to see what other
examples could be found and there are I would argue plenty or just enough, eg:
https://medium.com/analytics-vidhya/memory-mapping-files-and-mmap-module-in-python-with-lot-of-exa
mike mcleod added the comment:
I would like to help with this issue.
I note that a few changes need to be made to the code example for compatibility
for the latest version of Python. I can get this working but I am not sure this
is a good example. Also, the example is more about threads and
mike mcleod added the comment:
Should I go ahead and make the changes as per msg122208 ? on my local copy and
test?
--
___
Python tracker
<https://bugs.python.org/issue10
mike mcleod added the comment:
You're welcome.
Regards,
Mike
On Tue, 2 Nov 2021 at 05:52, Ethan Furman wrote:
>
> Ethan Furman added the comment:
>
> Ah. Well, in that case closing seems like the best idea.
>
> Thank you, Jonathan, for getting the CLA signed an
mike mcleod added the comment:
Hi Éric,
Then would the easiest way of dealing with this issue, to close it without
any further work?
Possibly adding to the documents it doesn't work on windows..
I can move to the next issue.
Regards,
Mike
On Sun, 31 Oct 2021 at 18:03, Éric Araujo
mike mcleod added the comment:
I am happy to do any testing.
My reason for getting involved is I am new to helping with Cpython and thought
this may be the least intrusive way of getting started with something that
nobody really cares about that much.
Hence, the oldest issue I see can be
mike mcleod added the comment:
Hi,
I would like to help on this issue.
Let me know what can be done?
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/issue10
mike mcleod added the comment:
Hi Ethan,
Thanks, awaiting reply..
Regards,
Mike
On Tue, 26 Oct 2021 at 01:36, Ethan Furman wrote:
>
> Ethan Furman added the comment:
>
> We don't have a CLA from jbell. I've sent an email asking him to do so...
&g
mike mcleod added the comment:
Hi,
I would like to help on this issue.
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/issue2628>
___
___
Change by Mike Gilbert :
--
keywords: +patch
pull_requests: +27176
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/28881
___
Python tracker
<https://bugs.python.org/issu
New submission from Mike Gilbert :
In https://bugs.python.org/issue44751, crypt.h was removed from Python.h. This
would imply that libpython is not meant to expose any crypt-related symbols.
In fact, it looks like libpython does not use crypt() or crypt_r() at all.
These are only used by
Mike Crowe added the comment:
vstinner wrote:
> The glibc 2.30 adds pthread_cond_clockwait() which could be used to use
> CLOCK_MONOTONIC. But if pthread_cond_clockwait() is available (glibc
> 2.30 or newer), it expects that pthread_condattr_setclock() is also
> available. So
Mike Hommey added the comment:
> In 2.7 the only exception that _did_ change the exit code was SystemExit.
(and only if it was the last thrown exception)
--
___
Python tracker
<https://bugs.python.org/issu
Mike Hommey added the comment:
> I think we should change the documentation to expand the parenthetical "
> (unless SystemExit is raised)" to a complete explanation of that special case.
That would not be enough, since the case for other exceptions would still be
ambiguous,
Mike Crowe added the comment:
glibc v2.30 onwards provides sem_clockwait which can wait on either
CLOCK_MONOTONIC or CLOCK_REALTIME. I failed to notice that
https://sourceware.org/bugzilla/show_bug.cgi?id=14717 existed until today. :(
--
nosy: +mikecrowe
Mike Kaganski added the comment:
@Eryk Sun: yes, of course you are right - but please see the date of the
commit; I didn't know what you kindly explained me in your reply yesterday :-)
Thank you again.
--
___
Python tracker
&
Mike Kaganski added the comment:
Thank you Eryk! This is a good workaround for me. I have implemented it:
https://git.libreoffice.org/core/+/3bcaa4ba79477a21251ddaa06e0ea159196a7ffb
It looks like it's not a Python's problem; I suppose this may be closed. Thanks
again!
--
New submission from Mike Kaganski :
On a Windows 10 system, which TZ is set to Moscow (UTC+3), I use a native
Windows Python build (as opposed to e.g. one from Cygwin). Specifically, I
tested both custom Python build created by LibreOffice project, as well as the
Python by Python Software
mike bayer added the comment:
great news!
Based on how many random factors were needed to reproduce as well as that it
seemed to be gc related and appeared very suddenly, I had an intuition this was
on the cpython side, thanks so much for doing this Pablo
mike bayer added the comment:
yes, if I have time I will begin to undertake that, wanted to put it up here in
case anyone has git bisect on speed dial for cpython.
--
___
Python tracker
<https://bugs.python.org/issue44
mike bayer added the comment:
if the issue is in greenlet this can be bounced back to
https://github.com/python-greenlet/greenlet/issues/242
--
___
Python tracker
<https://bugs.python.org/issue44
New submission from mike bayer :
segmentation fault related to object deallocation and traceback objects, is
extremely difficult to reproduce and definitely appeared as of 3.10.0b2, does
not occur in 3.10.0b1. linux and osx platforms are affected.
The issue requires "greenlet==1.1.0&q
Mike Lissner added the comment:
> With the fix for this bug, urlsplit silently removes (some of) those
> characters before we can replace them, modifying the output of our
> sanitisation code
I don't have any good solutions for 3.9.5, but going forward, this feels like
anot
Mike Lissner added the comment:
> I'd wonder how to pass through valid exceptions without urlparse raising
> something.
Oops, meant to say "valid URLs", not valid exceptions, sorry.
--
___
Python tracker
<https://bu
Mike Lissner added the comment:
> Instead of the patches as you see them, we could've raised an exception.
In my mind the definition of a valid URL is what browsers recognize. They're
moving towards the WHATWG definition, and so too must we.
If we make python raise an excepti
Mike Lissner added the comment:
I haven't watched that Blackhat presentation yet, but from the slides, it seems
like the fix is to get all languages parsing URLs the same as the browsers.
That's what @orsenthil has been doing here and plans to do in
https://bugs.python.org/
Change by Mike Lissner :
--
nosy: +Mike.Lissner
___
Python tracker
<https://bugs.python.org/issue43882>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Mike Lissner :
--
nosy: +Mike.Lissner
___
Python tracker
<https://bugs.python.org/issue43883>
___
___
Python-bugs-list mailing list
Unsubscribe:
mike bayer added the comment:
>
I don't really know why it would be a "security vulnerability", but presumably
a library could either convert their datetimes to UTC as soon as they get them
from the user if they want to use them as UTC in the future, or they could
simpl
Mike Glover added the comment:
Further research shows that email.parser.Parser is not handling the affected
lines correctly -- the leading '\n ' is not being stripped from the header
value.
Attached is the (ugly, worksforme) function I'm using to workaround this problem
-
New submission from Mike Glover :
The attached file demonstrates the incorrect folding behavior I'm seeing.
Header lines of a certain total length get folded after the colon following the
header name, which is not valid RFC. Slightly longer or shorter lines are
folded corr
New submission from mike bayer :
So I'm pretty sure this is "not a bug" but it's a bit of a problem and I have a
user suggesting the "security vulnerability" bell on this one, and to be honest
I don't even know what any library would do to "prevent&
New submission from Mike Siegel :
Perhaps I'm missing something here but this behavior seems unexpected to me.
"Lists
The items of a list are arbitrary Python objects. Lists are formed by
placing a *comma-separated* list of expressions in square brackets. (Note that
there are
mike bayer added the comment:
I think this issue just discusses the naming of an attribute called
".autocommit". for the discussion for SQLite's unusual starting of
transactions, that's all in two other issues:
https://bugs.python.org/issue9924
https://bugs.python.
mike bayer added the comment:
> Under your proposal, the first line would be changed to say
> "autocommit=True", even though not all the code below is in autocommit mode
> (according to the SQLite engine's definition). What's more, I could insert
> this line
Mike Miller added the comment:
I found an implementation of this for Windows in case it is needed. Not sure
if it is the best way to do it, as the Console API is rather clumsy. However
this one works to my knowledge:
https://github.com/tartley/colorama/blob/master/colorama/winterm.py#L111
New submission from Mike Miller :
The Ctrl+L as clear-screen hotkey is supported just about everywhere, Unix and
Windows, with the exceptions of cmd.exe and python.exe interactive mode.
As the legacy cmd.exe can be easily replaced, that leaves python.exe. Likely
needs to be configured via
Change by mike bayer :
--
nosy: +zzzeek
___
Python tracker
<https://bugs.python.org/issue16535>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from mike dalrymple :
Downloaded Python 3.9.0
Documentation indicates:
math.sqrt(x)
Return the square root of x.
When I use in IDLE shell 3.9.0, I receive error:
>>> sqrt(25)
Traceback (most recent call last):
File "", line 1, in
sqrt(25)
NameError:
New submission from Mike Frysinger :
$ python3
Python 3.8.5 (default, Aug 2 2020, 15:09:07)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from xml.dom import minidom
# Lets parse a simple XM
Change by Mike Frysinger :
--
title: xml.dom.minidom.Element.ownerDocument is hiden ->
xml.dom.minidom.Element.ownerDocument is hidden
___
Python tracker
<https://bugs.python.org/issu
Change by Mike Frysinger :
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
title: xml.dom.minidom.rst missed informations -> xml.dom.minidom.rst missing
standalone documentation
___
Python tracker
Mike La Spina added the comment:
I suspect the download stats are not a full indication of usage on “SunOS”
based on download stats. The bits are preinstalled. I do use it frequently via
Illumos. Please support the platform.
Regards,
Mike
--
nosy: +michael.laspina
New submission from mike bayer :
This is likely related or a dupe of https://bugs.python.org/issue29270, but the
error message is different. I'm posting this to confirm it's the same issue,
or not, and to at least provide a google result for people who also see this
error as 2927
mike bayer added the comment:
I tested "cancellation", shutting down the DB connection mid query. Because
the greenlet is only in the middle and not at the endpoints, it propagates the
exception and there does not seem to be anything different except for the
greenlet sequence in
mike bayer added the comment:
as far as cancellation, I gather you're referring to what in gevent / greenlet
is the GreenletExit exception. Sure, that thing is a PITA. Hence we're all
working to provide asyncio frontends and networking backends so that the
effects of canc
mike bayer added the comment:
slight correction: it is of course possible to use gevent with a database
driver without monkeypatching, as I wrote my own gevent benchmarks using
psycogreen. I think what I'm getting at is that it's a good thing if async
DBAPIs could target asyncio
mike bayer added the comment:
> Oh, I thought the primary problem for SQLAlchemy supporting async is that the
> ORM needs to do IO from inside __getattr__ methods. So I assumed that the
> reason you were so excited about greenlets was that it would let you use
> await_() from
mike bayer added the comment:
> With greenlets OTOH, it becomes possible for another task to observe
> someobj.a == 1 without someobj.b == 2, in case someobj.__setattr__ internally
> invoked an await_().
let me try this one more time.Basically if someone wrote this:
async def
mike bayer added the comment:
> With greenlets OTOH, it becomes possible for another task to observe
> someobj.a == 1 without someobj.b == 2, in case someobj.__setattr__ internally
> invoked an await_(). Any operation can potentially invoke a context switch.
> So debugging green
mike bayer added the comment:
yes so if you have async/await all internal, are you saying you can make that
work for synchronous code *without* running the event loop? that is, some kind
of container that just does the right thing? my concern with that would still
be performance.When
mike bayer added the comment:
> This recipe was one of the reasons why I added `loop.set_task_factory`
> method to the spec, so that it's possible to implement this in an *existing*
> event loop like uvloop. But ultimately asyncio is flexible enough to let
> users use the
mike bayer added the comment:
hey there,
I seem to have two cents to offer so here it is.An obscure issue in the
Python bug tracker is probably not the right place for this so consider this as
an early draft of something that maybe I'll talk about more elsewhere.
> This b
mike stern added the comment:
i am calm
but sometimes I am wondering if the philosophy behind python is really like
they claimed to make it very simple. Well I see a lot of confusions sometimes ,
and this is one
From: report=bugs.python
mike stern added the comment:
sorry but that article was about version 2.2 in 2000
Created:11-Mar-2001
Python-Version: 2.2
where is the one for 3.7
From: report=bugs.python@roundup.psfhosted.org
on behalf of Tim Peters
Sent: Monday, June 22
mike stern added the comment:
I appreciate your answer
I just didn't like how she answered earlier saying
I cannot reproduce. 2 / 2 gives 1.0 to me.
which is not true
thanks anyway, now i am gonna have to do some reading
From: report=bugs.p
mike stern added the comment:
Not satisfied with that reply
you can't just decide to close the ticket without even giving a reasonable
answer, or even try that on 2.7 or 3.7 to see if it is true what I said.
Besides, that is not a convincing answer, that is actually no answer at all!
New submission from mike stern :
please I would like to know why python changes an integer result in a division
to a float even in the result is even
like print(2 / 2) gives 2.0 instead of 2
or
a = 2 / 2
print(a)
--
components: Interpreter Core
messages: 372033
nosy: rskir
Change by Mike Weilgart :
--
keywords: +patch
nosy: +Weildcard
nosy_count: 6.0 -> 7.0
pull_requests: +20107
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/20928
___
Python tracker
<https://bugs.p
mike stern added the comment:
sorry but I don't see the option to delete
From: report=bugs.python@roundup.psfhosted.org
on behalf of Terry J. Reedy
Sent: Monday, June 15, 2020 11:46 AM
To: rskir...@hotmail.com
Subject: [issue40981] increment is
1 - 100 of 613 matches
Mail list logo