Mitchell Model added the comment:
On Aug 5, 2010, at 3:48 PM, Terry J. Reedy wrote:
>
> Terry J. Reedy added the comment:
>
> Can you suggest a specific link and a specific location where to add it?
I would add a sentence to the first paragraph of the readline doc:
New submission from Mitchell Model :
I can't find a reference to footnote [1] on page "6. Simple Statements" in
Language Reference. Either the footnote should be removed or a [1] link to it
should appear on the page.
--
assignee: docs@python
components: Documentation
m
New submission from Mitchell Model :
plistlib rejects control characters found in XML plists that Apple's 'plutil
lint' accepts. I have attached my Terminal preferences as an example. (plistlib
accepts the contents of the default Terminal preferences file)
--
assignee:
Mitchell Model added the comment:
I can see where that does make it tricky. (I also tried reading the plist after
opening the file as binary, but no luck.) The problem here, of course, is that
the only reason for the existence of this library is to read Apple's plist
files, howeve
Mitchell Model added the comment:
Thanks for letting me know (and with a personalized message, yet!). I wasn't
paying attention -- i verified that the problem exists in 2.7 and 3.1 and I
just dragged 3.1 down to 2.6. Although I've been working furiously in Python
for the past six
New submission from Mitchell Model <[EMAIL PROTECTED]>:
I installed 3.0b3 using the Windows MSI installer on two machines, one
running 32-bit Windows XP Professional on a 64-bit AMD processor with
Python 2.5 already installed, and another a Parallels Desktop on an
Intel MacBook running W
New submission from Mitchell Model <[EMAIL PROTECTED]>:
IDLE fails to start on my MacBook [OS 10.5, v2.6b3 and v3.0b3, built
from source]. At the call to delete in the backtrace below index1 is 1
and index2 is 'end'.
python2.6 lib/python2.6/idlelib/idle.py
Traceback (most
Mitchell Model <[EMAIL PROTECTED]> added the comment:
Theis the first time I've submitted bug reports to Python.org's
development efforts, though I've been using Python for many years. I
don't know what the procedures are for followup to emails like you
sent me, and
Mitchell Model <[EMAIL PROTECTED]> added the comment:
Compiling with configure --enable-framework, from updated SVN sources
today plus the change suggested in issue 3628, IDLE works with both
2.6rc1 and 3.0b3. There is still no options menu, but there is now a
Preferences item on the IDL
New submission from Mitchell Model <[EMAIL PROTECTED]>:
The text of the buttons on the bottom of the Mac IDLE Preferences pane
is cut off in 2.6rc1 and 3.0b3 (framework builds). This was not true in
2.5.1.
--
messages: 73309
nosy: MLModel
severity: normal
status: open
title:
New submission from Mitchell Model <[EMAIL PROTECTED]>:
The text of the buttons on the bottom of the Mac IDLE Preferences pane
is cut off in 2.6rc1 and 3.0b3 (framework builds). This was not true in
2.5.1.
--
components: IDLE
messages: 73310
nosy: MLModel
severity: normal
status
Mitchell Model added the comment:
Still true in 3.1
--
nosy: +MLModel
versions: +Python 3.1 -Python 3.0
___
Python tracker
<http://bugs.python.org/issue4
New submission from Mitchell Model :
I created a profile file, started up python3 -m pstats myfilename, did strip,
then "stats 10" and got:
stats 10
Mon Jan 25 17:58:39 2010cd.profile
17529566 function calls (17528644 primitive calls) in 88.626 CPU
seconds
Trace
New submission from Mitchell Model :
I am reluctant to post this because (a) I might have made some dumb mistake in
my code, simple as it is, and (b) the problem might be well-known or even
hopeless because the cgi module may not be WSGI compliant, but if this isn't
going to be fixed th
New submission from Mitchell Model :
Strangely, the extensive documentation of the property function in the
"Built-in Functions" of the documentation has no example of the use of a
property. Readers unfamiliar with properties should be told that obj.x invokes
the getter, obj.x
New submission from Mitchell Model :
The documentation of the readline module refers to readline initialization
files, but does not give any information about their format or the available
commands. I realize that this is a standard part of environments that support
readline, not anything
New submission from Mitchell Model :
Requesting a function to be added to the readline module that produces a
dictionary of the current keystroke bindings Also, one to write it to a file in
readline init file format. This would be a big help for people interested in
customizing the behavior
Changes by Mitchell Model :
--
title: Mac, 3.0 framework install error with fink cp -> libtk
___
Python tracker
<http://bugs.python.org/issue3433>
___
___
Py
New submission from Mitchell Model :
In function detect_tkinter_darwin of setup.py framework_dirs should be
the reverse of what it is: first the user's library should be searched,
then /Library, and finally /System/Library. If Tk 8.5 is installed in
/Library or ~/Library make will othe
New submission from Mitchell Model :
In the Numeric Types documentation for 2.6, 3.0, and 3.1 trunc is
documented as a built-in, like round, but while there is a trunc in math
there is no built-in trunc. Read some of the debate on trunc from a year
ago convinced me that this discrepancy is a
New submission from Mitchell Model :
Under Built-in Types in the Library documentation the section on "Sequence
Types" begins with the paragraph:
There are five sequence types: strings, byte sequences, byte arrays,
lists, tuples, and range objects. (For other containers see the buil
New submission from Mitchell Model :
A quibble about the documentation of sets in the library documentation:
the union and intersection operators are shown with ellipsis, as is the
difference operator. However, they inaccurately refer to "both sets" in
their documentation. They sh
New submission from Mitchell Model :
Early in the datamodel document in the Reference documentation is the
statement:
There is currently a single intrinsic mutable sequence type:
This statement is followed by the documentation of Lists and Byte Arrays.
The statement should read "
New submission from Mitchell Model :
The first sentence under "Sequence Types" in the Library stdtypes document
is:
There are five sequence types: strings, byte sequences, byte arrays,
lists, tuples, and range objects
However, subsequent discussion, as well as reality, use the t
New submission from Mitchell Model :
Sorry I didn't notice all the problems I've reported today about this
paragraph at one time so I could have submitted only one report. Anyway,
here's another problem with the first sentence of the Sequence Types
section of the library st
Mitchell Model added the comment:
>Benjamin Peterson added the comment:
>
>Fixed in r68707.
Sorry if I missed that. I checked some of the documentation problems I
reported today against an updated subversion copy of 3.0 and 3.1, but I didn't
check all. Got impatient. I'
New submission from Mitchell Model :
The datastructures section of the tutorial states with respect to
"sequence unpacking" that "there is a small bit of asymmetry here: packing
multiple values always creates a tuple, and unpacking works for any
sequence". This is too gene
Mitchell Model added the comment:
I've read those paragraphs many times. Oddly enough when you asked me
for a rewording and I went back and read them again I found a very
different interpretation than all the other times. I've always thought
of unpacking as being about the variab
New submission from Mitchell Model :
Documentation of the mode parameter of the built-in function open is
insufficient with respect to what values are acceptable.
(1) Right after the mode table, it states "For binary random access, the
mode 'w+b' opens and truncates the file to
Mitchell Model added the comment:
In point (2) I should have written "a plain 'b' or 't'" and "value" not
"valuable". Neither 't' nor 'b' can appear without a r/w/a.
___
Mitchell Model added the comment:
>David W. Lambert added the comment:
>
>I disagree. You propose to examine the trees but ignore the forest.
>The perspective programmer needs to understand what is a file.
>
Could you be more specific about what parts of my comments you
dis
New submission from Mitchell Model :
The glossary entry for "sequence" mentions the type "unicode", but that's
gone.
--
assignee: georg.brandl
components: Documentation
messages: 80943
nosy: MLModel, georg.brandl
severity: normal
status: open
title: Obsolete
New submission from Mitchell Model :
When setting the font in IDLE's Preferences dialog on OSX, having
started IDLE from the command line, the font is changed and the
following is printed:
Exception in Tkinter callback
Traceback (most recent call last):
File
"/Library/
New submission from Mitchell Model :
The main thing the patch does is:
modify the subprocess restart procedure so that it reloads
whatever file, if any, was loaded when IDLE first started and looked for
IDLESTARTUP then PYTHONSTARTUP environment variables.
In addition:
a -q
New submission from Mitchell Model :
The main thing the patch does is:
modify the subprocess restart procedure so that it reloads
whatever file, if any, was loaded when IDLE first started and looked for
IDLESTARTUP then PYTHONSTARTUP environment variables.
In addition:
a -q
Mitchell Model added the comment:
At 10:56 PM + 02/12/09, Ned Deily wrote:
>Ned Deily added the comment:
>
>FWIW, I am not able to reproduce this using a release3.0 IDLE (so with
>today's patches) built with the default Apple-supplied Tcl/Tk in 10.5.
>Are you using a
Mitchell Model added the comment:
OK, so I built 3.1 on a clean (G4) system instead of my highly
tangled Intel and didn't get the seg fault. I guess the issue isn't
real.
___
Python tracker
<http://bugs.python.
New submission from Mitchell Model :
After checking out 3.0 and 3.1 and building them on a Mac (Leopard,
Intel) when I subsequently try to do "svn update" I get the error:
svn: Directory 'Mac/PythonLauncher/Python Launcher.app/.svn' containing
working copy admin area is
New submission from Mitchell Model :
Lib/test/exception_hierarchy.txt shows VMSError but it is not mentioned in
Doc/library/exceptions.rst
--
assignee: georg.brandl
components: Documentation
messages: 82137
nosy: MLModel, georg.brandl
severity: normal
status: open
title: VMSError not
Mitchell Model added the comment:
>Ned Deily added the comment:
>
>There are various steps in the Mac build process where the files are
>copied from the build source to the build destination and then .svn
>directories (among other things) are removed. Perhaps you tried buil
New submission from Mitchell Model :
The following behavior should be documented but it is not:
If the user has a .Idle.py file IDLE will run it when it starts up. This
is independent of running IDLESTARTUP or PYTHONSTARTUP when the -s
switch is given. It is run by Tk.readprofile as called
Mitchell Model added the comment:
>Martin v. Löwis added the comment:
>
>How precisely did you build? Can you check whether any build step
>removed PythonLauncher, then recreated it?
in the svn directory for, say, py3k
% svn update
% make clean
% ./configure --enable-frameworks
%
Mitchell Model added the comment:
Sorry -- msg 82178 refers to "my previous message" but I sent them out of
order. The "previous message" was 82190, just below 82178.
___
Python tracker
<http://bu
New submission from Mitchell Model :
The Library Exceptions documentation describes RuntimeException as "mostly
a relic from a previous version of the interpreter; it is not used very
much any more." Yet, the Reference in describing the raise statement uses
RuntimeException as
Mitchell Model added the comment:
Ping. I just noticed that this is still unresolved in the Python 3.3 docs. This
should be closed, with or without my suggested change.
--
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issue8
Mitchell Model added the comment:
I still think the Exception class hierarchy should be described in the sqlite3
module documentation. Someone should decide one way or another and close this
issue.
--
___
Python tracker
<http://bugs.python.
New submission from Mitchell Model:
[Sorry if ctypes is wrong component -- don't know which to use.]
Given an invalid type, int()'s TypeError message includes the name of the
invalid type, but float()'s doesn't. (Nor does complex()'s.) All three should
give analogou
New submission from Mitchell Model:
[ctypes correct component for this?]
The TypeError messages given for incompatible types in comparison operators
differ from incompatible types in arithmetic operators. The arithmetic operator
error messages show the names of the types in single quotes
New submission from Mitchell Model:
I tried to build the docs for v3.4.0b1 following the instructions in the
Doc/README.txt. My default python is v3.3. I got the following error message:
"Error: Sphinx needs to be executed with Python 2.4 or newer (not 3.0 though)."
I wondered what
New submission from Mitchell Model:
An index entry should be added for __main__ as it appears in the documentation
of runpy (30.5 in 3.3, 31.5 in 3.4).
--
assignee: docs@python
components: Documentation
messages: 207030
nosy: MLModel, docs@python
priority: normal
severity: normal
Mitchell Model added the comment:
Patch looks good to me. I like the choice to drop the parens. This is my first
time reviewing a change; did I go through the right mechanics? I clicked Review
on the issue's patch, looked at the diff, and a published a message similar to
this one.
New submission from Mitchell Model:
The documentation of itertools.accumulate (10.1) starts out with 2 misleading
sentences: "Make an iterator that returns accumulated sums. Elements may be any
addable type..." It then goes on to show examples of using the func parameter
added in 3.
New submission from Mitchell Model :
I can't quite sort this out, because it's difficult to see what is
intended. The documentation of xml.etree.ElementTree (19.11 in the
Library doc) uses terms like "iterator", "tree iterator", "iterable",
"list&quo
New submission from Mitchell Model :
At the end of the introduction page of the library documentation there
is a strange suggestion to begin with "Built-in Objects" as a starting
point. The "Built-in Objects" page consists of two paragraphs that will
surely mystify people ne
New submission from Mitchell Model :
Some index entries appear in black. I think this happens only with
top-level entries. I can't find any pattern to which ones are in black,
so it doesn't look like black has any actual significance. The C general
index page is rich wit
New submission from Mitchell Model :
The documentation of ElementTree mentions "path" in describing the
arguments to certain methods. However, "path" is never defined. I
realize that a "path" is (at least a partial implementation of) an
XPath, but there's noth
New submission from Mitchell Model :
Documentation of ElementTree.Element.getiterator implies element will
always be included, but it is only included if it matches. (It says
"creates a tree iterator with the current element as the root" and also
says, ambiguously, "iterates ov
Mitchell Model added the comment:
doh. sorry. I was in a reading mode, not a "using" mode, and wasn't
thinking of the entries as links, though of course I use them that way
all the time. The pages just seemed oddly sprinkled with black items.
All I said is that I couldn
New submission from Mitchell Model :
The documentation of re.sub states:
"The pattern may be a string or an RE object; if you need to specify
regular expression flags, you must use a RE object, or use embedded
modifiers in a pattern; for example, sub("(?i)b+", "x",
New submission from Mitchell Model :
There should be a standard URL on the web site to reach the
documentation of the current stable release of Python 3.
http://docs.python.org leads to the documentation for Python 2.
I can get to Python 3.1 documentation, but I have to specify 3.1 in the
URL
New submission from Mitchell Model :
The library documentation page for pdb shows running pdb as a script
using the command
python -m pdb
Shouldn't that be
python3 -m pdb
?
--
assignee: georg.brandl
components: Documentation
messages: 92515
nosy: MLModel, georg.b
New submission from Mitchell Model :
The file cgi.py in the lib directory is an executable beginning with the
line:
#! /usr/local/bin/python
Shouldn't that be python3?
--
components: Library (Lib)
messages: 92517
nosy: MLModel
severity: normal
status: open
title: cgi.py runs p
New submission from Mitchell Model :
Some of the executables in lib begin with the line:
#! /usr/bin/env python
Shouldn't that be python3?
--
components: Library (Lib)
messages: 92518
nosy: MLModel
severity: normal
status: open
title: executables in lib use /usr/bin/env python
New submission from Mitchell Model :
Typing just
alias
in pdb doesn't work. Because dict.keys() now returns a dict_keys object
instead of a list the line
keys.sort()
in Pdb.do_alias breaks because dict_keys doesn't have a sort method.
--
components: Library (Lib
New submission from Mitchell Model :
The help example in the middle of the optparse library documentation is
broken. The code reads:
parser = OptionParser()
parser.add_option("-h", "--help", action="help"),
parser.add_option("-v", action="store_true
Mitchell Model added the comment:
There are other places on the same page with weird trailing commas that
should be removed. I think they all follow right parentheses.
--
___
Python tracker
<http://bugs.python.org/issue6
New submission from Mitchell Model :
Near the bottom of the library documentation for pdb there is an example
of a very useful alias:
alias pi for k in %1.__dict__.keys(): print("%1.",k,"=",%1.__dict__[k])
It turns out that doing print in a for loop in pdb results in Non
New submission from Mitchell Model :
Just before 6.11.1 of the Language Reference:
"Attempting to use it in class for function definitions"
should be "or" not "for"
--
assignee: georg.brandl
components: Documentation
messages: 92614
nosy: MLModel, georg.
Mitchell Model added the comment:
No problem with the None's -- I see your point about that. Just that
maybe the alias example should point out that the Nones will be
printed so people won't be surprised and try to figure out what's wrong.
--- Mitchell
On Sep 16, 2
New submission from Mitchell Model :
Footnote 1 in section 2.1 of the Tutorial and the example of invoking
Python in the middle of the page need their version number upped to 3.2
in both the invocation and the greeting.
The same page in the 3.1 documentation should have the 'a' remove
New submission from Mitchell Model :
Section 2.1 of the tutorial describes using import sys; sys.exit() if ^D
or ^Z doesn't work. However, both quit() and exit() work, as documented
in the "Built-in Constants" section of the Library documentation. Is
there something about them
New submission from Mitchell Model :
string.capwords has an optional second argument, sep, which is not
documented
--
assignee: georg.brandl
components: Documentation
messages: 93139
nosy: MLModel, georg.brandl
severity: normal
status: open
title: optional second argument of
New submission from Mitchell Model :
The documentation of urllib.parse contains:
URL encoded
a “url-encoded” string
I am not sure what the official usage is, either in Python or more
generally. Actually, in formal W3C documents the term used is percent-
encoding (with the hyphen, even
New submission from Mitchell Model :
I'm sure this has been reported before, by I can't find it. Right button
clicks do nothing on Mac OS X -- they don't go to the line of a
traceback, and in debug mode they don't pop up the breakpoint menu.
--
assignee: ronaldousso
New submission from Mitchell Model :
The file Mac/README in the Subversion source continues to refer to 2.6,
not the appropriate version of 3.
--
components: Build
messages: 96316
nosy: MLModel
severity: normal
status: open
title: Mac/README continues to refer to 2.6, not 3
versions
New submission from Mitchell Model :
Is there some reason the OS X installer is missing from
http://www.python.org/download/ but present on
http://www.python.org/download/releases/3.1.1/? Seems it should be in
both places.
--
components: None
messages: 96317
nosy: MLModel
severity
New submission from Mitchell Model :
The documentation of format on the builtin functions page should be
changed from "Convert a string or a number" to "Convert a value".
The documentation begins "Convert a string or a number". This is
misleading in that for
Mitchell Model added the comment:
Sorry -- I was too quick to include 2.6 and 2.7 in the bug tracker
entry. I usually check 3 vs 2.6 but since format is in 2.6 I didn't
check the 2.6 doc page to discover, as you did, that it wasn't
documented.
--
--
--- Mitchell
New submission from Mitchell Model :
The last two sentences of the last paragraph of the documentation of
urllib.request.urlopen are shown below. I have broken up the text to
comment on places where it appears to be garbled. It might be easier to
just rewrite the two sentences rather than
New submission from Mitchell Model :
"contains the list of files match in both directories," should have
"that" before "match"
In addition I couldn't figure out from the documentation what "common"
was supposed to be doing -- it sounded more like
Changes by Mitchell Model :
--
components: +Documentation -Distutils
___
Python tracker
<http://bugs.python.org/issue5363>
___
___
Python-bugs-list mailin
New submission from Mitchell Model :
In the library documentation of standard types, the instance method
str.format is shown as taking a format-specification as its first
argument. I'm pretty sure that this is incorrect. When format is called
through a string, it is that string that i
New submission from Mitchell Model :
response = urllib.request.open(someURL)
page = response.read()
close() be called on response after the read(), right? Experimentation
shows that I can repeatedly read from response until I close it, getting
back empty bytes objects.
Thinking that
New submission from Mitchell Model :
There needs to be something somewhere in the documentation that makes
the simple point that data coming in from the web is bytes not strings,
which is a big change from Python 2, and that it needs to be manipulated
as such, including writing in binary mode
New submission from Mitchell Model :
Line 136 of the 3.0 README and line 179 of the 3.1 README state that the
executable on OSX is called python.exe. It's not.
--
assignee: georg.brandl
components: Documentation
messages: 83203
nosy: MLModel, georg.brandl
severity: normal
status:
Mitchell Model added the comment:
Nothing on OSX is ever named .exe.
On OSX building and installing Python with "configure
--enable-framework" installs an executable just called 'python' in
/Library/Frameworks/Python.framework/Versions/3.1/bin (using 3.1 as
an examp
New submission from Mitchell Model :
Trying to build 3.1 in recent 'svn update's on OSX 10.5 after
make clean
configure --enable-framework
I get the following error near the end of the build:
ld: duplicate symbol _PyExc_BlockingIOError in
libpython3.1.a(_iobase.o) and libp
Mitchell Model added the comment:
Whoops! It didn't say "the executable that gets built is called
python.exe", but it is in the build section, so taking things
literally, yes, the executable is called python.exe and I maybe
should have taken it at its word.
There's a s
New submission from Mitchell Model :
In the Python Language Reference, in the Naming and binding section of
Execution Model, there is a paragraph that states:
The following constructs bind names: formal parameters to functions,
import statements, class and function definitions (these bind the
New submission from Mitchell Model :
MAIN POINT
The Python 3 "What's New" should SCREAM that the type file is gone, not
just that people should use the function open() to open files, since
that has been a recommendation for quite a while.
EXPLANATION
In multiple readings
Mitchell Model added the comment:
At 11:03 AM -0400 3/19/09, Mitchell L Model wrote:
>>Martin v. Löwis added the comment:
>>
>>> The Python 3 "What's New" should SCREAM that the type file is gone
>>
>>I don't think the documentation should
New submission from Mitchell Model :
The second sentence of the re module documentation -- " The re module is
always available." seems extraneous at best. What is it saying? What
modules are not always available? Do other "always available" modules say
that they are alw
New submission from Mitchell Model :
The sentence introducing "Browser Controller Objects" in the documentation
of the webbrowser module says that the methods parallel two of the
module's convenience functions; it's really three.
--
assignee: georg.brandl
compo
New submission from Mitchell Model :
There is a problem with the documentation of the webbrowser module:
opening a URL doesn't necessarily open it in a browser. The
documentation of the open function and method should say that the URL is
opened in whatever application the system chooses
New submission from Mitchell Model :
In the documentation of the urllib.request module, the function
urllib.request.urlretrieve is shown with parameters:
(url[, data][, timeout])
Shouldn't the right bracket after 'data' be after 'timeout'?
--
assignee
New submission from Mitchell Model :
The middle sentence of the last paragraph of the documentation of
urllib.request.urlopen is garbled, reading:
"The urlopen function from the previous version, Python 2.6 and
earlier, of the module urllib has been discontinued as urlopen can return
Mitchell Model added the comment:
The problem is not so much that I think people should use it for file
URLs, it's that the behavior when they do can be quite confusing.
Perhaps a note that webbrowser is not meant for file URLs and that
it's behavior is undefine
Mitchell Model added the comment:
whoops
Sorry for the garbage in the previous message.
--
--
--- Mitchell
--
Added file: http://bugs.python.org/file13533/unnamed
___
Python tracker
<http://bugs.python.org/issue5
Mitchell Model added the comment:
Never mind about the garbage -- I was looking at weird HTML in the
copy of the message I received but it didn't make it into the entry
on this page. I should have looked first.
--
--
--- Mitchell
--
Added file: http://bugs.pytho
New submission from Mitchell Model :
The documentation of urlparse in Python2 and urllib.urlparse in Python3
refers to three RFC's, the last of which (RFC 2396) says that it
supersedes the other two and, in fact, clicking on the links to the other
two doesn't work; the link and d
1 - 100 of 138 matches
Mail list logo