Change by Lumír Balhar :
--
nosy: +frenzy
___
Python tracker
<https://bugs.python.org/issue46404>
___
___
Python-bugs-list mailing list
Unsubscribe:
Lumír Balhar added the comment:
In my opinion, we should keep it simple for attrs and dataclasses to fix
closure cells when a class is replaced and therefore it seems to be correct to
have it mutable as it currently is in 3.11.
My plan is to implement the fix for dataclasses and some tests
Lumír Balhar added the comment:
We have the same problem reported in attrs here in dataclasses and because it's
not tested the way to manipulate __closure__ cells changes frequently.
My plan is to implement something similar to this into dataclasses:
https://github.com/python-attrs/
Lumír Balhar added the comment:
Do you think it's a good idea to start a PR with a copy of the implementation
from attrs for Python 3.11? We can then add tests for the new function and also
some for dataclasses where this new function is needed and try to find all
corner
Change by Lumír Balhar :
--
keywords: +patch
pull_requests: +15638
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16012
___
Python tracker
<https://bugs.python.org/issu
New submission from Lumír Balhar :
Hello.
I've discovered this issue when I was debugging a test failure in IPython. See
this issue for more details (not needed):
https://github.com/ipython/ipython/issues/12906
I'm testing this on Fedora Linux with Python 3.10.0a7 from our RPM pa
Change by Lumír Balhar :
--
nosy: +frenzy
___
Python tracker
<https://bugs.python.org/issue43752>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Lumír Balhar :
--
nosy: +frenzy
___
Python tracker
<https://bugs.python.org/issue43976>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Lumír Balhar :
Hello.
The documentation about tempfile.NamedTemporaryFile[0] contains:
That name can be retrieved from the name attribute of the returned file-like
object. Whether the name can be used to open the file a second time, while the
named temporary file is still
Lumír Balhar added the comment:
I understand, thanks for the explanation.
I'd like to improve the documentation to make it more clear that the file
actually can be reopened on Windows when you use delete=False but I cannot find
the right words :/
What about:
That name can be retrieved
Lumír Balhar added the comment:
Thanks for the report.
The regression is caused by the fact that the old implementation of
parse_makefile in distutils.sysconfig was using feature-rich class TextFile
which handles all the functionalities you reported as broken - stripping of
comments
Change by Lumír Balhar :
--
keywords: +patch
pull_requests: +25223
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26637
___
Python tracker
<https://bugs.python.org/issu
Change by Lumír Balhar :
--
nosy: +frenzy
___
Python tracker
<https://bugs.python.org/issue45413>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Lumír Balhar :
___
Python tracker
<https://bugs.python.org/issue45460>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/o
New submission from Lumír Balhar :
We would like to include a possibility of hardlink deduplication of identical
pyc files to compileall module in Python 3.9. We've discussed the change [0]
and tested it in Fedora RPM build system via implementation in the compileall2
module [1].
Lumír Balhar added the comment:
I forgot to mention that I am working on PR which should be ready soon because
the implementation is already done and tested in compileall2.
--
___
Python tracker
<https://bugs.python.org/issue40
Change by Lumír Balhar :
--
keywords: +patch
pull_requests: +19214
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/19901
___
Python tracker
<https://bugs.python.org/issu
Change by Lumír Balhar :
--
nosy: +frenzy
nosy_count: 4.0 -> 5.0
pull_requests: +19475
pull_request: https://github.com/python/cpython/pull/20174
___
Python tracker
<https://bugs.python.org/issu
Change by Lumír Balhar :
--
nosy: +frenzy
___
Python tracker
<https://bugs.python.org/issue41282>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Lumír Balhar :
--
nosy: +frenzy
___
Python tracker
<https://bugs.python.org/issue43228>
___
___
Python-bugs-list mailing list
Unsubscribe:
Lumír Balhar added the comment:
I'm not an expert nor an author but this might help:
Cloudpickle offers extended possibilities for pickling but uses the standard
pickle module for unpickling:
>>> import pickle, cloudpickle
>>> cloudpickle.load is pickle.load
True
&
Change by Lumír Balhar :
--
pull_requests: +23332
pull_request: https://github.com/python/cpython/pull/24549
___
Python tracker
<https://bugs.python.org/issue41
Change by Lumír Balhar :
--
nosy: +frenzy
___
Python tracker
<https://bugs.python.org/issue42988>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Lumír Balhar :
--
nosy: +frenzy
___
Python tracker
<https://bugs.python.org/issue39825>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Lumír Balhar :
--
nosy: +frenzy
___
Python tracker
<https://bugs.python.org/issue24908>
___
___
Python-bugs-list mailing list
Unsubscribe:
Lumír Balhar added the comment:
Hello.
I've met this issue again in moksha project [0] where namespace package is used.
- module moksha.common is installed via RPM to site-packages and there isn't
file moksha/__init__.py so the implicit way to create namespace package is u
Lumír Balhar added the comment:
Hello.
I've tried the build of python-moksha-common on Fedora rawhide [0] and Fedora
25 [1].
Fedora rawhide: Python 2.7.13 and 3.6.1, setuptools 36.2.0
Fedora 25: Python 2.7.13 and 3.5.3, setuptools 25.1.1
Source tarball of moksha.common contains pkg_reso
Lumír Balhar added the comment:
Thank you for the replies. I created an issue [0] on setuptools GitHub (without
reply yet) because I also think that setuptools should install
pkg_resources-style __init__.py files.
[0] https://github.com/pypa/setuptools/issues/1097
Change by Lumír Balhar :
--
nosy: +frenzy
___
Python tracker
<https://bugs.python.org/issue21258>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Lumír Balhar:
Hello.
I've found a really strange difference between Python 3.5 and 3.6 related to
namespace packages and I cannot find any note in changelogs.
I've created a simple bash script which can reproduce my issue using virtual
environments: http://pa
30 matches
Mail list logo