Terry J. Reedy added the comment:
By masking mock Text.index with instance functions, I removed the need for
tk.Text and hence the tests are gui free.
--
resolution: -> fixed
stage: commit review -> committed/rejected
status: open -&g
Changes by Terry J. Reedy :
--
resolution: -> fixed
stage: commit review -> committed/rejected
status: open -> closed
title: test_email failures under Windows with the eol extension activated ->
test_email failures under desktop Windows
__
Terry J. Reedy added the comment:
Looking at the actual doc:
"importlib.__import__(name, globals=None, locals=None, fromlist=(), level=0) An
implementation of the built-in __import__() function."
I think this is pretty clear that builtin.__import__ has no effect unless
direc
Stephen J. Turnbull added the comment:
OK, I backed off the aggressive CFLAGS/CXXFLAGS to " -ggdb -pipe", and ran
"emerge =dev-lang/python-2.7.5-r1" *once* each with and without the
'EXTRA_ECONF="--with-pydebug"' flag. Compiled with GCC 4.7.3.
Stephen J. Turnbull added the comment:
Yeah, hope is a good thing. But I've spent the last 20 years debugging an X11
application based on a Lisp interpreter, I save hope for fireflies, my dog, and
my daughter these days. :-)
To the OP:
I don't follow Gentoo closely, but I have acq
Terry J. Reedy added the comment:
Two things have happened with Python: we switched bytes from 'text or binary'
to 'binary (or text)' in 3.0. We switched from svn to hg in 3.2. When did
test_sax start failing? I have no idea. Until recently, there were much worse
problems
Terry J. Reedy added the comment:
Having the files be the same on all systems seems the right solution. Changing
.hgeol should do that, at least for the repository. Let's hope the Windows .msi
installer leave line endings alone. I should install the a,b,c releases just to
run the test
Terry J. Reedy added the comment:
This warning still appears on buildbots running with warnings turned on.
--
nosy: +terry.reedy
versions: +Python 3.4 -Python 3.1, Python 3.2
___
Python tracker
<http://bugs.python.org/issue9
Terry J. Reedy added the comment:
I just ran into this issue (same I believe) running the test suite with
installed, versus repository, python on win7, but get a different traceback.
Traceback (most recent call last):
...\lib\distutils\tests\test_build_ext.py"
line 15
Changes by Terry J. Reedy :
--
Removed message: http://bugs.python.org/msg196681
___
Python tracker
<http://bugs.python.org/issue18730>
___
___
Python-bugs-list m
Stephen J. Turnbull added the comment:
I'm thinking this may be overengineering, but I may as well post it and find
out for sure. :-) Is it worth encapsulating MIME types? They're "really"
pairs as far as mail handling applications are concerned, but they have a
string
Terry J. Reedy added the comment:
The typo causes 1 test to run 5 times instead of 5 tests 1 each.
After fix, all pass on Win7, 3.4.0a1 (where fix is on line 1675 instead of
1618).
--
nosy: +rhettinger, terry.reedy
___
Python tracker
<h
Changes by Terry J. Reedy :
--
resolution: -> works for me
stage: -> committed/rejected
___
Python tracker
<http://bugs.python.org/issue18917>
___
___
Pyth
Terry J. Reedy added the comment:
This strikes me a sort-of a bug. However, feature vs. bug does not matter for
small changes (see PEP434). Is Windows the only case preserving, case
insensitive OS?
--
nosy: +terry.reedy
___
Python tracker
<h
Terry J. Reedy added the comment:
I believe that this is *the* answer to the issue, so the issue should be closed.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue18
Terry J. Reedy added the comment:
Just to answer, anyone with Python snake has commit privileges of some sort but
may not be setup to commit to cpython. I suspect Armin found this while review
the test for pypy. I focus mostly on Idle, but on better days, will do little
commits like this
Changes by Terry J. Reedy :
--
nosy: +ezio.melotti, michael.foord
___
Python tracker
<http://bugs.python.org/issue18894>
___
___
Python-bugs-list mailin
Changes by Terry J. Reedy :
--
versions: +Python 3.4 -Python 3.3
___
Python tracker
<http://bugs.python.org/issue18896>
___
___
Python-bugs-list mailing list
Unsub
Changes by Terry J. Reedy :
--
assignee: -> eric.araujo
components: +Distutils -Library (Lib)
nosy: +eric.araujo, tarek
title: getopt chokes on unicode option names -> 2.7 distutils getopt chokes on
unicode option names
___
Python tracker
Changes by Terry J. Reedy :
--
nosy: +bethard
___
Python tracker
<http://bugs.python.org/issue18943>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Nasty bug. Running a file with 'coding=0', a quite legitimate assignment
statement, causes Idle to close, with LookupError, leading to SyntaxError,
reported on the console if there is one ('crash' otherwise). (Idle closing is a
separate pr
Terry J. Reedy added the comment:
A possible complication is that at least in part, the same code
(AutoComplete.py) is used for both attribute completion and filename
completion. Attribute completion is always case sensitive.
--
___
Python tracker
Terry J. Reedy added the comment:
The initial difficulty I am having is that the edit menu, help file, code, and
behavior do not seem to match up, so this whole feature set needs more review.
For one thing, the AutoCompleteWindow (ACW) often comes up empty initially.
Sometimes it fills in a
Terry J. Reedy added the comment:
I am not currently seeing the problem I reported, so closing. If I type past /
and hit ^space, I sometimes get an empty listbox, but I do not yet have a
consistent failing case. Will open a new issue if/when I get one.
--
resolution: -> fixed
st
Terry J. Reedy added the comment:
With PEP 434, this can and I think should be backported. I should have done it
for 2.7.5 and will try to do soon.
--
___
Python tracker
<http://bugs.python.org/issue4
Terry J. Reedy added the comment:
In the current 3.3.2 docs, 'STOP' has been replaced by '', so there is a
change, and no infinite loop. However, this is still does not strike me as an
example of 'useful' as
for line in iter(fp.readline, "STOP"): #
Terry J. Reedy added the comment:
Is there a reason to say (several times) 'can support' instead of just
'support'? Do the OSes in question just optionally support rather than always
support?
The first version added: change 'depend of' to 'depend on'
Terry J. Reedy added the comment:
Does your last message mean that this issue should be closed here?
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue14
Terry J. Reedy added the comment:
There are several other 'stack overflow' issues (just do a search on that
phrase). Please take a look and see if yours is a duplicate of any of the
others.
If this does seem different, please reduce your code to the minimum needed and
attach the
Terry J. Reedy added the comment:
In a running interpreter and Idle, ^C results in
KeyboardInterrupt
>>>
and nothing else.
>From a command line, I think
KeyboardInterrupt: Python startup stopped"
would be ideal.
On Windows, I do not know if a program started from an i
Changes by Terry J. Reedy :
--
title: json.joads parse_constant callback not working anymore -> json.loads
parse_constant callback not working anymore
___
Python tracker
<http://bugs.python.org/issu
Terry J. Reedy added the comment:
Just curious, should "The parser module provides an interface to Python’s
internal parser and byte-code compiler." say "CPython's"?
--
nosy: +terry.reedy
___
Python tracker
<http:
Terry J. Reedy added the comment:
Using ^Z (ascii Substitute char) instead of ^D (ascii 'End of Transmission') is
an MSDOS affectation carried over to the the MSDOS-based text-mode Command
Prompt on Windows.
I verified that ^D now closes IDLE on Windows. ^Z gives a beep.
(I do not
New submission from Terry J. Reedy :
int.__doc__ starts "int(x[, base]) -> integer". That is not exactly correct as
x is not required and base is only allowed if x is a string. The 3.3 manual
fixes both problems with "int([number | string[, base]])"
I actually think th
Terry J. Reedy added the comment:
Since this pdb issue is a continuation of #13183 and repeals a part of that
issue's patch, I nosy'ed the contributors to that issue.
--
nosy: +georg.brandl, loewis, neologix, orsenthil, terry.reedy
stage: ->
Terry J. Reedy added the comment:
3.3, Win 7, Idle
>>> root.clipboard_get()
'abc€'
after cut from here
--
nosy: +terry.reedy
___
Python tracker
<http://bugs
Changes by Terry J. Reedy :
--
versions: -Python 3.2
___
Python tracker
<http://bugs.python.org/issue14781>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
There are definitely platform differences. As I noted, the original example
works fine on Windows. However
>>> root.clipboard_get(type='STRING')
'abc€'
>>> root.clipboard_get(type='UTF8_STRING')
Tracebac
Terry J. Reedy added the comment:
1. After careful check, I am convince that converted _filemode_table (now
private) is correct. Ditto for copied filemode function with adjusted docstring.
2. New test_stat.py is nice. I believe there is a new style of actually running
the tests that somehow
Terry J. Reedy added the comment:
Looks good enough to me except for the alias docstring. If someone does
dir(tarfile) and help(filemode), they should get the message that it is a
deprecated alias and should not use it.
--
___
Python tracker
Terry J. Reedy added the comment:
Glenn, I do not know what you are using the interactive interpreter for, but
for the unicode BMP, the Idle shell generally works better. I only use
CommandPrompt for cross-checking behavior.
--
___
Python tracker
Terry J. Reedy added the comment:
There are two issues. 1) what is the requested changed and is it technically
correct; 2) if correct, should it be made from a policy viewpoint.
1) Alex, do I understand correctly that you see the behavior of disallowing
nulls in paths as correct, and that
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
versions: +Python 3.3 -Python 2.6, Python 3.1
___
Python tracker
<http://bugs.python.org/issue8376>
___
___
Pytho
New submission from Terry J. Reedy :
There have been several requests for a set.get() (no args) or set.pick() method
to get an item without deleting it as .pop() does. Probably the best answer is
to use the simple generic composition next(iter(s)). The counter response is
that it is hardly
Terry J. Reedy added the comment:
Zachary, you are brave/foolhardy to take this on;)
I agree that the XXX comment should be removed. One possible resolution is to
do just that, replacing it with nothing.
I would note that the fuss over tuples versus lists comes from a time before
iterators
Changes by Terry J. Reedy :
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue14788>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue14789>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue14792>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue14795>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue14797>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +georg.brandl
___
Python tracker
<http://bugs.python.org/issue14808>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue14814>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
permutations(i,r) has an obvious default length, len(i).
For combinations(i,r), r = len(i), the return is i itself. Uninteresting.
You are asking for something else, that combinations(i) be powerset(i), which
is a different function. Powerset can be built
Terry J. Reedy added the comment:
This issue is invalid *here* because this tracker is for the CPython
implementation and the documentation, not the python.org site. I have, however,
sent a message to the pypi catalog-sig mailing list, which *is* the proper
venue. Thanks for noticing
Terry J. Reedy added the comment:
If python itself runs, you can easily try this from inside the interpreter
>>> from idlelib import idle
This *should* bring up the Idle shell window. It just did for me on 64 bit
Win7. If not, there *should* be an error traceback you can cut and p
Terry J. Reedy added the comment:
It has been noted elsewhere (but I cannot find it) that 1) an uncaught
StopIteration raised in an expression *within* a genexp is indistinguishable
from the StopIteration raised *by* the genexp upon normal termination; and 2)
this makes genexps different
Changes by Terry J. Reedy :
--
nosy: +doerwalter, lemburg
___
Python tracker
<http://bugs.python.org/issue14850>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I am ok with Ezio's 3rd version.
--
___
Python tracker
<http://bugs.python.org/issue14840>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
I re-verified this on win7-64 with 3.3.0a3
>From Idle, Idle remains after clicking away the error box.
>From Command Prompt, CP disappears after clicking away box.
Problem is not specific to Donwloads. Other Libraries fail also.
Desktop and other normal
New submission from Terry J. Reedy :
In the doctest section, 25.2.3.5. Option Flags and Directives has examples of
using #doctest: directives in the .rst source
'''
An example's doctest directives modify doctest's behavior for that single
example. Use ``+`` to enab
Terry J. Reedy added the comment:
This is a somewhat recent reversion.
3.1.5 (a month ago)
http://docs.python.org/release/3.1.5/library/doctest.html#module-doctest
>>> print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
10, 11, 12, 13, 1
Terry J. Reedy added the comment:
To my mind, stripping is not ignoring ;-), but I understand what you mean,
sphinx ignores as it pays attention and strips.
[2] is the commit for [1], and both are from 3 years ago, long before 3.2.0.
Does the true-by-default ``trim_doctest_flags`` config
Terry J. Reedy added the comment:
The directives should normally be stripped, but not when they are intentionally
given to teach their existence, syntax, and use, as in the doctest doc on
directives.
I opened (and closed -- am trying to anyway) a duplicate, #14865. The problem
of directive
Terry J. Reedy added the comment:
Thanks for discovering that. I did not search well enough.
--
resolution: -> duplicate
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Terry J. Reedy :
--
superseder: -> doctest directive examples in library/doctest.html lack the
flags
___
Python tracker
<http://bugs.python.org/issu
Terry J. Reedy added the comment:
Raymond, I pretty much agree with your points and would be happy either with
rejection or one simple sentence. This idiom really belongs in a hypothetical
how-to, such as 'Python iterators and generators'. The real use case for
it=iter() followed
Terry J. Reedy added the comment:
[Agreed that spacing comments were bogus.]
As for the rest, patch looks good except for 'is is' in
+ValueError: If the integer is is negative or...
I am glad I could help improve things a bit.
I will try to look at the how-to by tomorrow t
Phillip J. Eby added the comment:
Just adding a data point: I use the "mingw32" compiler setting with the Cygwin
GCC installation, to compile extensions for standard Windows Python (*not*
Cygwin Python). It would be good if any change doesn't break this scenario --
assuming i
Changes by Terry J. Reedy :
--
nosy: +Mark.Shannon
___
Python tracker
<http://bugs.python.org/issue14903>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Can you reproduce on current 2.7.3 or 3.2.3 or even 3.3.0 (which has changed
dict implementation)? Or can you upload a short program that exhibits the
problem, so someone else can try? 2.6 gets security fixes only and I do not
believe this qualifies. If not
Changes by Terry J. Reedy :
--
versions: +Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue14881>
___
___
Python-bugs-list mailing list
Unsub
Terry J. Reedy added the comment:
3.3 commit is http://hg.python.org/cpython/rev/9373ca8c6c55
Richard, it did not record here because you just said 'Merge' rather than
"#14881 merge" ;-).
Great to see a crasher fixed. Ready to close?
-
Terry J. Reedy added the comment:
There are other paramaters that take optional 'files'. Whatever change is made
should be done uniformly for all.
'File' is unfortunately vague, as it could mean file object or file name or
both. If file name, it could be str only o
Terry J. Reedy added the comment:
Patch looks good and seems to work fine. I tested before and after the patch on
my working copy of 3.3.0a3 with my selected font. Highlight config was default
courier before and selected font after. I agree with change and applied.
--
resolution
Terry J. Reedy added the comment:
I was suggesting alternate installations, not that you touch your system Python
(a bad idea I have read). Such should be easy on Ubuntu. Whether you can run
this particular program with alt installs is a different matter. If you have
questions about doing so
Terry J. Reedy added the comment:
I verified problem in 3.3 and when opening dialog from shell.
Patch fixes problem, including open idle, open dialog, close shell, select
file, and now file is opened. Thanks Roger. I went ahead and applied fix. (But
note: your patch had a 'blank'
Changes by Terry J. Reedy :
--
versions: +Python 2.7, Python 3.3
___
Python tracker
<http://bugs.python.org/issue10365>
___
___
Python-bugs-list mailing list
Unsub
Terry J. Reedy added the comment:
With 2.7 & 3.3 on Win 7, 'a'( brings up calltip (bad).
With 3.3, '\xyz'( causes Idle to die (worse)
With 2.7, the same or u'\xyz'( have no effect, just like 3(.
There are a lot of little differences between 2.7 and 3.x, but t
Terry J. Reedy added the comment:
After thinking some more and re-reading the os.system doc, I am closing this. I
think things are working exactly as documented, and in a way that will not be
changed. The os.system doc initially says
1. "Execute the command (a string) in a subshell.
Terry J. Reedy added the comment:
On Win 7, a brings up the box on all the latest releases: 2.7.3,
3.2.3, and 3.3.0a3. (These all come with recent tk 8.5.x.)
Mike, please retest with 3.2.3 and specify os and tk version and exactly what
you entered if there is still a problem
Terry J. Reedy added the comment:
I thought I was un-confusing sys.std* Python objects (such as
idlelib.rpc.RPCProxy) from std* integer file descriptors, whereas you seem to
say they are the same: "copies of the file descriptors (in particular,
sys.std*)". The rest of your messag
Terry J. Reedy added the comment:
The only substantive change I see is replacing the four lines setting 'interp'
with a defaulted getattr call. You seem to have missed my point that
'Otherwise, open a new window' is false. It must be that "flist.open(filename)
Terry J. Reedy added the comment:
'a'(, [](, {}( no longer do anything.
[int][0]( and {0:int}[0] bring up int tooltip.
However, patch is not a complete fix yet.
[int][1]( and {0:int}[1] both 'crash' Idle.
So we need to add IndexError and KeyError to
+
Changes by Terry J. Reedy :
--
stage: -> commit review
___
Python tracker
<http://bugs.python.org/issue12510>
___
___
Python-bugs-list mailing list
Unsubscri
Terry J. Reedy added the comment:
Interesting -- and nasty. I have used this successfully with both 3.2 and now
3.3 on Win7 to search idlelib/*.py files and on a directory of my own files,
all written by Idle and been quite pleased with the speed.
I just tried searching /Lib/*.py for
Terry J. Reedy added the comment:
Hit send too soon;-). With that much done, we can think about a more complete
fix. See last paragraph above. Also, perhaps dialog box could have encodings
field. People should be able to grep python code for any legal identifier, and
this means proper
Changes by Terry J. Reedy :
--
assignee: -> terry.reedy
___
Python tracker
<http://bugs.python.org/issue12510>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Terry J. Reedy :
--
assignee: -> terry.reedy
___
Python tracker
<http://bugs.python.org/issue10365>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Terry J. Reedy :
--
assignee: -> terry.reedy
___
Python tracker
<http://bugs.python.org/issue14876>
___
___
Python-bugs-list mailing list
Unsubscri
Terry J. Reedy added the comment:
Lennart, I saw your response on StackOverflow ;-).
--
nosy: +terry.reedy
resolution: out of date ->
stage: committed/rejected -> test needed
status: closed -> open
versions: +Python 3.3 -Python 2.6, P
Terry J. Reedy added the comment:
I am reopening just as a reminder to revise the comment.
--
status: closed -> open
___
Python tracker
<http://bugs.python.org/issu
Terry J. Reedy added the comment:
I second the motion for IDLE. There is no module doc for it.
Off the top of my head, there should be a general section that
* says what it is, and that it depends on tcl/tk and tkinter install;
* mentions the existent of the menu Help / IDLE help document
Terry J. Reedy added the comment:
Hmm, how did I miss that?? Well better to reference that, and maybe revise it.
I believe there may also be another .txt document in idlelib.
Anyway, perhaps there should first be a section on tkinter by itself, and how
to get the tcl/tk it depends on
Changes by Terry J. Reedy :
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Terry J. Reedy added the comment:
CallTips.py has a 'main' test at the end. Currently, test TC fails in 3.x but
not 2.7. So either the test became invalid or get_argspec was not completely
and correctly converted from get_arg_text. This should be fixed.
int.append( does not bring u
Terry J. Reedy added the comment:
i12510.test.diff (for Python 3 only) does the following:
* Turn method CallTips.get_entity into a module function as it does not use the
self parameter and is therefore not really an instance method.
* Delete the erroneous _find_constructor function. Even if
Terry J. Reedy added the comment:
Maureen, I have saved and run a file from the Idle editor perhaps a thousand
times over the years with multiple Python versions, including 3.2.3 (retried
just now) on both Windows XP and Win7. (Note: on the General tab of the
Preferences dialog, one can make
Terry J. Reedy added the comment:
#12988 was about saving specifically to a Win7 Explorer window sidebar
'library', and the OP report with 3.2.1. This is different from a normal path
as you know it. Maureen said she cannot save 'any file' except to desktop and
that the b
Terry J. Reedy added the comment:
By 'Python 3 only', I meant that I am not personally planning to backport to
2.7. I do not want to edit the more complicated get_arg_text and consider other
issues higher priority.
I meant to include a test case for callable instances, but forgo
Terry J. Reedy added the comment:
Stephen D'Aprano just asked on Python list how to get signatures of builtins,
noting that calling inspect.getargspec on a Python-coded subclass of a builtin
class raises an exception. So we need another testcase, verify the behavior,
and probably ad
8301 - 8400 of 13135 matches
Mail list logo