Łukasz Langa added the comment:
Sorry about that. Since I'm not technically touching the source code, I thought
the security fixes restriction does not necessarily apply. Especially that my
patch only updates what ends up here:
http://docs.python.org/release/2.6.6/library/configparser
Łukasz Langa added the comment:
the_isz, for serious Unicode support you might try using the configparser 3.2
backport:
http://pypi.python.org/pypi/configparser
--
___
Python tracker
<http://bugs.python.org/issue11
Łukasz Langa added the comment:
Yup, the fact that the docs won't be rebuilt ever again makes my 2.6 commit
effectively pointless and harmful for the RM. I will clean it up when I get
home.
Thanks for the thorough explanation.
--
title: ConfigParser.[Raw]ConfigParser option
Łukasz Langa added the comment:
This annoyance can't be fixed in 2.x anymore since this is a change of
behaviour requiring a full release. While it is very unlikely someone depended
on this "feature", changing it breaks compatibility.
Reclassified as `Documentation` to expl
Changes by Łukasz Langa :
--
title: ConfigParser: items() adds the vars dictionary to the result ->
ConfigParser: Document items() added the vars dictionary to the result
___
Python tracker
<http://bugs.python.org/issu
Changes by Łukasz Langa :
--
assignee: docs@python -> lukasz.langa
nosy: +lukasz.langa
stage: -> needs patch
versions: +Python 3.1, Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/i
Łukasz Langa added the comment:
I'd like to see that section gone altogether. The tutorial is designed to be
the first point of contact with the language. In that context name mangling is
an obscure detail with an unlikely use case.
If anything, the tutorial should simply state that pr
Changes by Łukasz Langa :
--
resolution: -> accepted
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue5412>
___
___
Python-bugs-list
New submission from Łukasz Langa :
I want to sum up all strange things about the behaviour of `__name__`, a
special key present in every section of a parser instance.
1. There is a special `__name__` key in every section.
2. Except for the DEFAULTSECT.
3. `__name__` key is set for every
Changes by Łukasz Langa :
--
nosy: +eric.araujo, fdrake, georg.brandl, michael.foord
___
Python tracker
<http://bugs.python.org/issue10489>
___
___
Python-bug
Łukasz Langa added the comment:
For the record, I wrote about this problem in July on the mailing list [1],
there were no replies.
[1] http://mail.python.org/pipermail/python-dev/2010-July/102556.html
--
___
Python tracker
<http://bugs.python.
Łukasz Langa added the comment:
Patch for the cleanup attached. 47 lines removed, about a half of these were in
tests explicitly made to check for these inconsistencies. 4 lines added, all of
them are reformattings due to removal of the other lines.
Syntax highlighted view of the patch:
http
Łukasz Langa added the comment:
Committed in rev 86638. A public API for getting the name of the section from a
SectionProxy instance was introduced in 86639. This is useful because you can
assing a section proxy to a variable and pass it around:
>>> from configparser import SafeCon
New submission from Łukasz Langa :
SUMMARY
===
This is a refactoring of configparser raised from discussions on #6517 and
#9876. It solves both issues and makes the code quite elegant. Best part is,
it's fully backwards compatible [1].
In the patch I basically did:
a) mov
Łukasz Langa added the comment:
Hopefully both RawConfigParser and ConfigParser will be successfully deprecated
as part of #10499. The discussion goes on there.
--
resolution: -> duplicate
status: open -> closed
superseder: -> Modular interpolation in con
Łukasz Langa added the comment:
Hopefully a form of this feature will be introduced as part of #10499. The
discussion goes on there.
--
resolution: -> duplicate
status: open -> closed
superseder: -> Modular interpolation in con
Łukasz Langa added the comment:
Adding a patch implementing the discussed functionality, removing almost all of
the ResourceWarnings raised by zipfile.
--
keywords: +patch
nosy: +lukasz.langa
stage: needs patch -> patch review
Added file: http://bugs.python.org/file19778/issue9
Łukasz Langa added the comment:
Committed in rev 86699.
--
resolution: -> accepted
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.o
New submission from Łukasz Langa :
py3k built from trunk on Centos 5.5 freezes during regrtest on
test_concurrent_futures with "Fatal Python error: Invalid thread state for this
thread".
A set of hopefully useful diagnostic logs attached as patch.
--
assignee: bquinlan
Łukasz Langa added the comment:
A colorful example: http://bpaste.net/show/11493/
(just in case if downloading and extracting logs is not feasible)
Some clarification: as in a typical concurrent problem, subsequent calls freeze
in different test cases, but the freeze itself is always
Changes by Łukasz Langa :
--
nosy: +jnoller
___
Python tracker
<http://bugs.python.org/issue10517>
___
___
Python-bugs-list mailing list
Unsubscribe:
Łukasz Langa added the comment:
I was originally surprised to find that callable() was gone. I pointed it out
at Europython and got a very informative explanation from Brett. The
isinstance(obj, collections.Callable) was introduced and it works well.
I'm with Ezio here. I'm -1 fo
New submission from Łukasz Langa :
Currently the constructor in defaultdict only accepts factories. It would be
very handy to allow for concrete values as well. It's implementable either by
checking if the argument is callable or by a new keyword argument.
--
assignee: lukasz.
Łukasz Langa added the comment:
Both arguments are true and definitive. Last possibility would be to introduce
a factory function for defaultdicts that would only accept concrete values:
from collections import fallbackdict
Then this factory could produce defaultdict instances like this
Łukasz Langa added the comment:
A couple of points:
1. Eric's proposal is what I had in mind with the `fallbackdict' idea.
2. I'm also reluctant to add more variants to the standard library. Then again
if it contained a `fallbackdict' I wouldn't probably ever use
Łukasz Langa added the comment:
Patch reposted here for review: http://codereview.appspot.com/3309043/
--
___
Python tracker
<http://bugs.python.org/issue10
Łukasz Langa added the comment:
Roumen's patch fixes a regression where readline extension would fail to build
on Mac OS X 10.6.5.
--
nosy: +lukasz.langa
resolution: fixed ->
stage: -> commit review
status: closed -> open
___
Łukasz Langa added the comment:
Committed in rev 86976.
--
resolution: -> accepted
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Łukasz Langa :
--
resolution: -> accepted
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.o
Łukasz Langa added the comment:
Fixed in rev 86976.
--
___
Python tracker
<http://bugs.python.org/issue9101>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Łukasz Langa :
configparser.ConfigParser is deprecated as of 3.2 and thus standard library
modules should not use that.
The migration path is trivial and should not introduce any compatibility
problems whatsoever. All it needs is to switch usage of ConfigParser to
Changes by Łukasz Langa :
Added file: http://bugs.python.org/file19939/issue10627.diff
___
Python tracker
<http://bugs.python.org/issue10627>
___
___
Python-bugs-list m
Changes by Łukasz Langa :
--
nosy: +vinay.sajip
___
Python tracker
<http://bugs.python.org/issue10627>
___
___
Python-bugs-list mailing list
Unsubscribe:
Łukasz Langa added the comment:
Possibly related: issue #10517.
--
nosy: +lukasz.langa
___
Python tracker
<http://bugs.python.org/issue10626>
___
___
Python-bug
Łukasz Langa added the comment:
Georg, be our hero here. I would be disappointed if this missed 3.2 and made us
wait another 18 months (or 3 years for Linux distribution inclusion) for that
feature.
This feature makes the first edition of argparse in py3k complete in terms of
subcommands
Łukasz Langa added the comment:
SafeConfigParser was renamed to ConfigParser in r87299 so this change is no
longer necessary.
--
resolution: -> out of date
stage: patch review -> committed/rejected
status: open -> closed
___
Python track
Changes by Łukasz Langa :
--
assignee: -> lukasz.langa
nosy: +lukasz.langa
___
Python tracker
<http://bugs.python.org/issue10716>
___
___
Python-bugs-list mai
Łukasz Langa added the comment:
Committed for py3k in r87895. Yup, could have been assertIs as well. The reason
for the change is that "is" failed on PyPy.
This should be backported to Python 2.7 as well.
--
___
Python trac
Changes by Łukasz Langa :
--
nosy: +lukasz.langa
___
Python tracker
<http://bugs.python.org/issue10994>
___
___
Python-bugs-list mailing list
Unsubscribe:
Łukasz Langa added the comment:
Kunjesh, first of all many thanks for your feedback! A bit of advice, though. I
have myself made the mistake of calling features I personally want as "often
needed". The reality is that they are not often needed if they weren't reported
be
Łukasz Langa added the comment:
Sure, that I can do right away.
--
___
Python tracker
<http://bugs.python.org/issue11027>
___
___
Python-bugs-list mailin
Changes by Łukasz Langa :
--
Removed message: http://bugs.python.org/msg127279
___
Python tracker
<http://bugs.python.org/issue11027>
___
___
Python-bugs-list m
Łukasz Langa added the comment:
Documentation updated in r88220.
--
___
Python tracker
<http://bugs.python.org/issue11027>
___
___
Python-bugs-list mailin
Łukasz Langa added the comment:
Martin, could you shed some light on the state of that PEP?
--
nosy: +lukasz.langa
title: How distutils2 handle namespaces -> State of PEP 382 or How does
distutils2 handle namespaces?
___
Python tracker
&l
Łukasz Langa added the comment:
Unfortunately the bug is not in ConfigParser but rather in your gen-build.py.
There is nothing special about backslashes and ConfigParser reads them in as
part of the value for ldap/paths.
But then look what happens in gen-build.py:215. The `split()` returns
Łukasz Langa added the comment:
New changeset c3ec5bc1b7a14b04621920f111aee01c31f6f1c1 by Miss Islington (bot)
in branch '3.8':
bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736) (GH-31740)
https://github.com/python/cpython/commit/c3ec5bc1b7a14b04621920f111aee0
Łukasz Langa added the comment:
New changeset cff1b78c1dfb2a62b1e16fabc5f43bc3634d9de7 by Steve Dower in branch
'3.8':
bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses
the install path during repair (GH-31729)
https://github.com/python/cpyt
Łukasz Langa added the comment:
New changeset 6649519e67841b1aa12672f1d9b5cb24494f6196 by Steve Dower in branch
'3.8':
bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189
and CVE-2019-12900 (GH-31732) (GH-31734)
https://github.com/python/cpyt
Łukasz Langa added the comment:
New changeset ccbc31ecf3a08ef626be9bbb099f0ce801142fc8 by Miss Islington (bot)
in branch '3.8':
bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397)
(GH-31419)
https://github.com/python/cpyt
Łukasz Langa added the comment:
New changeset 7a315d8a0d4df01f96d82286739b86920ccebc05 by Ned Deily in branch
'3.8':
bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31851)
https://github.com/python/cpython/commit/7a315d8a0d4df01f96d82286739b86
Łukasz Langa added the comment:
New changeset dea270a2a80214de22afadaaca2043d0d782eb7d by Ned Deily in branch
'3.8':
bpo-45405: Prevent internal configure error when running configure with recent
versions of clang. (GH-28845) (GH-31889)
https://github.com/python/cpyt
Łukasz Langa added the comment:
New changeset e8b72fc7f3937b6b86354110917da161ca36cff7 by Ned Deily in branch
'3.8':
[3.8] bpo-47024: Update Windows builds and macOS installer build to use OpenSSL
1.1.1n. (GH-31912)
https://github.com/python/cpyt
Łukasz Langa added the comment:
New changeset 2b97cfdce8df9d0d455f65a22b1e0d34a29dc200 by Miss Islington (bot)
in branch '3.8':
bpo-46948: Fix launcher installer build failure due to first part of fix
(GH-31920) (GH-31924)
https://github.com/python/cpyt
Łukasz Langa added the comment:
New changeset 4d8e08b21ce5d2cc08da82cf9f3ca50d9617cbdc by Miss Islington (bot)
in branch '3.8':
bpo-31327: Update time documentation to reflect possible errors (GH-31460)
(GH-31827)
https://github.com/python/cpyt
Łukasz Langa added the comment:
New changeset 0b0609d0d1a2f231c94bab2177095dd9a46fc137 by Miss Islington (bot)
in branch '3.9':
[3.10] bpo-45382: test.pythoninfo logs more Windows versions (GH-30891)
(GH-30894)
https://github.com/python/cpython/commit/0b0609d0d1a2f231c94bab2177095d
Łukasz Langa added the comment:
New changeset 0bbb6956f83ef457872b8f04242bb02b6898350d by Jelle Zijlstra in
branch '3.9':
[3.9] bpo-46769: Improve documentation for `typing.TypeVar` (GH-31712)
(GH-31941) (GH-32067)
https://github.com/python/cpyt
Łukasz Langa added the comment:
Marek, I can merge a fix for 3.9 for this. I don't think we should be removing
_markupbase.ParserBase.error() in 3.9 as GH-8562 is doing. So we'd need a new
patch, like GH-17643. However, that will need a test as well.
Would you be interested in cr
Łukasz Langa added the comment:
New changeset d35af52caae844cb4ea0aff06fa3fc5328708af1 by m-aciek in branch
'3.8':
[3.8] bpo-47138: Fix documentation build by pinning Jinja version to 3.0.3
(GH-32109)
https://github.com/python/cpython/commit/d35af52caae844cb4ea0aff06fa3fc
Łukasz Langa added the comment:
Should this be closed?
--
___
Python tracker
<https://bugs.python.org/issue37440>
___
___
Python-bugs-list mailing list
Unsub
Łukasz Langa added the comment:
Should this be closed?
--
___
Python tracker
<https://bugs.python.org/issue37428>
___
___
Python-bugs-list mailing list
Unsub
Łukasz Langa added the comment:
Please fix this ASAP, last 3.8 beta is scheduled for Monday.
--
___
Python tracker
<https://bugs.python.org/issue34679>
___
___
Łukasz Langa added the comment:
This is marked as a release blocker. The last beta is scheduled for Monday.
Please decide how to proceed ASAP.
--
___
Python tracker
<https://bugs.python.org/issue37
Łukasz Langa added the comment:
This is marked as a release blocker. The last beta is scheduled for Monday.
Please decide how to proceed ASAP.
--
___
Python tracker
<https://bugs.python.org/issue37
Łukasz Langa added the comment:
Downgraded the severity since 3.6 - 3.9 are merged.
--
nosy: +lukasz.langa
priority: deferred blocker -> critical
___
Python tracker
<https://bugs.python.org/issu
Łukasz Langa added the comment:
This is marked as a release blocker. The last beta is scheduled for Monday.
Please decide how to proceed ASAP.
--
nosy: +lukasz.langa
priority: deferred blocker -> release blocker
___
Python tracker
<
Łukasz Langa added the comment:
This is marked as a release blocker. The last beta is scheduled for Monday.
Please decide how to proceed ASAP.
--
nosy: +lukasz.langa
priority: deferred blocker -> release blocker
___
Python tracker
<
Łukasz Langa added the comment:
Should this be closed?
--
___
Python tracker
<https://bugs.python.org/issue35998>
___
___
Python-bugs-list mailing list
Unsub
Łukasz Langa added the comment:
This is marked as a release blocker. The last beta is scheduled for Monday.
Please decide how to proceed ASAP.
--
priority: deferred blocker -> release blocker
___
Python tracker
<https://bugs.python.org/issu
Łukasz Langa added the comment:
This is marked as a release blocker. The last 3.8 beta is scheduled for Monday.
Please decide how to proceed ASAP.
--
nosy: +benjamin.peterson, lukasz.langa
priority: deferred blocker -> release blocker
___
Pyt
Łukasz Langa added the comment:
Christian, you're right to treat this as Release Blocker. Let's have this
fixed. Assigning Eric?
--
assignee: -> eric.snow
___
Python tracker
<https://bugs.pytho
Łukasz Langa added the comment:
Thanks for looping me in. Waiting for this to be merged.
--
___
Python tracker
<https://bugs.python.org/issue37664>
___
___
Pytho
Łukasz Langa added the comment:
There's a bug on macOS that is blocking the release regarding
`stat.FILE_ATTRIBUTE_REPARSE_POINT` being used to check whether
`os.stat_result` objects have the `st_file_attributes` attribute.
--
nosy: +lukasz.langa
resolution: fixed ->
stage:
Łukasz Langa added the comment:
Unit tests didn't catch it since it fails on older macOS releases.
--
___
Python tracker
<https://bugs.python.org/is
Łukasz Langa added the comment:
New changeset 7fcc2088a50a4ecb80e5644cd195bee209c9f979 by Łukasz Langa (Ned
Deily) in branch 'master':
bpo-37834: Prevent shutil.rmtree exception (GH-15602)
https://github.com/python/cpython/commit/7fcc2088a50a4ecb80e5644cd195be
Change by Łukasz Langa :
--
pull_requests: +15280
pull_request: https://github.com/python/cpython/pull/15603
___
Python tracker
<https://bugs.python.org/issue37
Łukasz Langa added the comment:
New changeset 25a044ee6ce50a9172478cc61d914644778455f6 by Łukasz Langa in
branch '3.8':
[3.8] bpo-37834: Prevent shutil.rmtree exception (GH-15602) (#15603)
https://github.com/python/cpython/commit/25a044ee6ce50a9172478cc61d9146
Change by Łukasz Langa :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Łukasz Langa added the comment:
New changeset 1aeb720d64021e544043ca4619a44a7da0cd00dd by Łukasz Langa (Miss
Islington (bot)) in branch '3.8':
bpo-37408: Precise that Tarfile "format" argument only concerns writing.
(GH-14389) (#16465)
https://github.com/p
Łukasz Langa added the comment:
New changeset bfca56b3ddb4bb0a98931ebcd1257af2afa9b2ae by Łukasz Langa
(Christian Heimes) in branch '3.8':
[3.8] bpo-38270: More fixes for strict crypto policy (GH-16418) (#16437)
https://github.com/python/cpython/commit/bfca56b3ddb4bb0a98931ebcd1257a
Change by Łukasz Langa :
--
priority: -> release blocker
___
Python tracker
<https://bugs.python.org/issue38006>
___
___
Python-bugs-list mailing list
Un
Change by Łukasz Langa :
--
versions: +Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue38326>
___
___
Python-bugs-list mailing list
Unsub
Łukasz Langa added the comment:
> If that PR is applied, I think we should also restore tp_clear for functions
> (revert GH-15826).
If that's safe and easy, let's go for it. Would it help with memory usage in
functions or was BPO-33418 addressed in a
Łukasz Langa added the comment:
Is introducing tp_clear on functions a thing that has ABI consequences? In
other words, if we take our time on this, would it land in 3.8.1 or 3.9.0?
I'm kind of nervous about the rate of change in the past 48
Łukasz Langa added the comment:
Now we only need a volunteer to prepare a PR to revert the revert... :>
--
___
Python tracker
<https://bugs.python.org/issu
Łukasz Langa added the comment:
If either of you resurrects tp_clear in functions in the next 12 hours or so,
I'll merge it.
--
___
Python tracker
<https://bugs.python.org/is
Łukasz Langa added the comment:
New changeset b3612070b746f799901443b65725008bc035872b by Łukasz Langa (Neil
Schemenauer) in branch '3.8':
Restore tp_clear for function object. (#16502)
https://github.com/python/cpython/commit/b3612070b746f799901443b6572500
Łukasz Langa added the comment:
I suggest closing this and following up in BPO-38304 about a possible graceful
error message during invalid embedding.
--
priority: release blocker -> normal
___
Python tracker
<https://bugs.python.org/issu
Łukasz Langa added the comment:
Thanks a million everyone, this is now hopefully solved. I'm leaving it open
for Neil to experiment with his unit test (which would be amazing to have!).
--
priority: release blocker -> normal
versions: -Python 2.7, Python 3.5, Python 3.6, Py
Łukasz Langa added the comment:
Will you forward port your change to master, Victor?
--
___
Python tracker
<https://bugs.python.org/issue38304>
___
___
Python-bug
Łukasz Langa added the comment:
New changeset 938c00ca9e4207a2531041edff2e82490b02047f by Łukasz Langa (Miss
Islington (bot)) in branch '3.8':
bpo-38319: Fix shutil._fastcopy_sendfile(): set sendfile() max block size
(GH-16491) (#16506)
https://github.com/python/cpyt
Change by Łukasz Langa :
--
priority: release blocker -> normal
___
Python tracker
<https://bugs.python.org/issue38242>
___
___
Python-bugs-list mailing list
Un
Łukasz Langa added the comment:
> Łukasz, is there some reason you removed old versions (2.7, 3.6, etc)? The
> bug is present on those versions of Python and it should be trivial to
> backport the fix. If those branches are maintained, I think we should fix it.
Sorry, I did that b
Łukasz Langa added the comment:
Unfortunately at this point we will have to leave the ABI as is. We are in fact
promising to lock it by Beta 3 so quite a long time ago.
--
versions: -Python 3.8
___
Python tracker
<https://bugs.python.
Łukasz Langa added the comment:
New changeset 927f07c816aad9f8ed961d7ace6a367837f7fa8f by Łukasz Langa (Miss
Islington (bot)) in branch '3.8':
bpo-38469: Handle named expression scope with global/nonlocal keywords
(GH-16755) (#16760)
https://github.com/python/cpyt
Łukasz Langa added the comment:
New changeset 298439ce3fb01de6c3110cc4847e6afe3253ba7a by Łukasz Langa (Serhiy
Storchaka) in branch 'master':
bpo-37759: Polish What's New in Python 3.8. (#16769)
https://github.com/python/cpython/commit/298439ce3fb01de6c3110cc48
Change by Łukasz Langa :
--
pull_requests: +16339
pull_request: https://github.com/python/cpython/pull/16777
___
Python tracker
<https://bugs.python.org/issue37
Łukasz Langa added the comment:
New changeset e498329ebe0d86a5d80471112d766502b144a476 by Łukasz Langa in
branch '3.8':
[3.8] bpo-37759: Polish What's New in Python 3.8. (GH-16769) (#16777)
https://github.com/python/cpython/commit/e498329ebe0d86a5d80471112
Łukasz Langa added the comment:
(FTR the fix is part of Python 3.8.0)
--
___
Python tracker
<https://bugs.python.org/issue38469>
___
___
Python-bugs-list mailin
Łukasz Langa added the comment:
(3.8.0 is released with this fix)
--
priority: release blocker -> normal
___
Python tracker
<https://bugs.python.org/issu
Łukasz Langa added the comment:
(3.8.0 is released with this fix)
--
resolution: -> fixed
stage: commit review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
101 - 200 of 2040 matches
Mail list logo