Terry J. Reedy added the comment:
ANSI code page? I have no idea how to find out and many would not even know
what such a thing exists. It is an HP laptop sold in the US.
I think bugs in core syntax should have high priority. I appreciate your work
toward fixing it.
--
versions
Terry J. Reedy added the comment:
If the source will not compile with __INSURE__ defined, then perhaps no one has
ever tried to do that with 3.x. That would suggest that the ifdef could be
removed. In any case, the non-function call should be removed.
Is the other function called anywhere
Terry J. Reedy added the comment:
I think this needs at least two patches: one to change comments, another to
remove two fields. Can you prepare something?
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue9
Changes by Terry J. Reedy :
--
versions: +Python 3.2 -Python 3.0
___
Python tracker
<http://bugs.python.org/issue3821>
___
___
Python-bugs-list mailing list
Unsub
Changes by Terry J. Reedy :
--
stage: needs patch -> committed/rejected
___
Python tracker
<http://bugs.python.org/issue2986>
___
___
Python-bugs-list mai
New submission from Terry J. Reedy :
0. Does 'Release 0.05' at the top have any useful current meaning?
or could it be deleted?
1. Introduction:
The history paragraph "The re module was added in Python 1.5, and provides
Perl-style regular expression patterns. Earlier versions
Terry J. Reedy added the comment:
As I understand this, your patch would fix numerous errors in the docs, but has
not been applied. It would be nice to get the fixes into 3.2. What sort of
feedback do you want? Proofreading of text? Recheck of doctest?
Does sphinx suppress doctest comments
Terry J. Reedy added the comment:
I agree that the .rst should not have two copies and that any windows.chm
specific fixup should be in the tool. Right now, right clicking gives a context
menu with one item: Properties. Clicking that brings up a dialog box with a url
that can be copied. Good
Terry J. Reedy added the comment:
Since I think I know how to do it, easily, I will try to derive the 2.7 patch.
In Matching Characters, I think
"The following predefined special sequences are available:"
should be expanded to
"The following predefined special sequences
New submission from Terry J. Reedy :
Given that sys.path includes ".../python32" adding the requisite empty
__init__.py to Tools/ and, for instance, demo/ would allow
>>> from Tools.demo.redemo import main; main()
to work (I tried it with Scripts instead of demo in b2). No
Changes by Terry J. Reedy :
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue10877>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I applied patch to 3.2, 3.1 in r87904, r87905. Thanks.
I had to re-edit for 2.7: r87909.
I made a separate small patch for my suggested addition to Matching Characters.
Could someone check that it is correct, given that re.rst contains the target
directive
Terry J. Reedy added the comment:
Thanks. r87911,r87912
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Terry J. Reedy added the comment:
and r87918 for 2.7, with bytes -> byte string
--
___
Python tracker
<http://bugs.python.org/issue10875>
___
___
Python-
Changes by Terry J. Reedy :
--
Removed message: http://bugs.python.org/msg125954
___
Python tracker
<http://bugs.python.org/issue10875>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
Correction: r87912 and r87913 for 3.x
--
___
Python tracker
<http://bugs.python.org/issue10875>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
Doctest runs on .rst files, which are plain text files, finds and reports
errors, and reports no errors when the errors are fixed. See #10875 where is
was very helpful. So your last comment puzzles me.
In any case, your patch is too big to digest at once. I
Terry J. Reedy added the comment:
There are two reasons I forward ported the changes.
1. Without running doctest on doc examples, they sometimes have errors either
originally, after patches to the doc, or after patches to Python. On other
issues, I found 4 errors in the json doc (probably
Changes by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<http://bugs.python.org/issue8771>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
This can be reopened if the problem ever appears in a current issue.
--
resolution: -> out of date
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Terry J. Reedy added the comment:
http://www.python.org/dev/peps/pep-0011/ says
Name: Win9x, WinME, NT4
Unsupported in: Python 2.6 (warning in 2.5 installer)
Code removed in: Python 2.6
Only xp+ now. email sent to webmaster@...
Even if the best fix only applies to win7
Terry J. Reedy added the comment:
I took a look at an example of each type.
Sign-compare, Parser/node.c, 94
if (required_capacity > PY_SIZE_MAX / sizeof(node))
I presume PY_SIZE_MAX and sizeof(node) are both unsigned.
So is, conceptually, required_capacity, but it is defined as an
Terry J. Reedy added the comment:
What happens if you run your program without IDLE?
(either with right-click and run or run from Command Prompt window?)
I would not be surprised if your problems go away. IDLE runs a saved file in a
separate pythonw process. Printing (or writing) to stdout
Changes by Terry J. Reedy :
--
versions: -Python 2.5, Python 2.6
___
Python tracker
<http://bugs.python.org/issue10922>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
I see there is already something similar for true division.
I find
+q_max, shift_max = 1 << sig_bits, sys.float_info.max_exp - sig_bits
easier to read as two lines
+q_max = 1 << sig_bits
+shift_max = sys.float_info.max_exp - sig_bits
Terry J. Reedy added the comment:
FWIW, I downloaded, edited for 3.2, and ran. 45 minutes later, with counter in
box near 16000, and output sequence looking about the same as initially, I
killed with Task Manager (also on winxp). You might try same on your system.
--
Added file: http
Terry J. Reedy added the comment:
In general, the website is separate from Python code and documentation and
website issues should be sent to webmas...@python.org, not here, as code/doc
committers cannot change web pages.
However, this particular page (dev/faq) has being pulled into the (hg
Terry J. Reedy added the comment:
Failing when passed a bytesIO object seems reasonable.
I question the bit about newlines though. The doc does not specify that
newlines='' is needed on output. While is says it is needed for input, why? Why
is a mix of '\n', '\r
Terry J. Reedy added the comment:
Changing csv api is a feature request that could only happen in 3.3.
--
nosy: +skip.montanaro
type: behavior -> feature request
versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2
___
Python tracker
&l
Terry J. Reedy added the comment:
Questions should generally be asked on python-list or its mirrors.
The docs do not say that the result should be exactly, byte-for-byte, the same.
base64 module refers to RFC 3548. Both our doc and the RFC describe variations.
The base64 codec does '
Terry J. Reedy added the comment:
I ran the 2.7 file (on 2.7) and after several minutes, threadA stopped
printing, but no error message.
Antoine, could improvement from 2.7 to 3.2 have anything to new with the new
implementation of the Global Interpreter Lock?
Scott, if you can do your
Changes by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<http://bugs.python.org/issue10541>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Terry J. Reedy :
Tool/scripts/find_recursionlimit.py includes test_cpickle() which, like the
other test_xxx functions, is supposed to raise a RuntimeError when the
recursion limit is reached. It appears to work correctly on 3.1 and I presume
previously. On 3.2
Terry J. Reedy added the comment:
3.2rc1 on WinXP. I got hanging behavior with both interpreter and IDLE.
--
___
Python tracker
<http://bugs.python.org/issue10
New submission from Terry J. Reedy :
"ast.parse(expr, filename='', mode='exec')
Parse an expression into an AST node. Equivalent to compile(expr, filename,
mode, ast.PyCF_ONLY_AST)."
but
"compile(source, ...)
Compile the source into a code or AST objec
Terry J. Reedy added the comment:
r88172, r88173, r88175
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Terry J. Reedy added the comment:
I have the impression that there has been progress on tcl/tk on Apple in the
last 7 months. Should this issue still be open, and if so, for both 2.7 and 3.2?
--
nosy: +terry.reedy
___
Python tracker
<h
Terry J. Reedy added the comment:
There are other gui libraries with Python interfaces that you can look at. I
agree that something in doc about how to feed data from multiple threads would
be nice.
--
nosy: +terry.reedy
type: crash -> behavior
versions: +Python
New submission from Terry M. Topka :
Attempting to read a fixed amount of data when the serial port is configured
for non-blocking reads (i.e. self.timeout == 0) will occasionally throw an
invalid memory access exception, due to an error in the following code:
### pyserial-2.5-rc2 serialWin32
Terry J. Reedy added the comment:
'Thread' is not found in the somewhat skimpy tkinter doc. Given the general
state of Python with threads, I think it reasonable to take 'not thread-safe'
as the default, making this a feature request. In any case, the point is moot
unt
Terry J. Reedy added the comment:
However done, I would prefer separation also.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue11
Terry J. Reedy added the comment:
2.6 is only open for security fixes.
In 3.x "The methods Turtle.tracer(), Turtle.window_width() and
Turtle.window_height() have been eliminated. Methods with these names and
functionality are now available only as methods of Screen."
So it
Terry J. Reedy added the comment:
See 11077 for motivation for reopening.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue1252236>
___
___
Terry J. Reedy added the comment:
On my winxp system, 'open' opens with notepad, perhaps because I set that
several years ago. I would like the installer to change that (and not change
other stuff that it does change ;-).
The 'open with' submenu does include idle.
Terry J. Reedy added the comment:
This is not a duplicate because this issue is about the stdlib turtle module
doing something wrong and needing to be fixed. Also, this issue does not
involve threads, at least none that I starting.
"It is not safe to call graphic primitives in
Terry J. Reedy added the comment:
Georg & Eric, I believe this simple patch is correct, and should go in 3.2.
Westley, thanks for the patch. Numbers are right-aligned because that is the
traditional default.
The committer should add Westley Martinez to misc/ACKS
--
vers
Terry J. Reedy added the comment:
I can see how a comment like /* spam = eggs + ham */ could be useful, but and
isolated /* foo = 0 */ where 'foo' appears nowhere else in the file seems more
like confusing noise.
--
___
Python trac
Terry J. Reedy added the comment:
I agree that the _sampwidth multiplier is needed regardless of endianness.
The simplest option would be to pull the _datawritten statement out of the
alternation, making the code read
if self._sampwidth > 1 and big_endian:
import ar
Terry J. Reedy added the comment:
After saying that pydoc is used by help(), its documentation only tells how to
run it standalone.
help(pydoc) basically says the same, and does not mention any internals,
because of "__all__ = ['help']", which the author understood t
Changes by Terry J. Reedy :
--
nosy: +ezio.melotti, pitrou
___
Python tracker
<http://bugs.python.org/issue11204>
___
___
Python-bugs-list mailing list
Unsub
Terry J. Reedy added the comment:
You sort of left out bytes() == bytes(0) == b''.
I did not know about case 5 -- not surprisingly ;-).
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.o
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
Specific instance: I edit a file with IDLE, hit F5, and Windows pops up
a box with a white X in a red circle followed by "Runtime Error!" and an
explanation that the application requested to be closed in an 'unusual
Changes by Terry J. Reedy <[EMAIL PROTECTED]>:
--
type: -> crash
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2841>
__
___
Python-b
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Hibernation, sleep, or screen saver is not required though process may
have been swapped to disk. Exception and location are reproducible.
This time I get IDLE Subprocess Startup Error on retry. Will
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
AFter reboot, IDLE started, loaded the program I tried to run
previously, and ran it several times. I closed the edit window and when
I closed the shell window, got same message. The first box is titled
Microsoft Visual C++ Runtime L
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Py3.0a5 installed in C;/Program Files/
Start/Python30/Python Manuals, using Python30.chm, works great. Thank
you for that. In the interpreter (and IDLE) help(object) works fine.
Ditto. But for topics and keywords, I got the same m
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
I think I *slightly* prefer the 'new' way.
Was pprint.py changed between 2.6 and 3.0?
Or is the change a side-effect of 3.0 changes?
Or of 2to3 if that was used?
(In glancing through it, I did not see anything that needed cha
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
> AFAICT, there is no good use case for showing floats in in hex
It is my impression that hexadecimal is more common than binary, in the
numerical analysis community, for exact representation of floats.
For example:
http://hal
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Rationale for banning f(*,**k): it could represent a bug (intended bare
name(s) omitted) that should be flagged, a lack of clear understanding
of the redundancy, or a somewhat unPythonic stylistic preference for
useless redundan
Changes by Terry J. Reedy <[EMAIL PROTECTED]>:
--
resolution: accepted ->
status: closed -> open
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.p
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
It would have been helpful if you had given the url in your message
instead of requiring respondents to read a fuzzy image.
In any case, there is no gray box on Windows XP with FF3 at any zoom
level nor with IE7. I suggest closing t
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Does that mean that both do the right thing or the wrong thing?
--
nosy: +tjreedy
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Nasty. Here is the test extracted from test/test_cmath.py
import math, cmath
test_values = [0.01, 0.1, 0.2, 0.5, 0.9, 0.99]
positive = test_values + [1.] + [1./x for x in test_values]
for base in [0.5, 2., 10.]:
for v in po
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
Lib Ref/Built-in Types/Sequence Types/Bytes and Byte Array Methods
The following set/frozenset and dict sections repeat (and for dicts,
expands upon) the constructor interface from the Built-in Functions
section. The sequenc
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
As reported in the py3 list
File "/root/Py3kb1/lib/python3.0/tkinter/__init__.py", line 1409,
in __call__
return self.func(*args)
File "/root/Py3kb1/lib/python3.0/idlelib/MultiCall.py", line 165,
in
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
In 3.0b1, several str methods have 'Unicode' in their docstrings
leftover from 2.x when str *was* unicode.
For
center
count
ljust
rjust
translate
'Unicode' should be deleted before 'string'.
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
On my Windows XP system, IDLE opens windows too low, even the first, so
that the bottom is behind the task bar. When I move the window up,
close, and reopen, it occasionally remembers the position but usually
forgets. Always remem
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
Suggested changes to Lib Ref Manual: Sequence Types --...(3.6 for 2.5)
(These are mostly based on an issue posted on c.l.p. The Plone
Archetypes package (which I know nothing of) was reported as suggesting
that users pass sys.maxi
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
>From Py3000 list: in C99 standard math library, but need code when not
yet in particular implementation.
Dickinson: open and assign to me
Stutzbach: I suggest using the versions from newlib's libm. They contain
exte
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
dis / Python Bytecode Instructions is missing
UNPACK_EX
STORE_LOCALS
LOAD_BUILD_CLASS
MAKE_BYTES
which appear in dis.opname (3.0 version).
Suggestion: After entry for UNPACK_SEQUENCE(count), add
UNPACK_EX(bytepair)
Used for s
Changes by Terry J. Reedy <[EMAIL PROTECTED]>:
--
components: +IDLE
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3344>
___
__
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
This looks as straightforward as patches get.
I verified that itertools.count is not used elsewhere in the file,
so it is ok to zap the import. Suggest apply.
--
nosy: +tjreedy
___
Python t
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Based on my understanding of the above and PyDev discussions, I see the
arguments in favor of quick inclusion as being the following:
1. This will be user invisible, so it is not a new interface feature.
2. This will prevent po
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
How much does the optimization speed up (or slow down?) a more normal
case when it is applicable?
bl = [b'', b'a']
How much does the optimization slow down the normal case where it is not
applied?
bl = [b'a
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Summary: This patch makes a non-essential change to a curses demo. It
also reverses several 2.x to 3.0 edits, turning it back to 2.x code. So
the current version must be rejected. Even if corrected, I would still
recommend closing.
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Comment: as a user (on x86) I agree with Tim. I could almost see the
new version as a bugfix.
Question: I see "math module patch committed, r63542" in May 22. But in
3.0b2, there is no math.fsum and math.sum seems to
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
> I'm pretty sure it *was* merged: math.sum should be the full-precision
> summation in both recent betas (2.6b2 and 3.0b2). Try comparing
> sum([1e100, 1, -1e100, -1]) and math.sum([1e100, 1, -1e100, -1])---they
>
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
>bl = [b'a']*2 gives a 2% slowdown:
>bl = [b'', b'a'] gives a 20% speedup:
If the second case is less than 9% of cases, which I expect is true,
the change would cause an average slowdown ;-)
&
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
Language reference/ Expressions/ Evaluation order
...
In the following lines, expressions will be evaluated in the arithmetic
order of their suffixes:
...
func(expr1, expr2, *expr3, **expr4)
The omission of a suffix from the fu
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
New to beta2 (a4,b1 worked fine as I remember).
It is possible that I installed xp sp3 in between.
In any case, I keep xp updated as per MS downloads.
Windows XP: open Start/Python3.0/Python Manuals to get
'Python v3.0b2 do
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
WinXP, 3.0b2
>>>f=open('somefile', 'r')
>>>f.readline(somefloat)
Traceback (most recent call last):
File "", line 1, in
f.readline(1.0)
File "C:\Program Files\Python30
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
I notice that symtable is still in 3.0, still not in the index, and I
presume still not documented. The help(symtable) says it defines classes
Symbol
SymbolTable
Class(SymbolTable)
Function(symbolTable)
so it seems to be used for p
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
On windows: type
>>> zomeinput
Press home key. In command window (terminal interface), cursor goes to
just before z, where one would want. In IDLE (2.5.2, 3.0b2), it goes to
beginning of line. If current patch does not fix
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
This appears to me to duplicate and supercede
http://bugs.python.org/issue1175686
If so, could that be closed as superceded?
--
nosy: +tjreedy
___
Python tracker <[EMAIL PROTECTE
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
\ works fine for me and I suspect almost everyone else.
Please bring this up on comp.lang.python or python-list or
gmane.comp.python.general to see if any other Macbook users have this
problems or any ideas on what might be wrong wit
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
3.0b2, WinXP
I cut and pasted the text above into an empty IDLE edit window, hit F5,
and in the blink of an eye, both IDLE windows disappeared. No error
message, no Window's error box, just gone.
The pasted text was saved to the
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
I am closing this as 'out of date' because the problem went away in .b1
and is still gone in .b2. There is still, however, a crash problem if a
file is run with utf-8. See http://bugs.python.org/issue2827
--
resolu
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
When one runs a file with Python30.exe, it opens a window, runs the
file, and closes the window too fast to see what happened. The point of
the input() statements is to 'pause' execution. This is standard
debugging along wi
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Another use case: upon reading A.Baxter's Porting to 3 talk, I realized,
slightly generalizing from his example, that
print(s.join(map(str,it))) == print(*it,sep=s) -- or would, except that
it currently has to be written non-int
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
Reference/Expressions/Primaries: "Primaries represent the most tightly
bound operations of the language. Their syntax is:
primary ::= atom | attributeref | subscription | slicing | call"
This (along with the fact that al
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
Winxp, 3.0b2, but I suspect earlier as well, since reported on c.l.p.
If I paste '1+2\n' into the command window interpreter, it responds with
'3' and a new prompt. In IDLE, the pasted \n is ignored and a typed
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
With sys.maxint gone in 3.0, test_raisexxx() is also gone in 3.0b2
--
nosy: +tjreedy
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from Terry J. Reedy <[EMAIL PROTECTED]>:
LibRef/built-in functions/eval() has this section
This function can also be used to execute arbitrary code objects (such
as those created by compile()).
In this case pass a code object instead of a string.
The code object must hav
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Since you are just beginning Python, I suggest you report questionable
program behavior on newsgroups comp.lang.python,
gmane.comp.python.general at news.gmane.org, or the python.org mailing
list python-list (all three are equi
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Systems that don't run this test (Windows, ??) cannot catch such problems.
Does adding 'b' fix sunau and the test?
--
nosy: +tjreedy
___
Python tracker <[EMAIL PROTECTED]&
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
I am reopening because my suggested fix was wrong. As pointed out by
Fredrik Lundh on PyDev the next day, quoting from the grammar,
attributes, subscriptions, slicing, and call have the *same* precedence.
I thought I posted his comme
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
Why is the statement, whatever it is, even being touched?
Would not the same problem arise with any following outdented line?
IOW, why not delete that pair of lines from fix_idioms.py?
Does that break anything else in test_
Terry J. Reedy <[EMAIL PROTECTED]> added the comment:
The default equality comparison of Python objects is by id.
Some classes override this, others, in particular, functions, do not.
I also agree that partial functions should not either.
However, you can subclass functools.partial (I c
Changes by Terry J. Reedy <[EMAIL PROTECTED]>:
--
nosy: +tjreedy
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3577>
___
__
Changes by Terry J. Reedy <[EMAIL PROTECTED]>:
Removed file: http://bugs.python.org/file11139/unnamed
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
1301 - 1400 of 12740 matches
Mail list logo