Éric Araujo added the comment:
Oh to counter my own proposal: formats should not be removed without warnings,
there are probably downstream tools that expect specific URL patterns and
formats. So adding something very modern to get the smallest size might be
good, but not removing existing
Éric Araujo added the comment:
I don’t think that consistency or standardization really applies here, it’s not
like there are tools that want to process both source and doc archives and are
broken by the difference in formats.
It could be useful to review the formats used and decide
Change by Éric Araujo :
--
stage: -> needs patch
versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issu
Change by Éric Araujo :
--
nosy: +christian.heimes
___
Python tracker
<https://bugs.python.org/issue45906>
___
___
Python-bugs-list mailing list
Unsubscribe:
Éric Araujo added the comment:
FWIW I think in the same way as Ronald.
A pattern is not a path, it’s a string expressing rules.
If it matches, the results are paths, but that does not make the pattern a path.
--
nosy: +eric.araujo
___
Python
Éric Araujo added the comment:
The doc for the font parameter is: a triple (fontname, fontsize, fonttype)
but the default value in the signature is: font='Arial'
I do not know what’s font name vs font type!
Do you know if it’s valid to have font='Arial', in which case the doc should
Éric Araujo added the comment:
Thank you for suggesting the improvement and working on a PR nonetheless!
Hope the experience can be useful for other tickets in the future.
--
___
Python tracker
<https://bugs.python.org/issue45
Éric Araujo added the comment:
I think that there’s no need to change the existing tests.
The CPython project prefers to not do tiny improvements for their own sake.
--
nosy: +eric.araujo
___
Python tracker
<https://bugs.python.org/issue45
Change by Éric Araujo :
--
stage: resolved ->
versions: +Python 3.11 -Python 3.7
___
Python tracker
<https://bugs.python.org/issue45805>
___
___
Python-
Éric Araujo added the comment:
I am not sure. Adding compiler people to the nosy list!
--
nosy: +BTaskaya, Mark.Shannon, benjamin.peterson, brett.cannon, pablogsal,
yselivanov
___
Python tracker
<https://bugs.python.org/issue45
Éric Araujo added the comment:
No worry about posting multiple messages.
I think the flag is documented through the __future__ module.
Future imports are both special-cased by the compiler to enable custom
behaviour, but also real, regular imports!
>>> from __future__ import an
Éric Araujo added the comment:
Please give a more detailed answer: what is your OS version, what’s the version
of python and how did you install it, what is your IDE or how do you run your
python script, copy full error messages from event viewer. It would also be
useful if you attached
Éric Araujo added the comment:
Archived version:
https://web.archive.org/web/20191202041245/http://effbot.org/zone/console-index.htm
The whole FAQ entry should be reviewed for relevance.
Is it true that curses is not built by default?
Should third-party curses modules be recommended?
How do
Éric Araujo added the comment:
There is renewed discussion on python-dev about placing this in contextlib.
--
nosy: +eric.araujo
___
Python tracker
<https://bugs.python.org/issue25
Éric Araujo added the comment:
If you search in the index, there is no entry like 'append (list method)', only
'append (sequence method)': https://docs.python.org/3/genindex-A.html
This goes to the reference docs, where list methods are documented indirectly
by reference to the Sequence
Éric Araujo added the comment:
It’s not clear to me if CGI support in http.server is a relic or still
something useful and in wide use. You can for sure make a pull request and see
if a core dev will review and merge it, or you could raise the question on
Discuss to see what people think
Éric Araujo added the comment:
I think that second PR was linked using the GitHub PR link field present in the
bug comment form.
--
___
Python tracker
<https://bugs.python.org/issue40
Change by Éric Araujo :
--
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python
3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue22
Éric Araujo added the comment:
Tracked to https://github.com/python/python-docs-theme/issues/89
AlexWaygood: can I ask why add pseudo-tags to the title field when we do have
structured data (components set to doc) on this tracker? Is it a new practice?
--
nosy: +AlexWaygood
Éric Araujo added the comment:
It happens on all pages for all versions, because the link is empty.
3.8 doesn’t have that line so doesn’t show the bug. I am trying to find where
that is defined. Strangely, I don’t find results looking for `please donate`
which is the line below
Éric Araujo added the comment:
Also note that Python 3.6 only receives security updates now. Does your
problem still happen with a current version?
--
components: -Parser
nosy: +eric.araujo
status: open -> pending
type: behavior ->
___
Change by Éric Araujo :
--
nosy: +brett.cannon, eric.snow, ncoghlan
versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue45
Éric Araujo added the comment:
See the changelog entry for 2021-11-04 10:31:24 (and the other ticket where
Guido just commented)
(and thanks for cleaning spam!)
--
___
Python tracker
<https://bugs.python.org/issue42
Éric Araujo added the comment:
erlandaasland you’ve been editing closed issues today (got messages from at
least 2). maybe submitting old browser tabs with obsolete form data?
--
nosy: +erlendaasland
___
Python tracker
<https://bugs.python.
Éric Araujo added the comment:
If this is deemed a bugfix, the PR should be backported.
--
nosy: +eric.araujo
type: -> behavior
versions: +Python 3.10, Python 3.11, Python 3.9
___
Python tracker
<https://bugs.python.org/issu
Éric Araujo added the comment:
But Python doesn’t have a concept of main function.
Anyway, it’s no use arguing here, please go to python-ideas for a wider
audience.
--
___
Python tracker
<https://bugs.python.org/issue45
Éric Araujo added the comment:
I don’t know if CGI on windows servers is very relevant nowadays.
--
nosy: +eric.araujo
versions: -Python 3.2
___
Python tracker
<https://bugs.python.org/issue10
Éric Araujo added the comment:
I don’t think that’s possible; it wouldn’t fit with the design of python to
have an implicit async loop like that. But I’m no expert here, so you could
bring this idea to https://discuss.python.org/c/ideas/6 to see what people
think
Éric Araujo added the comment:
Do you know about using "python -m asyncio" instead of "python"?
--
nosy: +eric.araujo
___
Python tracker
<https://bug
Éric Araujo added the comment:
> '\r' support is implicitly documented under the sys.stdin section[0]:
> "These streams are regular text files like those returned by the open()
> function"
I read that to mean that the streams are file-like objects (or TextIOWrappers)
with
Éric Araujo added the comment:
I don’t know that longer is the right think to look at here, but rather more
specific. Unless I’m mistaken, a cookie for test.com is not read on
demo.test.com; it would need to be for .test.com to be read (and in that case
the specificity rules in the spec
Éric Araujo added the comment:
We could look in distro patch trackers to see they patch CPython’s setup.py to
evaluate the impact of removing this function.
--
nosy: +eric.araujo
___
Python tracker
<https://bugs.python.org/issue45
Éric Araujo added the comment:
The feature proposed here is not clear to me.
Is it about caching the method object on the instance to optimize the creation
of the bound method, as the name suggests? Or is it about caching the result
of calling the method, which is consistent
Change by Éric Araujo :
--
Removed message: https://bugs.python.org/msg405026
___
Python tracker
<https://bugs.python.org/issue16235>
___
___
Python-bugs-list m
Éric Araujo added the comment:
I don’t have specific expertise in this, so please take it!
--
assignee: eric.araujo -> nanjekyejoannah
components: +Build -Distutils2, Library (Lib)
nosy: -alexis, tarek
versions: +Python 3.11 -Python 3.3
___
Pyt
Éric Araujo added the comment:
Option 3 seems simple and ok to me.
--
nosy: +eric.araujo
___
Python tracker
<https://bugs.python.org/issue40051>
___
___
Pytho
Éric Araujo added the comment:
If dataclasses wanted to allow fields named `mro`, it could replace its call to
`cls.mro()` with `type.mro(cls)`. But I don’t know if there is a strong use
case for such a field.
--
nosy: +eric.araujo
___
Python
Change by Éric Araujo :
--
resolution: -> not a bug
status: open -> pending
type: compile error -> behavior
___
Python tracker
<https://bugs.python.or
Éric Araujo added the comment:
Additions to mimetypes have been backported in the past, with the thought that
these are not new behaviour added but only entries in a registry (and bringing
the python module in line with external data sources) so there’s value and no
risk in releasing
Change by Éric Araujo :
--
nosy: +eric.araujo
___
Python tracker
<https://bugs.python.org/issue45302>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Éric Araujo :
--
versions: +Python 3.9 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue17005>
___
___
Python-bugs-list mailing list
Unsub
Éric Araujo added the comment:
At this point, it seems that there would be more value in reporting this to
setuptools than on bpo.
--
___
Python tracker
<https://bugs.python.org/issue45
Éric Araujo added the comment:
I think python-config is modelled after pkg-config: what does the latter do?
Also, I’m not sure it would be appropriate to change behaviour in existing
releases.
--
nosy: +eric.araujo
versions: -Python 3.10, Python 3.9
Éric Araujo added the comment:
A PR was opened for this. `text_len` is used as param/attribute name.
--
versions: +Python 3.11 -Python 3.5
___
Python tracker
<https://bugs.python.org/issue12
Éric Araujo added the comment:
This should answer questions about the processes:
https://devguide.python.org/tracker/
--
___
Python tracker
<https://bugs.python.org/issue44
Éric Araujo added the comment:
Hello! For future tickets, please include all relevant info here rather that
only links.
Linked message is:
According to the Language Reference, a starred expression is defined by
starred_expression ::= expression | (starred_item ",")* [st
Éric Araujo added the comment:
FYI there was a ticket and a discussion before:
https://mail.python.org/archives/list/python-id...@python.org/thread/FCGDSVWHIJHBYKS2O4RHZVLXCGSGBLQH/#FCGDSVWHIJHBYKS2O4RHZVLXCGSGBLQH
Should be reviewed to see the arguments made and determine if things have
Éric Araujo added the comment:
I checked and the directive was indeed made translatable in #32087
So like Terry said, this should be brought to the attention of the PT
translation team. The strings seem to be translated
(https://github.com/python/python-docs-pt-br/blob/3.10/sphinx.po#L46
Éric Araujo added the comment:
Follow-up: #44860 is removing platlibdir from posix_user scheme
--
___
Python tracker
<https://bugs.python.org/issue1294
Change by Éric Araujo :
--
keywords: +easy
stage: -> needs patch
type: enhancement -> behavior
versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/i
Éric Araujo added the comment:
New changeset b08c48e61745666df9aeee97d8bddbf1e5550627 by Anthony Sottile in
branch 'main':
bpo-33671 fix orphaned comment in shutil.copyfileobj (GH-27516)
https://github.com/python/cpython/commit/b08c48e61745666df9aeee97d8bddbf1e5550627
--
nosy
Éric Araujo added the comment:
You should propose this on python-ideas!
--
nosy: +eric.araujo
___
Python tracker
<https://bugs.python.org/issue44701>
___
___
Éric Araujo added the comment:
Python has thousands of open issues and PRs, so that’s why the one you opened
didn’t have comments at first.
For cases like this, there is a 'skip-news' label to satisfy the robotic checks.
--
___
Python tracker
Éric Araujo added the comment:
> it doesn't do a normal import of the `__future__.py` module, it is actually a
> compiler directive.
It’s both! The compiler has special handling for this line (pseudo-module),
and the interpreter does a regular import that gets the regular python
Éric Araujo added the comment:
Thanks for the follow-up! Note that the original bug could have been reused.
--
nosy: +eric.araujo
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracke
Éric Araujo added the comment:
This can be closed. Thanks for the patch!
For next time, such small doc fixes don’t need a NEWS entry.
--
nosy: +eric.araujo
___
Python tracker
<https://bugs.python.org/issue44
Éric Araujo added the comment:
distutils is being removed, see https://bugs.python.org/issue41282
--
nosy: +eric.araujo
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.11
___
Pytho
Change by Éric Araujo :
--
components: +Library (Lib) -Installation
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue44624>
___
___
Python-bug
Éric Araujo added the comment:
distutils is a special case in the standard library: complicated code with even
private helpers used by code in the wild, so we are extra careful when changing
things in there. But I should say it used to be special, and we used to be
careful: setuptools
Éric Araujo added the comment:
Hello! I’ve seen your name on a few recent tickets, thanks for contributing
and welcome here!
In general, the CPython project doesn’t do esthetic code changes for their own
sake. Not all code is changed from %-formatting when format is added, not all
code
Change by Éric Araujo :
--
components: +Library (Lib) -Demos and Tools
nosy: +eric.araujo
___
Python tracker
<https://bugs.python.org/issue44603>
___
___
Pytho
Éric Araujo added the comment:
On second thought, this issue is not purely programming, but also has a UI
component. Better HTML and separated CSS would be good, but before that I
think we’d need someone with design chops to mock up a better page layout and
style (better than big coloured
Éric Araujo added the comment:
Someone would need to take the patch, apply it to current main branch, fix
issues and open a PR.
--
versions: +Python 3.11 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue10
Change by Éric Araujo :
--
versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue44539>
___
___
Change by Éric Araujo :
--
resolution: third party -> not a bug
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.or
Éric Araujo added the comment:
Please open a ticket! This one is about docstrings and pydoc; docs.python.org
is built from rst docs with sphinx.
--
versions: +Python 3.11 -Python 3.4
___
Python tracker
<https://bugs.python.org/issue16
Éric Araujo added the comment:
This proposal pre-dates signature objects; I wonder if they can be used to
handle the use cases here.
--
versions: -Python 3.4
___
Python tracker
<https://bugs.python.org/issue16
Éric Araujo added the comment:
The python interpreter does not create log files by itself, it would be the
specific command or script that you ran that does that and prints the message
you show.
--
nosy: +eric.araujo
resolution: -> third party
status: open -> pending
type: be
Éric Araujo added the comment:
This one is about Python’s build itself, that still uses parts of distutils, so
probably should stay open if reproducible.
--
___
Python tracker
<https://bugs.python.org/issue34
Éric Araujo added the comment:
The pull request needs unit tests added to validate the changes.
Note that the patch attached here was a new feature, adding constants and
parameters to control the behaviour, but the PR simply checks and applies
permissions bits stored in the entry
Éric Araujo added the comment:
I think this should be discussed on the mailing list or Discourse, to get use
cases and needs.
--
nosy: +eric.araujo
versions: +Python 3.11 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue36
Éric Araujo added the comment:
Can you contact the security team (info at https://www.python.org/dev/security/
) directly?
In general, tarfile (and other Python file functions!) can create files
anywhere on the filesystem, provided that the process user has the right
permissions
Éric Araujo added the comment:
I don’t think that there is a problem to be fixed.
Separated «lower case» could be unfriendly, but the hyphen is there in the
adjective forms so it seems that changing these instances would add churn for
no benefit.
--
nosy: +eric.araujo
Éric Araujo added the comment:
Some results from a quick web search:
- https://wiki.debian.org/BuildingTutorial
-
https://unix.stackexchange.com/questions/158395/apt-get-build-dep-is-unable-to-find-a-source-package
- https://www.linuxfordevices.com/tutorials/debian/build-packages-from-source
Éric Araujo added the comment:
apt build-dep (or aptitude build-dep) is a command used to get build-time
dependencies for the system package, which are not always the same as the
upstream in-development version of Python.
As the error message told you, you need deb-src lines in your
Éric Araujo added the comment:
PR 25718 was opened and linked to this ticket. It changes sysconfig to load
install schemes from a separate module, so it’s not strictly about removing
distutils but adding a new system customization feature. I think it needs its
own bug and mailing-list
Éric Araujo added the comment:
I don’t think consistency should be the main goal, but usefulness.
--
versions: -Python 2.7, Python 3.11, Python 3.4, Python 3.5, Python 3.6, Python
3.7
___
Python tracker
<https://bugs.python.org/issue11
Éric Araujo added the comment:
A core dev review is needed to get this feature into 3.10 before the freeze.
--
nosy: +methane
stage: patch review -> commit review
versions: +Python 3.10 -Python 3.9
___
Python tracker
<https://bugs.pyth
Éric Araujo added the comment:
What a great, useful change!
--
nosy: +eric.araujo
___
Python tracker
<https://bugs.python.org/issue43914>
___
___
Python-bug
Change by Éric Araujo :
--
nosy: +brett.cannon, eric.snow, ncoghlan
___
Python tracker
<https://bugs.python.org/issue43895>
___
___
Python-bugs-list mailin
Éric Araujo added the comment:
Hello and thanks for wanting to contribute to Python!
In the CPython project, stylistic changes are not made by themselves as a
matter of course (accross the whole codebase or in a specific module): among
reasons, these obfuscate file history, need reviewer
Change by Éric Araujo :
--
nosy: +eric.araujo
versions: -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue43484>
___
___
Python-bugs-list m
Éric Araujo added the comment:
The PEP has been rejected, so there is no big plan to add structured data to
all exceptions, but you can open specific tickets and/or python-ideas
discussions to add attributes to specific exceptions.
So I think this ticket should be closed, and a new one
Éric Araujo added the comment:
The only blocks that create scopes are modules, class and functions.
if, try, with, for, while, etc are blocks but not new scopes.
For the tutorial it could be nice to have an explicit mention and example of
this.
--
nosy: +eric.araujo
Change by Éric Araujo :
--
title: ReDoS in request -> ReDoS in urllib.request
___
Python tracker
<https://bugs.python.org/issue43075>
___
___
Python-bugs-lis
Change by Éric Araujo :
Removed file: https://bugs.python.org/file49828/api.paypal.com.pem
___
Python tracker
<https://bugs.python.org/issue43301>
___
___
Python-bug
Éric Araujo added the comment:
This does not look like a valid bug report.
You can use a general Python support group to ask questions about how to write
something, the Python bug tracker is not the right place for that.
--
assignee: terry.reedy ->
nosy: -barry, dstu
Change by Éric Araujo :
--
nosy: +pmoody
title: ipaddress - add ability to get next closet network of any prefix size ->
ipaddress - add ability to get next closest network of any prefix size
___
Python tracker
<https://bugs.python.org/issu
Éric Araujo added the comment:
I also have concerns about specifics of the implementation (see PR) and in
general the behaviour change in point releases. Maybe have a thread on
python-dev?
--
___
Python tracker
<https://bugs.python.
Éric Araujo added the comment:
Senthil, what is your opinion here?
--
___
Python tracker
<https://bugs.python.org/issue42967>
___
___
Python-bugs-list mailin
Éric Araujo added the comment:
The difference is that semicolon is defined in a previous specification.
I don’t see this change as providing support for custom delimiters in URL
parsing, but offering an option to pick between two specifications
Éric Araujo added the comment:
> I feel like if we are to implement this, we should let the developer choose
> the separator and not limit to just `&` and `;`
That doesn’t feel necessary to me. I suspect most links use &, some use ;,
nothing else is valid at the moment and
Éric Araujo added the comment:
Too bad that semicolon is not recommended nowadays, it was a nice way to avoid
ampersand HTML escape issues!
One server software that generates links using semicolons is debbugs:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?archive=both;package=gtk3-engines
Éric Araujo added the comment:
New changeset aedc94b8e9d0f7700c665d8d1ba9c93df33e63a8 by Miss Islington (bot)
in branch '3.8':
[3.8] bpo-39416: change word case to not imply ABC (GH-22867) (GH-22869)
https://github.com/python/cpython/commit/aedc94b8e9d0f7700c665d8d1ba9c93df33e63a8
Éric Araujo added the comment:
Thank you for the details! This helps finding a good place to document this.
A link to function parameters from the top of the section may be good.
But maybe we need a sidebar link on all pages that goes to a description of doc
conventions! (and includes link
Éric Araujo added the comment:
I don’t think every function signature should have links when using `*`,
`*args` or `**kwargs`.
Is there another page that we could improve?
What did you search for when you wanted to understand what it means?
Possible candidates: tutorial page about functions
Change by Éric Araujo :
--
hgrepos: -394
___
Python tracker
<https://bugs.python.org/issue42456>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Éric Araujo :
--
assignee: eric.araujo ->
stage: -> needs patch
___
Python tracker
<https://bugs.python.org/issue16879>
___
___
Python-bugs-list
Change by Éric Araujo :
--
assignee: eric.araujo ->
components: -Distutils
versions: -Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issu
Éric Araujo added the comment:
I prefer the patch by Inada-san!
>> Describing the default behavior and "from None" is enough for new users
> Strange that you think that "from None" is more useful for beginners than
> these special attributes.
Doesn’t feel str
101 - 200 of 7396 matches
Mail list logo