bob gailer added the comment:
Thanks for explaining. Indeed range appears in __builtins__. It is a surprise
to type range and get in response. sum otoh gives . The distinction between function, type and class seems muddy.
When I enter "range" in the index box in the windows doc
New submission from bob gailer :
In section 8.3 The for statement there is a reference to range as a built-in
function. That was true in python 2. Now range is a built-in type.
--
assignee: docs@python
components: Documentation
messages: 346745
nosy: bgailer, docs@python
priority
New submission from bob gailer :
Inconsistent tracebacks. Note that the traceback for bug.py does not
reference the
module file and line number.
# bug.py
def f():
f'''
{d e}'''
a=b
import bug
Traceback (most recent call last):
File "", line 1
(d e)
^
S
New submission from bob gailer:
Inconsistencies / confusion with documentation Index Tab. Example (line numbers
added for comments that follow):
1 max
2 built-in function
3 max (datetime.date attribute)
4 (datetime.datetime attribute)
5 (datetime.time attribute)
6 max() built
New submission from bob gailer:
Documentation for str.translate only mentions a dictionary for the translation
table. Actually any iterable can be used, as long as its elements are integer,
None or str.
Recommend wording:
str.translate(translation_table)
Return a copy of the s where all
bob gailer added the comment:
On 3/27/2013 9:48 AM, anatoly techtonik wrote:
anatoly techtonik added the comment:
Example:
l = locals()
z = dict(a=5, b=3)
lc = dict(l)
zc = dict(z)
print(lc == l)
print(zc == z)
Gives:
False
True
Expected
New submission from bob gailer bgai...@gmail.com:
Currently reads, in part, If the target list is a comma-separated list
of targets: The object must be a sequence ...
Change a sequence to an iterable.
Also consider removing references to versions earlier than 1.5.
--
assignee
bob gailer bgai...@gmail.com added the comment:
Someone pointed out that one must consider alignment. I had overlooked
that. It makes sense that a d is double-word aligned.
Perhaps the documentation should mention alignment.
___
Python tracker rep
New submission from bob gailer bgai...@gmail.com:
struct.calcsize('cd') returns 16 instead of 9
struct.calcsize('dc') returns 9 as expected
--
components: Extension Modules
messages: 81085
nosy: bgailer
severity: normal
status: open
title: struct.calcsize('cd') returns 16 instead of 9
bob gailer [EMAIL PROTECTED] added the comment:
I find a Reference Manual and a Library Reference. I presume you are
referring to the Reference Manual. True?
I might be interested in helping create the shorter friendlier guide. I
suggest we create some guidelines or specifications
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC.
Added file
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC.
Added file
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC.
Added file
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC.
Added file
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC.
Added file
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC.
Added file
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC.
Added file
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC.
Added file
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC.
Added file
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC.
Added file
bob gailer [EMAIL PROTECTED] added the comment:
My new email address is bgailer at gmail dot com (not google dot com).
Please update your address book, and change the above into the form
[EMAIL PROTECTED] The old address will expire at the end of 2008.
Bob Gailer in Chapel Hill NC.
Added file
New submission from bob gailer:
Library Reference 2.1 under property():
class C(object):
def __init__(self): self.__x = None
__x should be _x
--
components: Documentation
messages: 62368
nosy: bgailer
severity: normal
status: open
title: __x should be _x in documentation
bob gailer added the comment:
I tried to search for a prior report with no success. How should I have
done tha
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2103
__
___
Python
24 matches
Mail list logo