Barry A. Warsaw added the comment:
FWIW, Greg's test case does not fail for me with 6a533a4238
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/is
Change by Barry A. Warsaw :
--
nosy: -barry
___
Python tracker
<https://bugs.python.org/issue37722>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Weird. PR 28655 is merged on GH, but still shows open on this bpo ticket.
--
___
Python tracker
<https://bugs.python.org/issue21
Barry A. Warsaw added the comment:
This doesn't seem right, given that PEP 663 has not been approved by the SC yet:
3.9.7 (default, Oct 13 2021, 06:45:31)
[Clang 13.0.0 (clang-1300.0.29.3)]
ABC.a ABC.b ABC.c ABC.a
|main=|@presto[~/projects/python/cpython:1058]% python3.10 /tmp/f
Barry A. Warsaw added the comment:
I'm going to take a look at this during the Python core sprint.
--
assignee: -> barry
___
Python tracker
<https://bugs.python.org
Change by Barry A. Warsaw :
--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6, Python 3.7, Python
3.8
___
Python tracker
<https://bugs.python.org/issue35
Change by Barry A. Warsaw :
--
keywords: +patch
pull_requests: +27320
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29049
___
Python tracker
<https://bugs.python.org/issu
Barry A. Warsaw added the comment:
First crack at a PR for this issue.
--
keywords: +needs review -patch
___
Python tracker
<https://bugs.python.org/issue35
Barry A. Warsaw added the comment:
Since the documentation problem reported here has since been fixed, and really
all that's left is to expose NamespaceLoader publicly and register it with the
abc, this is technically a new feature so it can't be backported. Thus,
targeting
Barry A. Warsaw added the comment:
I can see why Ethan might be overwhelmed by reverting this change. I tried to
merge in his branch but failed, so I'm chucking that work and will try again.
--
___
Python tracker
<https://bugs.py
Barry A. Warsaw added the comment:
I don't know. What benefit would be gained? That should probably be a
separate issue/PR in either case.
--
___
Python tracker
<https://bugs.python.org/is
Change by Barry A. Warsaw :
--
keywords: +patch
pull_requests: +27347
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/29078
___
Python tracker
<https://bugs.python.org/issu
Barry A. Warsaw added the comment:
Woot! I finally figured out the problem and how to fix it. It has nothing to
do with Python and everything to do with AT&T. They run a service called DNS
Error Assist, quoting:
"Sometimes we enter a wrong search word, or a wrong web address, or
Change by Barry A. Warsaw :
--
pull_requests: +27351
pull_request: https://github.com/python/cpython/pull/29085
___
Python tracker
<https://bugs.python.org/issue42
New submission from Barry A. Warsaw :
TL;DR module.__spec__.parent is read-only but module.__package__ is r/w despite
documentation that implies that these two attributes should be identical, and
various issues that focus on migrating from direct module attributes to
ModuleSpec attributes
Change by Barry A. Warsaw :
--
nosy: +brett.cannon, eric.snow
___
Python tracker
<https://bugs.python.org/issue45540>
___
___
Python-bugs-list mailing list
Unsub
Barry A. Warsaw added the comment:
New changeset 876fc7fcec9a79a11546b7588d3683a5ccb4d31c by Barry Warsaw in
branch 'main':
bpo-35673: Add a public alias for namespace package __loader__ attribute
(#29049)
https://github.com/python/cpython/commit/876fc7fcec9a79a11546b7588d3683
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue38782>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Barry A. Warsaw :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Barry A. Warsaw added the comment:
On Oct 20, 2021, at 11:27, Brett Cannon wrote:
>
>> That should probably be a separate issue/PR in either case.
>
> https://bugs.python.org/issue38782 and I was trying to rope you into doing
> the work. 😁
Ha! You should have nosie
Barry A. Warsaw added the comment:
Does this mean that CWD could be in a directory that you couldn't chdir() back
into?
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/is
Barry A. Warsaw added the comment:
On Oct 20, 2021, at 11:38, Eric Snow wrote:
>
> Regardless, I expect the primary reason __package__ is writable is
> because modules have never had any read-only attrs.
So historical accident mostly.
> The more important question now
Barry A. Warsaw added the comment:
On Oct 20, 2021, at 11:31, Brett Cannon wrote:
>
>> +1 on a proxy (with read-only attrs) for everything but __name__, __file__,
>> and __path__ (which can all be different than the spec).
>
> I'm -1 on a proxy as that doesn't
Barry A. Warsaw added the comment:
On Oct 20, 2021, at 08:18, Eric Snow wrote:
> The spec identifies how a module should be loaded (or how it was loaded and
> should be reloaded). We should be careful to preserve that identify and not
> invite uses to modify the spec after (or w
Barry A. Warsaw added the comment:
On Oct 20, 2021, at 08:28, Eric Snow wrote:
>
> The only catch I see is where the module's code sets one of the attrs. Would
> the proxy (or import machinery) pick those up, or maybe for some of them emit
> a warning or fail?
>
>
Barry A. Warsaw added the comment:
> Yes, precisely. Besides being an unreachable long abs path, it might have
> been deleted since last visited. I’m working on a few more odd test cases.
Ah, the deleted case. Sounds like LBYL wouldn’t work in that cas
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue45552>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Thank you for doing this work Irit! Just to point out that anybody who wants a
modern replacement for smtpd should look at aiosmtpd:
https://aiosmtpd.readthedocs.io/en/latest/
--
___
Python tracker
<ht
Barry A. Warsaw added the comment:
Thanks for your comprehensive comments Eric! While I digest them, my TL;DR is
that we probably need a PEP to describe everything from the current situation,
to the the desired end state and migration path. I'm willing to put that
together with yo
Barry A. Warsaw added the comment:
Does a LBYL strategy actually fix the problem? E.g. what if the directory gets
rm'd between __enter__ and __exit__? Maybe we shouldn't try to be clever at
all and just leave it to the user to decide what to do, and how to handle any
chdir-bac
Barry A. Warsaw added the comment:
> A LBYL won't always raise errors early as you point out. It will give earlier
> warnings for a lot of cases, but makes contextlib.chdir usable in less places
> than os.chdir.
> Some return paths will always be errors, and some wi
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue22789>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue38743>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
One simple restriction would be to disallow relative paths outside of the
resource anchor location.
--
___
Python tracker
<https://bugs.python.org/issue36
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue39791>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Barry Alan Scott :
modulefinder.py does not open source files in "rb" which
prevents compile() from applying the encoding rules.
This first showed up for me on Windows with Python 3.8.
Here is my test case and the results on Windows with 3.8.
import modulefi
Barry Alan Scott added the comment:
io.open_code() used in the patch.
--
components: -Windows
___
Python tracker
<https://bugs.python.org/issue40260>
___
___
Barry Alan Scott added the comment:
I need to see the code of pymindeps to understand what you are doing and how to
fix this. Can you post a URL to the source please?
Are you aware that load_module() changed in other ways that are required to fix
the bug?
You may have to change yout
Barry Alan Scott added the comment:
Regarding test case. I will need to know what pymindeps is doing to be able to
design a suitable test case.
--
___
Python tracker
<https://bugs.python.org/issue40
Change by Barry Alan Scott :
--
pull_requests: +18895
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/19549
___
Python tracker
<https://bugs.python.org/issu
Barry Alan Scott added the comment:
I have the fix coded and tested.
I run out of git knowledge to update the PR branch so that I can push the fix.
I'll work on it more later in the day.
--
___
Python tracker
<https://bugs.python.org/is
Change by Barry Alan Scott :
--
pull_requests: +18931
pull_request: https://github.com/python/cpython/pull/19595
___
Python tracker
<https://bugs.python.org/issue40
Barry Alan Scott added the comment:
I have pushed the fix onto https://github.com/python/cpython/pull/19595
with an API test case and the changes to keep the debain subclassing
working.
I'm new the the work flow. Let me know if I need to change any
Barry Alan Scott added the comment:
Anthony,
Now that everything is opened using open_code that returns bytes its
not clear to me why this breaks for you.
Further the data must be bytes for the codings to be figured out.
Removing the b'\n' may be reasonable, but not for the reaso
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue40453>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
This issue was brought to the Python Steering Council, and we deliberated it at
today's SC meeting. With a vote of 4 approvals and one abstention, we have
approved the addition of this API.
--
nosy: +
Change by Barry A. Warsaw :
--
nosy: +barry, jaraco
___
Python tracker
<https://bugs.python.org/issue42728>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Thanks for the report and fix!
--
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/i
New submission from Barry Alan Scott :
When using the limited API PyCMethod_New is not defined in python3.lib.
This leads to a link error.
This error is in 3.9 and 3.10a5
Discovered when I improved the PyCXX test suite.
Example output:
Link obj\simple.pyd
cl /nologo /W4 /LD /Zi /MT
New submission from Barry Alan Scott :
New users of Python on Windows frequently confuse the Python installation
program with Python itself.
They also can end up with the wrong 32 or 64 bit version.
I suggest that the installation program name is changed to include "setup" in
its
Barry Alan Scott added the comment:
I happy with your names. I think they are better then my version.
--
___
Python tracker
<https://bugs.python.org/issue43
New submission from Barry Alan Scott :
By default the python macOS installer will edit .bash_profile and .zsh_profile
to add Python to the path.
For many users this is a problem that requires the added lines to be
removed after each install.
I suggest that there is a mechanism that the user
New submission from Barry Alan Scott :
The popular homebrew system installs its binaries into /usr/local/bin.
The macOS python install also defaults to /usr/local/bin where it
puts symlinks to Python like:
% ls -l /usr/local/bin/python3.10
lrwxr-xr-x 1 root 73 8 Feb 19:45:50 2021 /usr
Barry Alan Scott added the comment:
It was not obvious that I could do that with Customise.
Indeed I installed 3.10a5 just so that I could remind myself of what the
installer did.
It would help is the Installation type page told the user why they might want
to use the Customise for
Barry Alan Scott added the comment:
>From "UNIX command-line tools" its not clear to me that that prevents
symlinks in /usr/local/bin. Maybe word it as "Add python to /usr/local/bin".
Is this documented anywhere?
I just looked at the download page https://www.python.
Barry Alan Scott added the comment:
The readme page is a good 2nd best is PKG install has not option to control the
text on the INstallation type page.
My guess is that the info would need be in visible without
scrolling for people to notice it. (UX is hard
Barry Alan Scott added the comment:
I was wondering what the bottom text box was for.
The usual UX for check boxes is to toggle when the text of the control is
clicked.
Because of that I avoid clicking on check boxes that I do not know if I want to
change. Hence I did not get to see the
Barry Alan Scott added the comment:
Understood that changing the status quo may have problems.
Maybe you do an HTTP redirect from the old name to the new name?
Or have the installed available under both names but only advertise the new
name
Barry Alan Scott added the comment:
Is there a test suite that checks that the limited API functions can all be
linked against?
--
___
Python tracker
<https://bugs.python.org/issue43
Barry Alan Scott added the comment:
Thanks Petr, I'll watch for the PEP.
FYI: I work on the assumption that if I use Py_LIMITED_API and the header
files provide an API guarded by an #if then its "offical".
--
___
Python
Barry A. Warsaw added the comment:
I don't think there's really anything more to do here. I'm closing the issue.
Let's open a new one if needed at some future point.
--
resolution: -> fixed
stage: patch review -> resol
Barry A. Warsaw added the comment:
Thanks for keeping the first 'F' in FLUFL! :D
--
___
Python tracker
<https://bugs.python.org/issue41251>
___
___
Barry A. Warsaw added the comment:
I agree that we should close this issue, possibly with a documentation fix. I
wrote a blog posting about my investigations:
https://wefearchange.org/2018/11/forkmacos.rst.html
I don't think there's really much Python itself can do, and devel
Change by Barry A. Warsaw :
--
versions: +Python 3.10
___
Python tracker
<https://bugs.python.org/issue37741>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Barry A. Warsaw :
--
keywords: +patch
nosy: +barry
nosy_count: 1.0 -> 2.0
pull_requests: +21740
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/22775
___
Python tracker
<https://bugs.python.org/i
New submission from Barry A. Warsaw :
This is very likely caused by something janky my ISP (AT&T) is doing with IPv6,
but the above named test fails for me because IPv6 addresses like `::1q` do not
fail to resolve as the test expects.
I'm not sure what can or should be done about i
Barry A. Warsaw added the comment:
My understanding is that this is specifically a problem with the Objective-C
runtime that _scproxy.c accesses. The runtime is not thread safe and whereas
in earlier versions of macOS, it silently failed, now macOS is explicitly
aborting the process
Barry A. Warsaw added the comment:
Thanks everyone for the fixes; I think this bug is now resolved. Closing.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Barry A. Warsaw added the comment:
Thank you all for the fix. Closing.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Barry A. Warsaw :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10, Python 3.9 -Python 3.7
___
Python tracker
<https://bugs.python.or
Barry A. Warsaw added the comment:
Thanks for the PR @iritkatriel but I'm inclined to close this as won't fix.
There are plenty of other changes someone would need to migrate to Python 3 for
the email package, so I think this is of limited benefit.
--
resolution: -> w
Change by Barry A. Warsaw :
--
assignee: -> barry
___
Python tracker
<https://bugs.python.org/issue1823>
___
___
Python-bugs-list mailing list
Unsubscrib
Barry A. Warsaw added the comment:
Updating the Python versions to the only active ones on which this bug could
conceivably be fixed. I haven't validated that it's still a problem, and I
haven't decided whether it's appropriate to backport to 3.9 and 3.8.
I'll wo
Barry A. Warsaw added the comment:
I am seeing this in Brave (a Chrome derivative). Many examples in
https://docs.python.org/3/library/email.html
See the words "in\nterface" and "ob\nject' in the attached screenshot.
------
nosy: +barry
Added file: https://bugs.
Barry A. Warsaw added the comment:
The other question is what to do about `EmailMessage` objects, which don't have
a `set_charset()` method. For now, I'll ignore that.
--
___
Python tracker
<https://bugs.python.
Barry A. Warsaw added the comment:
Actually, I think I am going to close this as won't fix, for two reasons.
First, this only potentially affects the legacy API, and second, in Python 3,
the error you get when you do it like the original repro example seems obvious
to me.
```
&
Barry A. Warsaw added the comment:
Apologies for the long delay in reviewing this bug. I'm looking at it now,
however since Python 3.7 is in security-only mode, this will only apply to
3.10, 3.9, and 3.8.
--
versions: +Python 3.10, Python 3.9 -Pytho
Barry A. Warsaw added the comment:
@maggyero - I haven't merged PR 10016, but I left some additional comments.
Are you still interested in shepherding this PR?
--
___
Python tracker
<https://bugs.python.org/is
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue42115>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Actually, it looks to me like the PR *does* include unittests, and I see them
in the repo, so I'm closing this bug.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
Barry A. Warsaw added the comment:
@sim0n - I added a comment to your open PR.
My main question for the rest of the group is whether we can and should
backport this. Given the new defect class being introduced, it seems like this
should only land in 3.10. Thoughts
Change by Barry A. Warsaw :
--
versions: +Python 3.10
___
Python tracker
<https://bugs.python.org/issue38486>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Thanks for the PR @ZackerySpytz - this has landed in git head and is currently
being backported to 3.9 and 3.8 (3.7 is in security-fix only mode).
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -P
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue42129>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Aside: I noticed that on _parseaddr.py:68, there's a bare `return`. That
should really be `return None` (EIBTI). Can you fix that in your PR?
I think it's confusing to raise both TypeError and ValueError. I suggest we
check the `None` r
Barry A. Warsaw added the comment:
Hi Serhiy. I believe this is a duplicate of bpo-30681 which is active and has
a good PR IMHO. The only hold up is whether to backport that PR to 3.9 and
3.8. See the bug and PR for details.
--
resolution: -> duplicate
superse
Change by Barry A. Warsaw :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue42155>
___
___
Python-bugs-list
Change by Barry A. Warsaw :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.or
Barry Alan Scott added the comment:
Ok. I'll add this to my todo list.
--
status: pending -> open
___
Python tracker
<https://bugs.python.org/i
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue13815>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On Jan 28, 2012, at 07:26 PM, Dave Malcolm wrote:
>This turns out to pass without PYTHONHASHRANDOMIZATION in the
>environment, and fail intermittently with it.
>
>Note that "make test" invokes the built python with "-E", so
Barry A. Warsaw added the comment:
On Feb 08, 2012, at 12:53 PM, Antoine Pitrou wrote:
>Or, rather, setup.py should be smart enough to warn about that.
It shouldn't just be limited to Debian and its derivatives. Other platforms
(even Linux OSes) will probably have simila
Barry A. Warsaw added the comment:
On Feb 08, 2012, at 03:51 PM, Éric Araujo wrote:
>The correct way to get build dependencies on Debian and derivatives is to use
>“aptitude build-dep pythonX.Y” (see #13472). I think dpkg-dev would get
>installed as a dependency; Tshepang, could you
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue7475>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On Feb 17, 2012, at 01:36 PM, Antoine Pitrou wrote:
>Stating module files of the form "xxxmodule.so" consumes all 1/3 of stat
>calls at startup. Looking at the site-packages folders on my machine, both
>for 2.7 and 3.2, reveals no C ext
Barry A. Warsaw added the comment:
On Feb 21, 2012, at 09:48 AM, Marc-Andre Lemburg wrote:
>Exposing the seed value as sys.hashseed would be better and more useful
>to applications.
That makes the most sense to me.
--
___
Python tracker
Barry A. Warsaw added the comment:
On Feb 21, 2012, at 09:48 AM, Marc-Andre Lemburg wrote:
>The flag should probably be removed - simply because
>the env var is not a flag, it's a configuration parameter.
>
>Exposing the seed value as sys.hashseed would be better an
Barry A. Warsaw added the comment:
I have to amend my suggestion about sys.flags.hash_randomization. It needs to
be non-zero even if $PYTHONHASHSEED is given instead of -R. Many other flags
that also have envars work the same way, e.g. -O and $PYTHONOPTIMIZE. So
hash_randomization has to
Barry A. Warsaw added the comment:
Never mind about sys.hash_seed. See my follow up in python-dev. I consider
this issue is closed wrt the 2.6 branch.
--
___
Python tracker
<http://bugs.python.org/issue13
Barry A. Warsaw added the comment:
I was missing libgdbm-dev on that machine. I just installed it and am running
the buildbottests by hand. Let's see if that fixes things.
--
___
Python tracker
<http://bugs.python.org/is
1201 - 1300 of 2726 matches
Mail list logo