[issue2103] __x should be _x in documentation of property()

2008-02-13 Thread bob gailer
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

[issue2103] __x should be _x in documentation of property()

2008-02-13 Thread bob gailer
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

[issue5145] struct.calcsize('cd') returns 16 instead of 9

2009-02-03 Thread bob gailer
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

[issue5145] struct.calcsize('cd') returns 16 instead of 9

2009-02-03 Thread bob gailer
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

[issue1376292] Write user's version of RefGuide

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue1376292] Write user's version of

2008-04-24 Thread bob gailer
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

[issue17546] Document the circumstances where the locals() dict gets updated

2013-03-27 Thread bob gailer
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

[issue5296] Use of term sequence in Reference 6.3 Assignment Statements

2009-02-17 Thread bob gailer
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

[issue21279] str.translate documentation incomplete

2014-04-16 Thread bob gailer
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

[issue21352] improve indexing

2014-04-25 Thread bob gailer
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

[issue34364] problem with traceback for syntax error in f-string

2018-08-08 Thread bob gailer
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

[issue37430] range is not a built-in function

2019-06-27 Thread bob gailer
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

[issue37430] range is not a built-in function

2019-06-27 Thread bob gailer
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