Terry J. Reedy added the comment:
I am a bit puzzled. According to
https://docs.python.org/2.7/using/cmdline.html#interface-options __main__.py
(not indexed) has been supported since 2.5. On the other hand, recursively
grepping Lib for 'e' in __main__.py files hits about 20 files
Terry J. Reedy added the comment:
I have not tried your patch yet, but the relevant code seems to be
class ModifiedInterpreter(InteractiveInterpreter):
def runcode(self, code):
if code.co_filename[0] != '<': ## your patch
self.tkconsole.wri
Changes by Terry J. Reedy :
--
assignee: docs@python -> terry.reedy
___
Python tracker
<http://bugs.python.org/issue18566>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
Nitika, congrats on first patch. One minor problem: spaces at end of lines. It
it my fault for not checking, but try to avoid them anyway.
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -&g
Terry J. Reedy added the comment:
I am puzzled at the differences between the 2.7 and 3.4 patches. There are only
three differences between the files
- from Tkinter import Tk, Text, TclError
+ from tkinter import Tk, Text, TclError
? ^
- from test.test_support import requires
+ from
Terry J. Reedy added the comment:
I took another look and tried the patch and discovered that my comments are
partly wrong because restart_shell is called before runcode when runcode is use
to run a file. (I am not sure how it is called otherwise with
self.tkconsole.executing == True.) This
Terry J. Reedy added the comment:
I will try to take a look, but anyone else is welcome to also.
--
___
Python tracker
<http://bugs.python.org/issue19316>
___
___
Changes by Terry J. Reedy :
--
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue12
Terry J. Reedy added the comment:
I use rstrip routinely when editing idlelib files, before committing, so it has
been useful for that purpose.
I do not happen to know what reindent.py does that the current format options
do not.
#18704 was about integrating the pep8 style checker. That was
Terry J. Reedy added the comment:
When quoting from the docs, it is helpful to give a link.
https://docs.python.org/2/library/multiprocessing.html#examples
That also identifies the version.
I verified that the example fails on my 2.7.6 Windows 7 with
PicklingError: Can't pickle : it's
Terry J. Reedy added the comment:
In 2.x, 1 is guaranteed to be true, in that sense that
if 1: print 'true'
is guaranteed to print 'true', while True is not necessarily true.
>>> True = 0
>>> if True: print 'yes'
>>>
So 2.x docs shoul
Changes by Terry J. Reedy :
--
assignee: docs@python -> terry.reedy
___
Python tracker
<http://bugs.python.org/issue21232>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
Third party compiled C crashers are nasty. Two suggestions:
1. Reduce the failing example to the minimum needed to fail. If you bypass all
the python code in maps.py and device.py and just 'import dmraid', do you still
get a crash at that poin
Terry J. Reedy added the comment:
An obvious fix for the recursion limit error is to convert the .compare
recursion to iteration with a stack (which I could try to do), but I don't know
if the deep recursion is expected in this case, or is a bug. Tim?
--
nosy: +terry.reedy, tim.p
Terry J. Reedy added the comment:
See more discussion on duplicate #21259.
--
___
Python tracker
<http://bugs.python.org/issue16261>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
This is definitely a duplicate of #16261 and should be closed at such.
On that issue, in msg202448, I explained that #15313 is about except: in
idlelib and idlelib must be patched separately for the reason Raymond repeated
(point 2). The other reason (point 1
Terry J. Reedy added the comment:
Looks sensible.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue21261>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
The docstring is more accurate.
">>> str.translate.__doc__
'S.translate(table) -> str\n\nReturn a copy of the string S, where all
characters have been mapped\nthrough the given translation table, which must be
a mapping of\nUnicode ordina
Terry J. Reedy added the comment:
I see that we mostly added the same info.
--
___
Python tracker
<http://bugs.python.org/issue21279>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
I noticed the same while working on #21139 and posted there a patch,
21139-34-fpe.diff, that adds a limit parameter to .format_paragraph_event. Test
could then specify a width for each test without touching the user
configuration. Different tests could use
Changes by Terry J. Reedy :
--
nosy: +benjamin.peterson, brett.cannon, georg.brandl, ncoghlan
___
Python tracker
<http://bugs.python.org/issue21295>
___
___
Pytho
Terry J. Reedy added the comment:
Do I understand correctly that only one space is ignored?
--
nosy: +terry.reedy
stage: -> needs patch
title: skipinitialspace in the csv module only skips spaces, not "whitespace"
in general -> csv.skipinitialspace only skips spaces,
Terry J. Reedy added the comment:
I believe that there have been discussions on this point and my memory is to
leave 1 alone in 2.x docs. I could be mistaken though.
--
___
Python tracker
<http://bugs.python.org/issue21
Terry J. Reedy added the comment:
A file per news entry seems a bit much, but an optional file per developer
would solve most of the problem for those who have a problem with the status
quo. Add a directory named, for instance, news.3.4.1. Put in a template with
the allowed section headings
Terry J. Reedy added the comment:
If you want to backport, go ahead.
--
___
Python tracker
<http://bugs.python.org/issue21232>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
On 4/20/2014 7:59 PM, Antoine Pitrou wrote:
>
> Antoine Pitrou added the comment:
>
>> This is already not a rule because the devguide mentions inserting new
>> items at random positions to avoid conflicts due to another commit.
>
&
Terry J. Reedy added the comment:
For the recommendation actually put in the devguide, change 'random position'
to 'position near but not at the top'.
https://docs.python.org/devguide/committing.html#news-entries ends with
"A nice trick to make Mercurial’s autom
Terry J. Reedy added the comment:
If we put news items in a database keyed by issue number (and I think it
reasonable that all news-worthy patches should have a tracker issue), then
there would be no conflicts. (We already avoid simultaneous commits to the same
issue.) If the database had
Terry J. Reedy added the comment:
Moving News items from the repository to the tracker, where I think they
initially belong anyway, would also remove them as an issue for a future gating
system.
--
___
Python tracker
<http://bugs.python.
Terry J. Reedy added the comment:
A sequential log of commit messages for a particular branch would give one an
even better snapshot view of activity since not all commits have news messages
and even when they do, commit messages sometimes have additional info. But see
below.
The essence of
Terry J. Reedy added the comment:
My concern with a file for each entry is a possible slowdown of some
operations, like TortoiseHg resyncing the diff between repository and working
directory (it is not instantaneous even now). However, if there are multiple
directories and if they are emptied
Changes by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Terry J. Reedy added the comment:
I applied my patch as part of #21284. When I did so, I added 'limit=70' so that
the tests pass otherwise unchanged. The only thing left here is to change
config-main.def.
--
___
Python trac
Changes by Terry J. Reedy :
--
Removed message: http://bugs.python.org/msg216987
___
Python tracker
<http://bugs.python.org/issue21138>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
The unlinked push message was for #21139.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue21138>
___
___
Terry J. Reedy added the comment:
I put 21138 in the commit message. The push messages are these.
New changeset 374746c5dedc by Terry Jan Reedy in branch '2.7':
Issue #21138: Change default reformat paragraph width to PEP 8's 72.
http://hg.python.org/cpython/rev/374746c5dedc
Terry J. Reedy added the comment:
Serhiy, is this something you can review?
--
nosy: +serhiy.storchaka
___
Python tracker
<http://bugs.python.org/issue4
Terry J. Reedy added the comment:
A patch against default, including a test, would be helpful.
--
___
Python tracker
<http://bugs.python.org/issue4913>
___
___
Changes by Terry J. Reedy :
--
title: Use multiprocessing in compileall script -> Compileall script: add
option to use multiple cores
___
Python tracker
<http://bugs.python.org/issu
Terry J. Reedy added the comment:
I am on the fence as to whether this should be treated as a bug fix or
enhancement. Claudiu's pydev post gives this as the current
InteractiveInterpreter behavior.
--
>>> try:
...1 / 0
... except ZeroDivisi
Terry J. Reedy added the comment:
The link in the first message does not work. This should:
https://docs.python.org/devguide/documenting.html
The section under discussion, which pydev controls, as opposed to the full .rst
doc at http://docutils.sourceforge.net/rst.html, is
https
Terry J. Reedy added the comment:
There are no versions for the devguide. There is another misplaced role:
:
option
A command-line option of Python. The leading hyphen(s) must be included. If
a matching cmdoption directive exists, it is linked to. For options of other
programs or scripts
Terry J. Reedy added the comment:
With respect to editing final peps, I think this issue should be closed. The
current PEP 1 statement accurately describes what we do, which is that in
general we do not edit final peps. Moreover, Chris has not submitted a patch
and I doubt anyone else knows
Terry J. Reedy added the comment:
The only change is that '25' is now '28'.
A possible solution, without changing Sphinx, is to reduce the headers to a
couple of words and put the question under the header, possibly in italics.
*Q. How do I do this difficult thing?*
A. D
Changes by Terry J. Reedy :
--
status: open ->
title: Bizarre help -> Document '/' in signatures
___
Python tracker
<http://bugs.python.org/issue21314>
___
Changes by Terry J. Reedy :
--
versions: +Python 3.5 -Python 3.1, Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue21321>
___
___
Python-bug
Terry J. Reedy added the comment:
Generic ideas like this, without specific patch or patch prospect, should be
first posted on python-ideas. You can reopen this if there is a concrete
proposal with some support.
However, I agree with Brett about an Exif module. We do not even have an image
Changes by Terry J. Reedy :
--
nosy: +serhiy.storchaka
___
Python tracker
<http://bugs.python.org/issue21337>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
This appears to be a tcl/tk(ttk) issue. You rediscovered what is documented
here:
http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/ttk-Entry.html
Table 40. ttk.Entry options
fontUse this option to specify the font of the text that will appear in the
Changes by Terry J. Reedy :
--
versions: -Python 3.1, Python 3.2
___
Python tracker
<http://bugs.python.org/issue8387>
___
___
Python-bugs-list mailing list
Unsub
Changes by Terry J. Reedy :
--
assignee: tim.peters -> terry.reedy
___
Python tracker
<http://bugs.python.org/issue18944>
___
___
Python-bugs-list mai
Changes by Terry J. Reedy :
--
resolution: -> fixed
stage: needs patch -> resolved
status: open -> closed
type: -> behavior
___
Python tracker
<http://bugs.python
New submission from Terry J. Reedy:
https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements
"An augmented assignment expression like x += 1 can be rewritten as x = x + 1
to achieve a similar, but not exactly equal effect. In the augmented version, x
is
Terry J. Reedy added the comment:
Augmented assignment confuses enough people that I think we can improve the
doc. In #21358 I suggest an augmented version of the previous claim, about
evaluation just once. I think something here is needed perhaps even more. I
have not decided what just yet
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue21352>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I forgot the # in commit message.
Changeset: 90501 (9a0fc12991e2) Closes 21048: Index 'as' in import and with
statements.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Changes by Terry J. Reedy :
--
dependencies: +Derby: Convert the _sre module to use Argument Clinic, Index
(augmented) assignment symbols
___
Python tracker
<http://bugs.python.org/issue21
Changes by Terry J. Reedy :
--
dependencies: +Index 'as' in import and with statements -Derby: Convert the
_sre module to use Argument Clinic
___
Python tracker
<http://bugs.python.o
Terry J. Reedy added the comment:
Adam P, please don't screw around with the version headers. If you want to
claim that this is a security issue of the type we care about (threats to the
public internet) for patching old releases, and severe enough that we should do
anything about it, s
Terry J. Reedy added the comment:
The new patch adds a docstring with spec template, a second example, and a
crude runall(). I am inclined to push this as a base for further patches -- at
least one to improve runall and others to test more widget classes. These might
be separate issues
Terry J. Reedy added the comment:
New patch. I refined the definition of the parameter for run() in the process
of adding a test for EditorWindow.HelpDialog. This cannot be tested directly.
This example is also a reminder that some files define more than one display
widget.
I should try
Terry J. Reedy added the comment:
Adam P. I politely asked you to leave the headers alone. Since you ignored
that, LEAVE THE HEADERS ALONE! If you continue, you will eventually get banned.
An issue gets dealt with when a volunteer core developer makes it his top
priority. In the past 24
Terry J. Reedy added the comment:
Nick, do you agree that this should be treated as a bug (apply to all 3
versions)?
Should debug messages be 'print'ed, sent to stderr, or go through the warnings
module?
--
___
Python trac
Changes by Terry J. Reedy :
Removed file: http://bugs.python.org/file35096/18104-htest2.diff
___
Python tracker
<http://bugs.python.org/issue18104>
___
___
Python-bug
Changes by Terry J. Reedy :
Removed file: http://bugs.python.org/file35099/18104-htest3.diff
___
Python tracker
<http://bugs.python.org/issue18104>
___
___
Python-bug
Terry J. Reedy added the comment:
Defective patches removed and replaced with one that includes current htest.py
and should have proper (unix) line endings.
--
Added file: http://bugs.python.org/file35116/18104-htest4.diff
___
Python tracker
<h
New submission from Joshua J Cogliati:
The -3 option should warn about str to bytes conversions and str to bytes
comparisons:
For example in Python 3 the following happens:
python3
Python 3.3.2
Type "help", "copyright", "credits" or "license" for mo
Terry J. Reedy added the comment:
Here are my notes on modules that should probably be included in htest. Most
have some end-of-module test now, many with errors.
--
Added file: http://bugs.python.org/file35119/18104-htest.txt
___
Python tracker
Terry J. Reedy added the comment:
If the purpose of backporting .format was/is to help people writing
forward-looking code, or now, to write 2&3 code, then it should work like
.format in 3.x, at lease when the format string is unicode.
--
nosy: +terry.reedy
stage: needs p
Terry J. Reedy added the comment:
Audioop was not removed in 3.x; the security bugs have been fixed; and no
lawsuit. I agree with Aaron about modifying 2 files. I would also change
'shamelessly stolen' to 'taken'. IP is no longer something to joke about.
--
nosy: +
Changes by Terry J. Reedy :
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
priority: high -> normal
title: Reimplement audioop because of copyright issues -> Document license
under which audioop is used
___
Pytho
Changes by Terry J. Reedy :
--
title: format method: c presentation type broken -> format method: c
presentation type broken in 2.7
___
Python tracker
<http://bugs.python.org/iss
Joshua J Cogliati added the comment:
Hm. That is a good point. Possibly it could only be done when
from __future__ import unicode_literals
has been used. For example:
python2 -3
Python 2.7.5
Type "help", "copyright", "credits" or "license" for mor
Terry J. Reedy added the comment:
Thank you Zach.
--
___
Python tracker
<http://bugs.python.org/issue18604>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
3.1 to 3.3 only get internet security patcches, and I don't believe this is
such an issue.
It is not clear from the title (a statement, not a request) and your text what
specific patch you would like. If you want to 'reopen a discussion',
Terry J. Reedy added the comment:
A reference to a non-existent attribute fails no matter who calls the function.
Stephen, can you suggest a patch, perhaps based on code in other functions that
try to access _default_root?
--
nosy: +terry.reedy
Changes by Terry J. Reedy :
--
versions: +Python 3.5
___
Python tracker
<http://bugs.python.org/issue21414>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
The generic error message for the first is 'False is not true'. Clear but
useless. The error message for the second is the more specific ' is not None'. Since the expression was supposed to evaluate to
None, but did not, it would be helpful
Terry J. Reedy added the comment:
I was thinking the same thing. This appears to be one of the 2.x bugs that have
been fixed in 3.x but not 2.x because backporting the fix might break working
code. If there another sensible fix that would be acceptable in 2.x
Terry J. Reedy added the comment:
Yes, new issue.
--
___
Python tracker
<http://bugs.python.org/issue18314>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
versions: +Python 3.4 -Python 3.3
___
Python tracker
<http://bugs.python.org/issue21425>
___
___
Python-bugs-list mailing list
Unsub
Terry J. Reedy added the comment:
I compile 32 bit debug binaries from repository with the free VC++ express
2010. I presume the 'install' option works.
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.o
Terry J. Reedy added the comment:
I suggest at least a patch per chapter (3.x.y, 4.x.y, 6.x.y, ...).
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue21
Terry J. Reedy added the comment:
Creating issues with patches, so others can comment, is a good idea even when
you have commit rights. Adding yourself to
https://docs.python.org/devguide/experts.html#experts
is a good way to test new commit rights
Terry J. Reedy added the comment:
Steve, I am *really* glad you caught this. We obviously need a new test
somewhere that would have caught this before the release. How is the installer
tested now? Is it run and the installed python tested with the test suite? If
so, a new idle test that runs
New submission from Terry J. Reedy:
Add test_idle/test_startup to test that Idle starts without obvious error with
any of idlelib/idle.(bat, py, pyw). Test should presumably use subprocess. Look
at test.support.interactive_python for either direct use or as a model. It in
turn uses
New submission from Terry J. Reedy:
EditorWindow.py has this function, applied to editor and shell windows, which
is obsolete for Python3 and unicode identifiers.
def fixwordbreaks(root):
# Make sure that Tk's double-click and next/previous word
# operations use our definition
New submission from Terry J. Reedy:
#18104 created idle_test/htest.py. Besides adding more tests in other issues,
some possible improvements to htest itself follow. Many depend on not reusing
run, as it now it, in the runall loop. What is left in common to both might be
factored out.
* For
Changes by Terry J. Reedy :
--
assignee: -> terry.reedy
stage: -> needs patch
type: -> enhancement
versions: +Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35221/21477-htest.txt
___
Python track
Terry J. Reedy added the comment:
The revised patch, as pushed, will serve as a base for this portion of
Saimadhav's GSOC project. #21477 proposes changes to htest itself. Adding tests
from other modules will be dependencies of that issue.
--
resolution: -> fixed
stage: patc
Terry J. Reedy added the comment:
>Due to the risk of breaking existing user code which uses these private
>functions, they should be left with old signature and new functions should be
>added.
The reason we make things private is so we don't have to do this. Why would you
mak
Terry J. Reedy added the comment:
For the benefit of anyone finding this in a search, I fixed the title to match
the actual request. UTF-8 *is* already the default encoding in 3.x, and
upgrading to 3.x if at all possible is the best solution to unicode problems.
--
nosy: +terry.reedy
Terry J. Reedy added the comment:
It took me awhile to re-recognize Это из консоли: as 'made in konsole'.
I agree that the discrepancy between Idle shell and console is a bug relative
to a general goal of having them work as nearly the same as possible and
sensible.
> This bug is
Terry J. Reedy added the comment:
Idle 3.x has Martin's patch, except that the 'if' clause is merely commented
out rather than removed. (Perhaps someone wanted to test the removal first. It
should now be deleted.)
My 2.7 Idle has Default Source Encoding ... [x] None. Since t
Changes by Terry J. Reedy :
--
nosy: +pitrou
___
Python tracker
<http://bugs.python.org/issue21468>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
title: Idle: improve idle_test,htest -> Idle: improve idle_test.htest
___
Python tracker
<http://bugs.python.org/issu
Changes by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<http://bugs.python.org/issue21484>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Terry J. Reedy :
--
components: +Library (Lib)
stage: -> test needed
type: -> enhancement
versions: +Python 3.5
___
Python tracker
<http://bugs.python.org/i
Terry J. Reedy added the comment:
Moving discussion to python-ideas was the right thing to do. I am closing this
for the present as there is no concrete accepted idea to write a patch for.
Thomas, if that changes, you can re-open.
--
nosy: +terry.reedy
resolution: -> later
st
Terry J. Reedy added the comment:
Senthil, David, I hope one of you understands this. I looks like a minor fix.
--
nosy: +orsenthil, r.david.murray, terry.reedy
stage: -> test needed
versions: +Python 3.4
___
Python tracker
<http://bugs.pyth
8701 - 8800 of 13135 matches
Mail list logo