[issue45934] python curses newterm implementation

2021-12-04 Thread Éric Araujo

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/issue45934>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45906] Python github installation issue

2021-12-04 Thread Éric Araujo

Change by Éric Araujo :


--
nosy: +christian.heimes

___
Python tracker 
<https://bugs.python.org/issue45906>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45889] pathlib: Path.match does not work on paths

2021-11-26 Thread Éric Araujo

É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 tracker 
<https://bugs.python.org/issue45889>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45872] Turtle: invalid example for write doc

2021-11-26 Thread Éric Araujo

É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 be 
amended?  or is the default value wrong?  (also not sure if it’s a default 
value or an example)

--
nosy: +eric.araujo
title: Turtle documentation, write() -> Turtle: invalid example for write doc

___
Python tracker 
<https://bugs.python.org/issue45872>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45775] Implementation of colorsys.rgb_to_yuv and vice versa

2021-11-23 Thread Éric Araujo

É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/issue45775>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45775] Implementation of colorsys.rgb_to_yuv and vice versa

2021-11-23 Thread Éric Araujo

É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/issue45775>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45805] CO_FUTURE_ANNOTATIONS flag is not documented or in inspect

2021-11-21 Thread Éric Araujo

Change by Éric Araujo :


--
stage: resolved -> 
versions: +Python 3.11 -Python 3.7

___
Python tracker 
<https://bugs.python.org/issue45805>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45805] CO_FUTURE_ANNOTATIONS flag is not documented or in inspect

2021-11-21 Thread Éric Araujo

É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/issue45805>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45805] CO_FUTURE_ANNOTATIONS flag is not documented or in inspect

2021-11-19 Thread Éric Araujo

É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 annotations
>>> annotations
_Feature((3, 7, 0, 'beta', 1), (3, 10, 0, 'alpha', 0), 16777216)
>>> hex(annotations.compiler_flag)
'0x100'

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue45805>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45823] phyton stopped working

2021-11-19 Thread Éric Araujo

É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 your script!

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue45823>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45844] Dead link 'consolelib' in faq/library

2021-11-19 Thread Éric Araujo

É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 people develop text user interfaces on windows these days?

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue45844>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25625] "chdir" Contex manager for pathlib

2021-11-14 Thread Éric Araujo

É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/issue25625>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45762] Missing `list` symbols in the object inventory

2021-11-13 Thread Éric Araujo

É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 protocol described just above the list section: 
https://docs.python.org/3/library/stdtypes.html#lists

The tutorial page lists all methods for people learning, with noindex markup to 
avoid pointing from the index to the reference: 
https://github.com/python/cpython/blob/3.10/Doc/tutorial/datastructures.rst#L19

The individual decisions make sense, but I think the results is not 
satisfactory: there is no reference to list.append (etc) in the index or the 
sphinx inventory (only 'list.sort' is there, from the entry in the 
library/stdtypes list section).  I think index markup should be added for all 
built-in types in the stdtypes page so that links are generated.  
Alternatively, add a sphinx directive to register that a type matches the 
sequence (etc) protocol, so that index entries for all protocol methods can be 
generated automatically.

--

___
Python tracker 
<https://bugs.python.org/issue45762>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10483] http.server - what is executable on Windows

2021-11-10 Thread Éric Araujo

É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.

--

___
Python tracker 
<https://bugs.python.org/issue10483>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-07 Thread Éric Araujo

É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/issue40051>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22708] httplib/http.client in method _tunnel used HTTP/1.0 CONNECT method

2021-11-07 Thread Éric Araujo

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/issue22708>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45729] [doc] "history and license" link has wrong target

2021-11-05 Thread Éric Araujo

É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

___
Python tracker 
<https://bugs.python.org/issue45729>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45729] "history and license" link has wrong target

2021-11-05 Thread Éric Araujo

É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…

--
nosy: +eric.araujo
type:  -> behavior
versions: +Python 3.11, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue45729>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45699] AttributeError: 'list' object has no attribute 'find'

2021-11-05 Thread Éric Araujo

É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 -> 

___
Python tracker 
<https://bugs.python.org/issue45699>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45675] pkgutil.get_data() doesn't add subpackages to parent packages when importing

2021-11-05 Thread Éric Araujo

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/issue45675>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-11-04 Thread Éric Araujo

É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/issue42967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42967] [CVE-2021-23336] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-11-04 Thread Éric Araujo

É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.org/issue42967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43112] SOABI on Linux does not distinguish between GNU libc and musl libc

2021-11-01 Thread Éric Araujo

É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/issue43112>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45625] Add support for top-level await

2021-11-01 Thread Éric Araujo

É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/issue45625>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10483] http.server - what is executable on Windows

2021-10-31 Thread Éric Araujo

É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/issue10483>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45625] Add support for top-level await

2021-10-31 Thread Éric Araujo

É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.

--

___
Python tracker 
<https://bugs.python.org/issue45625>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45625] Add support for top-level await

2021-10-30 Thread Éric Araujo

Éric Araujo  added the comment:

Do you know about using "python -m asyncio" instead of "python"?

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue45625>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45617] sys.stdin does not iterate correctly on '\r' line separator

2021-10-30 Thread Éric Araujo

É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) 
without using that term, not to mean that they behave 100% similarly.

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue45617>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45610] Cookies with longer paths are listed before cookies with shorter paths.

2021-10-30 Thread Éric Araujo

É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 should be followed).

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue45610>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45598] setup.py grep_headers_for() is broken by design

2021-10-30 Thread Éric Araujo

É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/issue45598>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45588] cached_method similar to cached_property to cache with classes

2021-10-30 Thread Éric Araujo

É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 with the references to lru_cache and 
cachedproperty?

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue45588>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16235] Add python-config.sh for use during cross compilation.

2021-10-26 Thread Éric Araujo

Change by Éric Araujo :


--
Removed message: https://bugs.python.org/msg405026

___
Python tracker 
<https://bugs.python.org/issue16235>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11602] python-config code should be in sysconfig

2021-10-23 Thread Éric Araujo

É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

___
Python tracker 
<https://bugs.python.org/issue11602>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-10-22 Thread Éric Araujo

Éric Araujo  added the comment:

Option 3 seems simple and ok to me.

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue40051>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45531] field "mro" behaves strangely in dataclass

2021-10-22 Thread Éric Araujo

É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 tracker 
<https://bugs.python.org/issue45531>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45518] Invalid example for typing

2021-10-22 Thread Éric Araujo

Change by Éric Araujo :


--
resolution:  -> not a bug
status: open -> pending
type: compile error -> behavior

___
Python tracker 
<https://bugs.python.org/issue45518>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45411] Add Mimetypes for Subtitle Files

2021-10-12 Thread Éric Araujo

É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 these additions in point releases.

I don’t have a link to the discussion about that, and looking at 4 or 5 recent 
PRs to mimetype I see that backports haven’t been consistent.  So maybe another 
ticket would be to synchronize the dicts in active branches + record the 
backport policy somewhere (not sure a comment would be enough, easy to miss at 
the top of a long dict).

--
nosy: +eric.araujo
versions:  -Python 3.6, Python 3.7, Python 3.8

___
Python tracker 
<https://bugs.python.org/issue45411>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45302] 10 built-in functions need non-None .__text_signature__

2021-10-02 Thread Éric Araujo

Change by Éric Araujo :


--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue45302>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17005] Add a topological sort algorithm

2021-09-16 Thread Éric Araujo

Change by Éric Araujo :


--
versions: +Python 3.9 -Python 3.8

___
Python tracker 
<https://bugs.python.org/issue17005>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45182] Incorrect use of requires_zlib in test_bdist_rpm

2021-09-13 Thread Éric Araujo

É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/issue45182>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45101] Small inconsistency in usage message between the python and shell script versions of python-config

2021-09-10 Thread Éric Araujo

É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

___
Python tracker 
<https://bugs.python.org/issue45101>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12499] textwrap.wrap: add control for fonts with different character widths

2021-09-03 Thread Éric Araujo

É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/issue12499>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44983] Wrong definition of a starred expression in the Language Reference

2021-08-27 Thread Éric Araujo

Éric Araujo  added the comment:

This should answer questions about the processes: 
https://devguide.python.org/tracker/

--

___
Python tracker 
<https://bugs.python.org/issue44983>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44983] Wrong definition of a starred expression in the Language Reference

2021-08-27 Thread Éric Araujo

É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 ",")* [starred_item]

https://docs.python.org/3/reference/expressions.html#expression-lists

However, in view of the definition of an assignment statement

assignment_stmt ::=  (target_list "=")+ (starred_expression | yield_expression)

https://docs.python.org/3/reference/simple_stmts.html#assignment-statements

I believe the correct definition actually used is

starred_expression ::=  expression | (starred_item ",")+ [starred_item]

(that is, use "+" instead of "*").

Should it be fixed?

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue44983>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44941] Add check_methods function to standard library

2021-08-20 Thread Éric Araujo

É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 
changed to reopen the question!

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue44941>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44862] [docs] make "Deprecated since version {deprecated}, will be removed in version {removed}" translation available

2021-08-14 Thread Éric Araujo

É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), so 
there’s something else going on (even in the current 3.10 docs).

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue44862>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1294959] Add sys.platlibdir and configure --with-platlibdir to use /usr/lib64 on Fedora and SuSE

2021-08-10 Thread Éric Araujo

Éric Araujo  added the comment:

Follow-up: #44860 is removing platlibdir from posix_user scheme

--

___
Python tracker 
<https://bugs.python.org/issue1294959>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44760] Turtle Documentation - Contents Hyperlink conflict

2021-07-31 Thread Éric Araujo

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/issue44760>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33671] Efficient zero-copy for shutil.copy* functions (Linux, OSX and Win)

2021-07-31 Thread Éric Araujo

É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: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue33671>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44701] Create a @deprecated decorator (annotation)

2021-07-28 Thread Éric Araujo

Éric Araujo  added the comment:

You should propose this on python-ideas!

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue44701>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44561] Some expired hyperlinks in Python documentation

2021-07-28 Thread Éric Araujo

É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 
<https://bugs.python.org/issue44561>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44693] Unclear definition of the "__future__" module in Docs

2021-07-23 Thread Éric Araujo

É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 module 
which can be used for introspection (the third purpose noted in the module doc).

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue44693>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44713] subprocess.rst typo ``"shell=True"`` => ``shell=True``

2021-07-22 Thread Éric Araujo

É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 tracker 
<https://bugs.python.org/issue44713>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44561] Some expired hyperlinks in Python documentation

2021-07-18 Thread Éric Araujo

É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/issue44561>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44628] Remove the broken link for issue #445902 in unixcompiler.py (distutils)

2021-07-16 Thread Éric Araujo

É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

___
Python tracker 
<https://bugs.python.org/issue44628>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44624] Script name for venv PowerShell activate

2021-07-16 Thread Éric Araujo

Change by Éric Araujo :


--
components: +Library (Lib) -Installation
nosy: +vinay.sajip

___
Python tracker 
<https://bugs.python.org/issue44624>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44629] Some files from distutils module are importing all exceptions unnecessarily

2021-07-16 Thread Éric Araujo

É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 copied the whole of distutils into their repo to make it 
easier to change things, and there’s a PEP to remove distutils from the 
standard library.  Thanks for checking first!

--
nosy: +eric.araujo
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: enhancement -> 
versions:  -Python 3.10, Python 3.11, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue44629>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44631] Refactoring the repr() of the _Environ class (os module)

2021-07-16 Thread Éric Araujo

É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 using format changes to f-string, and code that works is left alone.  Each 
change merged takes resources to run tests, build packages, update clones; it 
changes the history of the files touched (which is important when investigating 
a bug months or years later); it takes time to review (pre or post-commit); it 
has the opportunity of introducing bugs.  Therefore, in the absence of a bug to 
fix or a new feature that is made easier by prior changes, I think this should 
be closed as not a bug.

--
nosy: +eric.araujo, lukasz.langa
versions:  -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue44631>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44603] REPL: exit when the user types exit instead of asking them to explicitly type exit()

2021-07-13 Thread Éric Araujo

Change by Éric Araujo :


--
components: +Library (Lib) -Demos and Tools
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue44603>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10716] Modernize pydoc to use better HTML and separate CSS

2021-07-12 Thread Éric Araujo

É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 rectangles!), then I think have a discussion on 
python-dev (not to discuss all details in committee, but to validate the 
overall change).

--

___
Python tracker 
<https://bugs.python.org/issue10716>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10716] Modernize pydoc to use better HTML and separate CSS

2021-07-12 Thread Éric Araujo

É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/issue10716>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44539] Imghdr JPG Quantized

2021-07-09 Thread Éric Araujo

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>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44533] Where are the log file(s)

2021-07-09 Thread Éric Araujo

Change by Éric Araujo :


--
resolution: third party -> not a bug
stage:  -> resolved
status: pending -> closed

___
Python tracker 
<https://bugs.python.org/issue44533>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16801] Preserve original representation for integers / floats in docstrings

2021-06-29 Thread Éric Araujo

É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/issue16801>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16842] Allow to override a function signature for pydoc with a docstring

2021-06-29 Thread Éric Araujo

É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/issue16842>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44533] Where are the log file(s)

2021-06-29 Thread Éric Araujo

É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: behavior -> 
versions:  -Python 3.6, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue44533>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34389] CPython may fail to build in the presence of a ~/.pydistutils.cfg

2021-06-22 Thread Éric Araujo

É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/issue34389>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15795] Zipfile.extractall does not preserve file permissions

2021-05-31 Thread Éric Araujo

É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.  That seems correct and nice to me, and 
arguably a bugfix that should be backported, but more active core devs and/or 
zipfile experts should weigh in.

--
nosy: +eric.araujo
versions: +Python 3.10 -Python 3.5

___
Python tracker 
<https://bugs.python.org/issue15795>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36841] Supporting customization of float encoding in JSON

2021-05-10 Thread Éric Araujo

É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/issue36841>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44023] "tarfile" library will lead to "write any content to any file on the host".

2021-05-07 Thread Éric Araujo

É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.  But it seems that you’re talking about an unexpected behaviour 
leading to unwanted operations, so please send more details about the problem 
to the team.  Thank you for your report!

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue44023>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44045] canonicalize "upper-case" -> "uppercase"; "lower-case" -> "lowercase"

2021-05-07 Thread Éric Araujo

É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

___
Python tracker 
<https://bugs.python.org/issue44045>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43992] Unable to get external dependencies for CPython on Ubuntu Linux 20.04.1

2021-05-07 Thread Éric 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

--

___
Python tracker 
<https://bugs.python.org/issue43992>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43992] Unable to get external dependencies for CPython on Ubuntu Linux 20.04.1

2021-05-07 Thread Éric Araujo

É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 sources.list to 
have this work.  An example is here, it may not be up-to-date (refers to ubuntu 
bionic and python3.6) but hopefully you can adapt it: 
https://devguide.python.org/setup/#build-dependencies

I think more explanations should come from ubuntu documentation or forums, not 
Python docs; Python can’t document every facility from every OS.

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue43992>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41282] Deprecate and remove distutils

2021-04-29 Thread Éric Araujo

É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 discussion with interested parties to make sure the 
interface works for them.

--

___
Python tracker 
<https://bugs.python.org/issue41282>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11975] Fix referencing of built-in types (list, int, ...)

2021-04-28 Thread Éric Araujo

É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/issue11975>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17659] no way to determine First weekday (based on locale)

2021-04-27 Thread Éric Araujo

É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.python.org/issue17659>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43914] Highlight invalid ranges in SyntaxErrors

2021-04-23 Thread Éric Araujo

Éric Araujo  added the comment:

What a great, useful change!

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue43914>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43895] Unnecessary Cache of Shared Object Handles

2021-04-23 Thread Éric Araujo

Change by Éric Araujo :


--
nosy: +brett.cannon, eric.snow, ncoghlan

___
Python tracker 
<https://bugs.python.org/issue43895>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43894] IDLE editor file minor refactoring

2021-04-23 Thread Éric Araujo

É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 time that takes away from 
other changes, and can introduce subtle bugs.  Or in short: if it’s not broken, 
don’t fix it!

This is different from other projects, especially those that have a smaller 
codebase, much less history than Python, and can agree on using some automated 
tool for trivial formatting changes.

So if the changes here are not motivated by a bugfix or a new features, I think 
they should not be accepted.

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue43894>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43484] we can create valid datetime objects that become invalid if the timezone is changed

2021-03-19 Thread Éric Araujo

Change by Éric Araujo :


--
nosy: +eric.araujo
versions:  -Python 3.6, Python 3.7

___
Python tracker 
<https://bugs.python.org/issue43484>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33159] Implement PEP 473

2021-03-13 Thread Éric Araujo

É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 created to add 
NameError.name.

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue33159>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43458] Tutorial should mention about variable scope in try/except/finally

2021-03-12 Thread Éric Araujo

É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

___
Python tracker 
<https://bugs.python.org/issue43458>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43075] ReDoS in urllib.request

2021-03-02 Thread Éric Araujo

Change by Éric Araujo :


--
title: ReDoS in request -> ReDoS in urllib.request

___
Python tracker 
<https://bugs.python.org/issue43075>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43301] Update form create for android

2021-02-22 Thread Éric Araujo

Change by Éric Araujo :


Removed file: https://bugs.python.org/file49828/api.paypal.com.pem

___
Python tracker 
<https://bugs.python.org/issue43301>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43301] Update form create for android

2021-02-22 Thread Éric Araujo

É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, dstufft, ezio.melotti, koobs, mrabarnett, r.david.murray, 
terry.reedy
resolution: works for me -> not a bug
stage:  -> resolved
status: open -> closed
type: crash -> 
versions:  -Python 3.10, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue43301>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42861] ipaddress - add ability to get next closest network of any prefix size

2021-02-15 Thread Éric Araujo

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/issue42861>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-02-14 Thread Éric Araujo

É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.org/issue42967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-01-24 Thread Éric Araujo

Éric Araujo  added the comment:

Senthil, what is your opinion here?

--

___
Python tracker 
<https://bugs.python.org/issue42967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-01-23 Thread Éric Araujo

É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.

--

___
Python tracker 
<https://bugs.python.org/issue42967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-01-23 Thread Éric Araujo

É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 I don’t expect a new separator to 
suddenly appear.  IMO the boolean parameter to also recognize ; was better.

> but that discussion probably belongs in the PR.

PR discussions are generally about how to achieve the goal (fix or new feature) 
and quality of implementation, but tickets is where we agree on what the goal 
is and how to fix it (big picture).

--

___
Python tracker 
<https://bugs.python.org/issue42967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42967] [security] urllib.parse.parse_qsl(): Web cache poisoning - `; ` as a query args separator

2021-01-22 Thread Éric Araujo

É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-xfce;package=gtk2-engines-xfce

--
components: +Library (Lib) -C API
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue42967>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39416] Document default numeric string formats

2020-12-15 Thread Éric Araujo

É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


--

___
Python tracker 
<https://bugs.python.org/issue39416>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42571] Make documentation of * in function signatures easier to find

2020-12-14 Thread Éric Araujo

É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 to basic syntax doc, function parameter 
glossary, tutorial).

(As you thought, there are notations in the docs (and even in some docstrings) 
that are documentation conventions but not valid Python, such as "range(start, 
stop[, step]) -> range object")

Even the enty for '* (asterisk)' in the general index 
https://docs.python.org/3/genindex-Symbols.html links to places explaining 
*args, not * alone.

I agree that the glossary entry for parameter is the best place to link to: 
it’s short and complete and can link to language reference for more.

--
title: [docs] add links to Glossary#parameter in libraries -> Make 
documentation of * in function signatures easier to find
versions: +Python 3.10, Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue42571>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42571] [docs] add links to Glossary#parameter in libraries

2020-12-11 Thread Éric Araujo

É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; language reference about 
functions; others?

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue42571>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42456] Logical Error

2020-12-11 Thread Éric Araujo

Change by Éric Araujo :


--
hgrepos:  -394

___
Python tracker 
<https://bugs.python.org/issue42456>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16879] distutils.command.config uses fragile constant temporary file name

2020-11-08 Thread Éric Araujo

Change by Éric Araujo :


--
assignee: eric.araujo -> 
stage:  -> needs patch

___
Python tracker 
<https://bugs.python.org/issue16879>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16238] Automatically remove build directory when build options changed

2020-11-06 Thread Éric Araujo

Change by Éric Araujo :


--
assignee: eric.araujo -> 
components:  -Distutils
versions:  -Python 3.8, Python 3.9

___
Python tracker 
<https://bugs.python.org/issue16238>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42179] Clarify chaining exceptions in tutorial/errors.rst

2020-11-05 Thread Éric Araujo

É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 strange to me:  `raise Exc from exc` or `from None` shows how to 
use the mecanism, whereas the special attributes are about the implementation.  
A tutorial can show how to use language features like for loops or with 
statements, but shouldn’t explain how to implement the protocols, that’s too 
much detail if you’re just starting to learn programming.

--
nosy: +eric.araujo, maxking, rhettinger

___
Python tracker 
<https://bugs.python.org/issue42179>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42205] Add image/webp to list of non-standard mimetypes

2020-11-03 Thread Éric Araujo

Éric Araujo  added the comment:

Hello!  Why open a second ticket?

--
nosy: +eric.araujo

___
Python tracker 
<https://bugs.python.org/issue42205>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42158] http.server doesn't guess n-quads, n-triples, notation3 and TriG MIME types

2020-11-03 Thread Éric Araujo

Éric Araujo  added the comment:

Editing /etc/mime.types is one way of customizing the types returned; another 
one is to make a pull request to add them to the list inside the mimetypes 
module.

--
nosy: +eric.araujo
stage:  -> needs patch
versions:  -Python 3.6, Python 3.7, Python 3.8

___
Python tracker 
<https://bugs.python.org/issue42158>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   3   4   5   6   7   8   9   10   >