Andrés Delfino added the comment:
Sorry, INADA, you are right.
--
___
Python tracker
<https://bugs.python.org/issue33869>
___
___
Python-bugs-list mailin
Andrés Delfino added the comment:
Yeap, Ammar just told me the same suggestion on GitHub :)
PR will be a little more ambitious now, as I'm replacing all he/him/she/her
mentions.
--
___
Python tracker
<https://bugs.python.org/issue33
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7378
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33892>
___
___
Py
New submission from Andrés Delfino :
PR adds some "or she/her".
--
assignee: docs@python
components: Documentation
messages: 319840
nosy: adelfino, docs@python
priority: normal
severity: normal
status: open
title: doc Add a couple of "or she/her"
type: enhancement
Andrés Delfino added the comment:
I have updated the PR with a FAQ that mentions all implementations mentioned
here, except Cython and Stackless Python.
I added RapydScript as it's used by VPython for Web visualization, in the
category of client-side scripting pythonesque languages
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7377
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33889>
___
___
Py
New submission from Andrés Delfino :
If having a link to that specific console is not deemed appropriate, perhaps we
can point to PythonAnywhere.
IMHO, it's good to let users know that they can try Python right away without
needing to install.
--
assignee: docs@python
components
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7375
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33888>
___
___
Py
New submission from Andrés Delfino :
The FAQ talks about list and dictionary implementation details using "Python".
I believe this should be changed to CPython.
--
assignee: docs@python
components: Documentation
messages: 319825
nosy: adelfino, docs@python
priority: norma
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7374
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33887>
___
___
Py
New submission from Andrés Delfino :
IHMO, having all questions put together is really useful.
--
assignee: docs@python
components: Documentation
messages: 319824
nosy: adelfino, docs@python
priority: normal
severity: normal
status: open
title: doc Add TOC in Design and History FAQ
type
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7373
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33885>
___
___
Py
New submission from Andrés Delfino :
The reporthook of urllib.request.urlretrieve is treated as a function hook,
while the right term is "callable".
PR fixes this.
--
assignee: docs@python
components: Documentation
messages: 319822
nosy: adelfino, docs@python
priority: norma
Andrés Delfino added the comment:
IMHO, if we deem it useful for users not to expect the time complexity of a
linked list for list elements access to the extent of adding a comment in the
glossary, there's no reason it isn't useful to someone who is reading the
actual list definition
Andrés Delfino added the comment:
INADA, I believe that piece of information is on the Glossary just to make the
difference with a "linked list", but in that case, it should be in the list
definition too, as it's fair to think people can learn what a list is by
reading its defini
Andrés Delfino added the comment:
If O(1) time complexity for element access is not a requirement (which it seems
it's not), I agree that this PR as it is should be closed, and the Glossary
entry should have this detail removed.
In that case, can I edit the PR or should I open a new one
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7368
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33883>
___
___
Py
New submission from Andrés Delfino :
As far as I know, mypy and pytype are more advanced that any of the other tools
mentioned in the FAQ for static analysis, however we are not touching them.
PR adds mentions.
--
assignee: docs@python
components: Documentation
messages: 319798
nosy
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7367
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33882>
___
___
Py
New submission from Andrés Delfino :
IMHO, it's a good opportunity to advertise the convenience of breakpoint().
PR adds a mention.
--
assignee: docs@python
components: Documentation
messages: 319796
nosy: adelfino, docs@python
priority: normal
severity: normal
status: open
title: doc
Andrés Delfino added the comment:
What do you think about also mentioning Skulpt and Brython? On one hand, they
-like MicroPython/CirtcuitPython- cover a focus no other implementation does
(and a special one: client side Web scripting); but on the other hand, we
shouldn't make space
Andrés Delfino added the comment:
Sorry, I didn't knew that :) I'll update the PR adding an entry in the FAQ.
With "CPython" in "pythonesque implementation like MicroPython, CircuitPython,
CPython" did you mean Cython?
--
__
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7352
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33877>
___
___
Py
New submission from Andrés Delfino :
Reference 9.1. says: "Under Unix, a complete program can be passed to the
interpreter in three forms...".
This also applies to Windows. PR fixes this.
--
assignee: docs@python
components: Documentation
messages: 319703
nosy: adelfino, d
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7349
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33876>
___
___
Py
New submission from Andrés Delfino :
IMHO, mentioning MicroPython is a plus because it's a mature project with a
focus not covered by any of the other mentioned implementations.
PR adds the mention.
--
assignee: docs@python
components: Documentation
messages: 319700
nosy: adelfino
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7341
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33872>
___
___
Py
New submission from Andrés Delfino :
Glossary talks about list access complexity, but the actual list definition
doesn't. I think glossary entries should have more information than actual
definitions.
PR adds list access complexity to list definition.
--
assignee: docs@python
Andrés Delfino added the comment:
I thought since dictionary and list is there, tuple/set/frozenset should be,
too. But I think you are right.
I'd keep the link to the list definition, though. I didn't add a link to the
dictionary definition as "dictionary" seems to be a very
Andrés Delfino added the comment:
Sorry, for some reason the PR doesn't show the intended changes. I'm working on
fixing it.
--
___
Python tracker
<https://bugs.python.org/issue33
Change by Andrés Delfino :
--
pull_requests: +7331
___
Python tracker
<https://bugs.python.org/issue33852>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andrés Delfino added the comment:
For context, I opened this issue after Raymond's reasoning in #33825 (which I
agreed with).
--
___
Python tracker
<https://bugs.python.org/issue33
Andrés Delfino added the comment:
Terry:
I have updated the PR with the original intention. You'll see it is much
simpler.
Pablo:
Don't worry! I take it as a mistake of my own.
Fred:
I believe synonyms aren't the best things to have, but, if used consistently,
they don't pose a real problem
Andrés Delfino added the comment:
I'll update the PR so that it shows what the original intention was.
--
___
Python tracker
<https://bugs.python.org/issue33
Andrés Delfino added the comment:
The original intention of the PR, as shown in this issue, was to add "magic
method" in the Glossary as a synonym for "special method", and add "magic
method" in Data model (so that people reading Data Model would understand what
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7322
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33869>
___
___
Py
New submission from Andrés Delfino :
PR adds entries for these three terms and a link to the list definition.
--
assignee: docs@python
components: Documentation
messages: 319619
nosy: adelfino, docs@python
priority: normal
severity: normal
status: open
title: doc Add set, frozen set
Andrés Delfino added the comment:
Something I forgot: we shouldn't write documentation that expects the user
*not* to know that dictionaries are ordered now. It's described in What's New
and in Built-in Types. That's why "ordered dictionaries" seems so w
Andrés Delfino added the comment:
The problem here is that while the historical issue is real, new programmers
will come and they won't see a "non-ordered" dict, and having this
"dictionaries" vs "ordered dictionaries" that aren't actual OrderedDict object
Andrés Delfino added the comment:
To be a little more clear about this: I don't think one implements a dict-like
object by reading the Glossary reference. At least, we shouldn't expect nor
encourage this.
--
___
Python tracker
<ht
Andrés Delfino added the comment:
Perhaps we can continue the discussion on #33863 as there are more argumnets
there, from all points of view, and when a decision is taken there, we can
apply it here too.
--
___
Python tracker
<ht
Andrés Delfino added the comment:
IMHO, the Glossary is just a quick & dirty reference. I wouldn't search for
hard definitions in there. See Built-in Types: "dictionary" is used
specifically for dict.
I believe we should make clear use of definitions so users known exactly wha
Andrés Delfino added the comment:
I believe the discussion in #33863 is relevant. Depending on what the API the
user can rely on, perhaps "an ordered mapping" fits here too.
--
___
Python tracker
<https://bugs.python.o
Andrés Delfino added the comment:
What do you mean by "a generic dictionary"? If it's a dict-like object, then it
*must* be ordered starting with 3.7.
I believe we should make it clear that a dictionary is always a dict object.
If you refer to a mapping with no specific API, then &
Andrés Delfino added the comment:
What about "a dictionary-like object" for master/3.7, and "a dictionary-like
object with insertion order preservation" for 3.6 (or something like that).
I'd avoid "ordered dictionary" altogether as that's the
Andrés Delfino added the comment:
What about "a dictionary-like object"?
--
___
Python tracker
<https://bugs.python.org/issue33863>
___
___
Python-b
Andrés Delfino added the comment:
It doesn't seem right to me to change a term's meaning. Plus, saying "ordered
dictionary" makes me think a "dictionary" isn't ordered.
--
___
Python tracker
<https://bug
Andrés Delfino added the comment:
I'm not sure "ordered dictionary" is the right term. To me, "ordered
dictionary" and "OrderedDict" are synonyms, just like "dictionary" and "dict"
are. Documentation follows this path in several places.
You
Andrés Delfino added the comment:
I can't really say if it the return of __members__ is an implementation detail
as there's no mention of that in the doc, but from reading the doc I think it's
reasonable to think this is allowed:
import enum
class Colors(enum.Enum):
RED = enum.auto
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7309
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33862>
___
___
Py
New submission from Andrés Delfino :
Documentation says __members__ attribute returns an "ordered dictionary" but it
returns a mappingproxy instead.
PR fixes this.
--
assignee: docs@python
components: Documentation
messages: 319532
nosy: adelfino, docs@python
priority: norma
Andrés Delfino added the comment:
Please note that DictReader already mentions "OrderedDict" as a type it returns
now. I do see the issue you raise though and I'm not proposing to guarantee
that type for next versions.
I see the benefits of using weak names, but "dictionary
New submission from Andrés Delfino :
IMHO, using "ordered dictionaries" references is somewhat confusing now that
dictionaries preserve insertion order.
PR changes this references to "OrderedDict object".
--
assignee: docs@python
components: Documentation
m
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7302
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33854>
___
___
Py
New submission from Andrés Delfino :
Add PEP 461 title to Built-in Types seealso.
--
assignee: docs@python
components: Documentation
messages: 319493
nosy: adelfino, docs@python
priority: normal
severity: normal
status: open
title: doc Add PEP title in seealso of Built-in Types
type
Andrés Delfino added the comment:
Yeah, I think you are right. The motivation for this PR was to not have two
PEPs references in the same line, because, IMHO, it looks somewhat weird. Now,
they look like:
"See also: PEP 3115 - Metaclasses in Python 3 PEP 3129 - Class Decorators&qu
Andrés Delfino added the comment:
Thanks, Serhiy! Didn't know I should trace the LaTeX version.
Guido, I'm adding you because it seems you authored or at least agreed on the
current wording. Do you believe this proposal for improvement makes sense?
--
nosy: +gvanrossum
Change by Andrés Delfino :
--
title: doc Remove parentheses from -> doc Remove parentheses from sequence
subscription description
___
Python tracker
<https://bugs.python.org/issu
New submission from Andrés Delfino :
I think the idea of having "list" inside parentheses is to document that in
case of sequences, only "one-expression" expression lists are legal.
That being said, IMHO, explaining that in actual prose would be better, but
removing the
Andrés Delfino added the comment:
I think I wasn't clear: I see no reason to not merge this right now.
--
___
Python tracker
<https://bugs.python.org/issue33
Andrés Delfino added the comment:
Not really. I name all my first commits "Initial commit" as you gals/guys
rename it anyways, and, also, it's usual to be asked for changes :)
I might change my mind after my initial commit, but I only make pull requests
when the first commit _se
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7284
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33847>
___
___
Py
New submission from Andrés Delfino :
Currently, the index only refers to decorators for the @ symbol. PR adds entry
for the matrix multiplication operator.
--
assignee: docs@python
components: Documentation
messages: 319398
nosy: adelfino, docs@python
priority: normal
severity: normal
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7282
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33845>
___
___
Py
New submission from Andrés Delfino :
PR makes the necessary changes to make Doc\make.bat the same as the master
version, except some small differences.
This should help backports.
--
components: Windows
messages: 319392
nosy: adelfino, paul.moore, steve.dower, tim.golden, zach.ware
Andrés Delfino added the comment:
Thanks, Steve!
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7249
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33832>
___
___
Py
New submission from Andrés Delfino :
PR adds "magic method" to the glossary, and adds a mention in Data Model 3.3.
Special method names.
--
assignee: docs@python
components: Documentation
messages: 319300
nosy: adelfino, docs@python
priority: normal
severity: normal
status:
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7247
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33831>
___
___
Py
New submission from Andrés Delfino :
The start command understands the first quoted string as the window title, so
nothing is being executed right now.
PR fixes this.
--
components: Windows
messages: 319298
nosy: adelfino, paul.moore, steve.dower, tim.golden, zach.ware
priority
Andrés Delfino added the comment:
ok :)
--
resolution: -> not a bug
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Andrés Delfino :
PR makes all documentation use the same term.
--
assignee: docs@python
components: Documentation
messages: 319263
nosy: adelfino, docs@python
priority: normal
severity: normal
status: open
title: Change mentions of "magic" attributes t
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7231
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33825>
___
___
Py
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7208
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33819>
___
___
Py
New submission from Andrés Delfino :
IMHO, we should replace the "ordered dictionary" with "ordered mapping" now
that regular dictionaries are ordered.
I'm proposing "ordered mapping" instead of "dictionary" because there's no
actual dictionary beh
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7197
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33816>
___
___
Py
Andrés Delfino added the comment:
To what section are you refering by "the entire section"?
On a side note: I'll make a PR to remove the example. IMHO, there should be an
example to give some idea of what a metaclass can do, but the current example
is no longer useful and it's
Andrés Delfino added the comment:
I'm talking about the example in Data Model, 3.3.3.6.
--
___
Python tracker
<https://bugs.python.org/issue33816>
___
___
Pytho
New submission from Andrés Delfino :
Since Python 3.6, when PEP 520 was accepted, class attribute definition order
is preserved. That alone is sufficient to replace the example, but then 3.7
came with guaranteed dictionary insertion order. The metaclass example uses
OrderedDict, what may
Change by Andrés Delfino :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: -> enhancement
___
Python tracker
<https://bugs.python
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7138
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33804>
___
___
Py
New submission from Andrés Delfino :
Documentation of io.TextIOBase.read makes it look like the size parameter is
required. Attached PR fixes this.
--
assignee: docs@python
components: Documentation
messages: 319003
nosy: adelfino, docs@python
priority: normal
severity: normal
status
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7120
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33801>
___
___
Py
New submission from Andrés Delfino :
plistlib documentation says:
"The exact structure of the plist can be recovered by using
collections.OrderedDict (although the order of keys shouldn't be important in
plist files)"
This is no longer necessary, since dict objects preserve inser
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7119
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33800>
___
___
Py
New submission from Andrés Delfino :
Default argument of parameter dict_type of ConfigParser/RawConfigParser is
shown as "collections.OrderedDict", while it recently migrated to "dict".
PR fixes this, documents the change to dict, and fixes a versionchanged changed
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7117
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33799>
___
___
Py
New submission from Andrés Delfino :
Both Design and Programming sections have comments related to the non-ordered
dict implementation. PR removes those comments.
--
assignee: docs@python
components: Documentation
messages: 318964
nosy: adelfino, docs@python
priority: normal
severity
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +7115
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33798>
___
___
Py
New submission from Andrés Delfino :
The csv module says "Python’s dict objects are not ordered". PR fixes this ,
leaving a comment on the rationale.
--
assignee: docs@python
components: Documentation
messages: 318961
nosy: adelfino, docs@python
priority: normal
severity: nor
Change by Andrés Delfino :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +6922
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33726>
___
___
Py
New submission from Andrés Delfino :
There are a couple of PEP references with no description in Simple/Compound
Statements.
Attached PR fixes this.
--
assignee: docs@python
components: Documentation
messages: 318359
nosy: adelfino, docs@python
priority: normal
severity: normal
status
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +6886
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33702>
___
___
Py
New submission from Andrés Delfino :
There are some missing links in production lists (try, with, from __future__
import), and function and coroutines definitions production lists have too long
lines.
PR fixes this and does some polish on whitespace.
--
assignee: docs@python
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +6881
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33699>
___
___
Py
New submission from Andrés Delfino :
This behavior has not changed in 11 years so I think it's safe to describe the
"else" clause along the rest of the "try" clause.
Attached PR fixes this.
--
assignee: docs@python
components: Documentation
messages: 318205
nosy: a
Change by Andrés Delfino :
--
keywords: +patch
pull_requests: +6868
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33696>
___
___
Py
New submission from Andrés Delfino :
On bug 33673, I fixed python-docs-theme only getting installed if SPHINXBUILD
was not defined and Sphinx was not installed, which was an improvement, but not
the correct fix for python-docs-theme installation.
Now, python-docs-theme is getting installed
Change by Andrés Delfino :
--
pull_requests: +6836
stage: backport needed -> patch review
___
Python tracker
<https://bugs.python.org/issue33670>
___
___
Py
101 - 200 of 289 matches
Mail list logo