Senthil Kumaran added the comment:
Here is the final patch (17483.patch) for this support. I am including Ezio
David for their review comments before I check this in. Thanks!
--
nosy: +ezio.melotti, r.david.murray
Added file: http://bugs.python.org/file29644/17483.patch
Ned Deily added the comment:
I just noticed that the changes committed earlier for this issue added a
reference to the Tcl/Tk 8.6 man pages. Since there are known problems with
using 8.6 with tkinter (for example, Issue16809) and we don't currently ship
8.6 with any of our binary installers,
Charles-François Natali added the comment:
That way the scandir name would be left available for a future version of
this that yields namedtuples of directory entry details as Martin wants to
see.
Which might very w'ell be Nick's walkdir, see issue #13229.
BTW, I'm strongly +1 on this
Antoine Pitrou added the comment:
I'm sorry, I'm -1 on this. It simply doesn't make sense to check the
certificate but skip hostname checking.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17483
Marc-Andre Lemburg added the comment:
On 30.03.2013 13:09, Mark Lawrence wrote:
Is it worth applying the patch given the complete rewrite of unicode for 3.3
via PEP393?
PEP 393 only changed the way Unicode is internally stored.
The Unicode API is mostly unaffected by this change.
Ned Deily added the comment:
Zach, thanks for addressing most of the comments. The Makefile does now work as
intended and more information is retained in the help.txt.
But I'm still troubled by the plaintext rendering, particularly of the inline
code markup. With the `` marks from the
Eric V. Smith added the comment:
Can you show us the code that causes the problem?
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17608
___
Rodney Persky added the comment:
I'd probably revise this to say it's a quirk - not a bug. As looking over
https://bitbucket.org/ambv/configparser/src/4bf6a6d8ebdf6eec068750a2b940944a9b1b2938/configparser.py?at=default
(the configparser source) information is converted to .lower(). So it seems
Terry J. Reedy added the comment:
Great idea. Using a browser to display help text has become pretty common. For
many games, for instance, this has superseded .pdf manuals, which supercedes
paper. Unless there is already a tk extension to display html this seems like a
good idea. We could
Todd Rovito added the comment:
Roger,
Yes I will add another issue covering the enhancement.
Ned,
Thanks for the review. I forgot to mention it but I too tested on the Mac
:-).
--
___
Python tracker rep...@bugs.python.org
New submission from Todd Rovito:
Based on enhancements from this issue:
http://bugs.python.org/issue6698
Comments from Tal Einat
The editor-on-startup config option should be removed. Running IDLE without
arguments should open a shell. If IDLE is asked to open any files for editing,
it
Todd Rovito added the comment:
Ned,
Using a web browser is a great idea I like it because it removes code
from IDLE making IDLE even simpler (and better). Besides it would take us
forever to duplicate some of the functionally that exists in today's modern web
browser.
Zach,
Ronald Oussoren added the comment:
I agree with the change, but keep in mind that at least on OSX a lot of users
start IDLE by double clicking on the IDLE application in the Finder (or
double-clicking a .py file) and as such don't have an easy way to specify the
-e or -i options.
--
Ronald Oussoren added the comment:
d9pouces: are you willing to sign a contributor agreement? The agreement is
needed before we can add these changes to the stdlib, and I'd like to that for
the 3.4 release.
More information on the contributor agreement:
R. David Murray added the comment:
It may not make sense, but I've seen it supported in the wild, in a different
library. Of course, we *did* treat it as a bug in our code and fix it once we
realized that's what the library was doing (we were inadvertently passing it
None for the hostname,
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +lukasz.langa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17608
___
___
d9pouces added the comment:
I just signed this agreement. Thanks for accepting this patch!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14455
___
Guilherme Simões added the comment:
IDLE is widely used by students and should have its most relevant settings
available in the GUI also.
--
nosy: +Guilherme.Simões
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17609
New submission from Zbigniew Halas:
Comparison function slotdef_cmp in Objects/typeobject.c is based on the
assumption that qsort may be stabilised by taking memory addresses of compared
objects into consideration. This assumption is not guaranteed by the C standard
and may not always be
Brett Cannon added the comment:
I'm assuming that the buildbots stabilized so I'm going to go ahead and close
this.
--
nosy: +brett.cannon
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10340
Mark Lawrence added the comment:
Presumably this patch should be accompanied by an equivalent for
_localemodule.c, or am I in cloud cuckoo land?
FTR #1699853 referenced above is closed but it refers to #10466 which is
Windows specific.
--
___
New submission from Mark Shannon:
The handling of pseudo exceptions (return, break and continue) are currently
handled in the interpreter. This make the interpreter loop more complex and
slower than it needs to be. This change moves the handling of pseudo exceptions
into the compiler.
The
Changes by Mark Shannon m...@hotpy.org:
--
keywords: +patch
Added file: http://bugs.python.org/file29646/b16527f84774.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17611
___
Roundup Robot added the comment:
New changeset 4fcd50a6dca7 by Brett Cannon in branch 'default':
Issue #14135: Make sure tests don't leave the locale changed for any
http://hg.python.org/cpython/rev/4fcd50a6dca7
--
nosy: +python-dev
___
Python
Brett Cannon added the comment:
Sorry it took so wrong to get to this. It simply fell out of my purview.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14135
Roundup Robot added the comment:
New changeset 4ed8a8e781c3 by Antoine Pitrou in branch 'default':
Issue #17483: remove unreachable code in urlopen().
http://hg.python.org/cpython/rev/4ed8a8e781c3
--
nosy: +python-dev
___
Python tracker
Antoine Pitrou added the comment:
I had to back out this changeset as it totally broke the test suite here:
[ 91/372/90] test_defaultdict
test test_defaultdict crashed -- Traceback (most recent call last):
File /home/antoine/cpython/default/Lib/test/regrtest.py, line 1287, in
runtest_inner
Mark Lawrence added the comment:
@Christoph Gohlke any chance of providing a build for 3.3?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2889
___
Brett Cannon added the comment:
Also done in default but since I forgot to say it was a merge for this issue it
didn't add the commit message.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker
Roundup Robot added the comment:
New changeset ac89e7bc0e2f by Brett Cannon in branch '3.3':
Issue #17357: Add missing verbosity messages when running under
http://hg.python.org/cpython/rev/ac89e7bc0e2f
--
nosy: +python-dev
___
Python tracker
Mark Lawrence added the comment:
@Brian,Tim any comments on this? Out of curiosity how does cygwin manage
Python?
--
nosy: +brian.curtin, tim.golden
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
Brett Cannon added the comment:
Can you check the attached patch works for you, Antoine?
--
Added file: http://bugs.python.org/file29647/check_locale.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14135
Brian Curtin added the comment:
None from me. Not familiar with what cygwin does.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6335
___
___
Antoine Pitrou added the comment:
It does, thank you.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14135
___
___
Python-bugs-list mailing list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: -flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7475
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7475
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset dfe04eaa3924 by Brett Cannon in branch 'default':
Issue #14135: Let's try this again.
http://hg.python.org/cpython/rev/dfe04eaa3924
--
___
Python tracker rep...@bugs.python.org
Changes by Brett Cannon br...@python.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14135
___
___
Python-bugs-list
Terry J. Reedy added the comment:
I think whatever we do should be done on all versions. This is not a 'major
rewrite'.
As I remember, installing Python on Windows adds 'edit with IDLE' to the
right-click context menu. I cannot check at the moment because my substitute
machine only has
Senthil Kumaran added the comment:
Antoine - I approached it from idea that check_hostname as a setting is
allowed from HTTPSConnection (http/client.py) but it not controllable from
urllib. Is there a case where it is useful in HTTPSConnection, but it should
not be from urllib?
- Thanks for
Antoine Pitrou added the comment:
Antoine - I approached it from idea that check_hostname as a setting
is allowed from HTTPSConnection (http/client.py) but it not
controllable from urllib. Is there a case where it is useful in
HTTPSConnection, but it should not be from urllib?
Terry J. Reedy added the comment:
I am trying to decide if this issue still serves a purpose. It seems to be a
request to add something to the existing re module. Fredrik semi-rejected the
idea without a (micro)-pep. A python-ideas discussion is now another option.
Matthew's regex
Ezio Melotti added the comment:
We should really just include regex in 3.4.
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1528154
___
Mark Lawrence added the comment:
@Eric looks as if the bulk of the work has been done so would you like to dot
the i's and cross the t's?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7094
Mark Lawrence added the comment:
@Éric I'd be interested in using this as print/pprint are part of my debugging
kit, so could you take this forward please?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7559
___
___
Python-bugs-list
Éric Araujo added the comment:
Still waiting for a review.
--
keywords: +needs review
stage: needs patch - patch review
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6743
Brett Cannon added the comment:
Barry, Eric: can you clarify why you made module_repr an abstractmethod and
thus require its overloading? It seems like its default is fine and you should
only need to overload it when you can say something better than the default.
--
nosy: +barry,
Barry A. Warsaw added the comment:
On Apr 01, 2013, at 07:40 PM, Brett Cannon wrote:
Barry, Eric: can you clarify why you made module_repr an abstractmethod and
thus require its overloading?
Maybe Eric can, but I can't. ;) I honestly don't remember why we made it
abstract, except perhaps
Marc-Andre Lemburg added the comment:
I don't think that's enough documentation for the feature. There's a whole PEP
338 just for the -m option due to the subtle issue associated with the run a
module logic, so I'd expect somewhat more detail or an update of the PEP with
the needed details.
Changes by Marc-Andre Lemburg m...@egenix.com:
--
versions: +Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17359
___
___
Giampaolo Rodola' added the comment:
Being Tulip asynchronous I think that what it needs is an utility function
which returns *multiple* sockets as are the addresses returned by getaddrinfo()
and also possibly even disable the IPv4/6 dual stack in order to be consistent
across all platforms.
Changes by Éric Araujo mer...@netwok.org:
--
versions: -Python 2.6, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17359
___
___
Ezio Melotti added the comment:
Here's a patch.
--
keywords: +patch
stage: - commit review
type: - enhancement
Added file: http://bugs.python.org/file29648/issue17571.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17571
Antoine Pitrou added the comment:
I don't understand how this is supposed to work or what the point is. By
construction, pprint prints a *single* object, and it will split the
representation over several lines if necessary. Therefore the print() semantics
(print several objects one after
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6743
___
___
Python-bugs-list
Terry J. Reedy added the comment:
A corollary of what I said is that if something is a bad idea for 3.3, it is
probably a bad idea for 3.4.
On idle-dev thread Feedback requested on issue 17609: ..., Bruce Sherwood
says For the thousands of students in our intro physics curriculum who use
Ezio Melotti added the comment:
I added a few more comments.
To clarify, when I said two documents, I meant that there will be only a single
HOWTO, but on 2.7 it will be specific to Python 2, whereas on 3.x it will be
specific to Python 3.
--
___
Brett Cannon added the comment:
If Eric doesn't have anything to add then I would like to change
importlib.abc.Loader.module_repr() to no longer be abstract and the default to
be defined as ``return repr(module)``. Else it should be entirely optional and
not have a default implementation, but
Mark Lawrence added the comment:
#7232 has been closed so test_tarfile can presumably now be committed, also
test_os.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7944
Eric V. Smith added the comment:
I was going to blame Barry, but I see he beat me to it :)
It looks like an oversight, and it shouldn't be abstract.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17566
Roundup Robot added the comment:
New changeset 9431a092b708 by Benjamin Peterson in branch '3.3':
list slotdefs in offset order rather than sorting them (closes #17610)
http://hg.python.org/cpython/rev/9431a092b708
New changeset 96c0efe93774 by Benjamin Peterson in branch 'default':
merge 3.3
Benjamin Peterson added the comment:
Thanks for the report. I fixed the 3.3 and 3.4 branches. If you felt motivated
to do the associated shuffling around in 2.7, I would accept a patch.
--
nosy: +benjamin.peterson
___
Python tracker
Barry A. Warsaw added the comment:
On Apr 01, 2013, at 09:04 PM, Brett Cannon wrote:
If Eric doesn't have anything to add then I would like to change
importlib.abc.Loader.module_repr() to no longer be abstract and the default
to be defined as ``return repr(module)``. Else it should be entirely
Amit Saha added the comment:
Thanks Ezio. I am almost done with incorporating the changes suggested and will
submit a patch sometime in the next day or so.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17583
New submission from Eric V. Smith:
In the mail hook, there's a comment that says:
'''
To set the SMTP server to something other than localhost, add a [smtp]
section to your hgrc:
[smtp]
host = mail.python.org
port = 25
'''
This is not true. The default host is '', which tells smtplib.SMTP to
Brett Cannon added the comment:
Totally optional and no default argument it is.
--
assignee: docs@python - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17566
___
Nick Coghlan added the comment:
The previous title was not accurate, as the directory and zipfile execution
feature is documented at
http://docs.python.org/2/using/cmdline.html#interface-options
It is also documented in http://docs.python.org/3/library/runpy#runpy.run_path
--
title:
Changes by Nick Coghlan ncogh...@gmail.com:
--
title: Mention __main__.py explicit in command line docs - Mention
__main__.py explicitly in command line docs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17359
Nick Coghlan added the comment:
There's also a problem where the CLI docs claim __main__.py support was added
in 2.5 - that's not accurate, it was only added in 2.6.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17359
Ezio Melotti added the comment:
Attached a new patch that should address all the points except the last example
with Fibonacci.
--
stage: needs patch - patch review
versions: -Python 3.2
Added file: http://bugs.python.org/file29649/issue14097-2.diff
Terry J. Reedy added the comment:
Garrett, I don't know that any of our active developers use FreeBSD. Is this a
problem with 2.7.3 or 3.3.0 (or 2.7.4 or 3.3.1 when they come out in a week)?
If you have lost interest, please say so and we will close until such time as
it becomes current
Ned Deily added the comment:
This issue has likely been superseded by more recent activity to support mingw,
for example, activity tracked in Issue17605. Roumen?
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
New submission from Raymond Hettinger:
Running ILDE with 2.7.4 RC 1 on Mac OS X 10.8 and with ActiveTCL 8.5.13 using
python -m idlelib.idle, I object the following traceback messages. I'm
unsure what events are triggering it:
Traceback (most recent call last):
File
Raymond Hettinger added the comment:
Additional effect: Destabilizes lots of code that has had a decade to mature.
It messes with the compiler, the eval loop, the peephole optimizer, the
disassembler, every third-party tool that examines or alters byte codes, any
tool or VM that implements
Senthil Kumaran added the comment:
HTTPSConnection is lower-level, so it makes sense to allow more
deviations there. That's why HTTPSConnection also takes the context
directly.
That's okay of an explanation. HTTPSHandler in urllib module provides an option
to send the context and the
Todd Rovito added the comment:
Raymond,
Is then when you simply startup IDLE or are you opening a Python file to
edit? The only reason why I ask about editing a file is because ColorDelegator
is used to by the EditorWindow to perform the syntax hi-lighting (I think). I
have a few Macs so
Mark Lawrence added the comment:
Can issue8913-3.patch be committed or are any further tweaks needed?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8913
___
Senthil Kumaran added the comment:
I think, HTMLParseError should also be defined __all__ (all also servers as
what public classes/methods to look for sometimes and sets some expectation
while reading the code.)
There is no deprecation warning added in the class here.
--
nosy:
Todd Rovito added the comment:
Sorry about using the wrong word, I should of used HowTo not FAQ. I really
meant to suggest replacing guide with the word HowTo. A HowTo would be
perfect Sorry about the confusion. Thanks again.
--
___
Python
Mark Lawrence added the comment:
ftplib_doc.patch is so simple I'm assuming this has slipped under the radar, so
would someone like to do the honours and commit the patch please.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
msg120978 The bug has been fixed upstream Have I missed something as on
Windows Vista...?
c:\Users\Mark\MyPythonpython
Python 3.3.1rc1 (v3.3.1rc1:92c2cfb92405, Mar 25 2013, 22:39:19) [MSC v.1600 32
bit (Intel)] on win32
Type help, copyright, credits or
Ned Deily added the comment:
Setting as 2.7.4 release blocker pending further analysis. Roger, any ideas?
Would having the contents of Raymond's .idlerc files be of help? Raymond, does
IDLE terminate when the exception occurs or does it keep running?
--
nosy: +benjamin.peterson
Benjamin Peterson added the comment:
Well, the fun has been had.
--
nosy: +benjamin.peterson
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17587
Daniel Ellis added the comment:
It was a hell of a ride.
On Mon, Apr 1, 2013 at 10:59 PM, Benjamin Peterson
rep...@bugs.python.orgwrote:
Benjamin Peterson added the comment:
Well, the fun has been had.
--
nosy: +benjamin.peterson
resolution: - rejected
status: open - closed
Terry J. Reedy added the comment:
Do you get the same traceback with python -m idlelib?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17613
___
Ned Deily added the comment:
python -m idlelib isn't implemented for 2.7.x, is it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17613
___
___
Terry J. Reedy added the comment:
I am closing this for lack of evidence that there is a bug in a current release
2.7.3 or 3.3.0 or release candidate for 2.7.4 or 3.3.1. What would be needed is
a self-contained example that shows a problem with one of the above.
--
assignee: tim_one -
Phillip J. Eby added the comment:
Just a note: the zip files produced by the distutils and friends (sdist,
bdist_dumb, eggs) do not include entries for plain directories. I would guess
that this is also true for wheels at the moment, unless something was
specifically done to work around this
Roger Serwy added the comment:
It's a race condition due to ColorDelegator calling .update() in its
recolorize method. The call to .update() flushes pending events, including
callbacks into Python code that can change out the ColorDelegator in the
Percolator chain.
Here's a way to trigger
Terry J. Reedy added the comment:
Yes, idlelib.__main__.py was only added to 3.3.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17613
___
___
Roger Serwy added the comment:
I misworded the first sentence. It should have read: Using bigfile.py as
generated by the program in #17613 can trigger the following traceback when
quickly closing the editor.
Other large files can be used to trigger the bug as well, like Lib/decimal.py.
New submission from Roger Serwy:
Using the bigfile.py generation program from #17613 triggers the following
traceback:
Traceback (most recent call last):
File /usr/bin/idle, line 5, in module
main()
File /usr/lib/python3.3/idlelib/PyShell.py, line 1431, in main
if
Roger Serwy added the comment:
Like #17613, the root cause is a call to .update() in Lib/idlelib/PyShell.py
.restore_file_breaks().
The attached patch fixes the issue.
--
keywords: +patch
stage: - patch review
Added file: http://bugs.python.org/file29651/issue17614.patch
Roger Serwy added the comment:
I received permission from UIUC to relicense IdleX code used for contributions
into Python.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17535
___
Todd Rovito added the comment:
Roger,
I tested the patch and it does seem to function as you describe so feel free
to apply the patch. The tabify function makes me scratch my head a little,
according to help.txt:
Tabify Region -- Turns *leading* stretches of spaces into tabs
Roger Serwy added the comment:
Todd,
Tabify/Untabify are functions to deal with the great tabs vs. spaces debate
(though PEP8 says that spaces are the way to go).
The tabify function needs a minimum of 2 spaces before it replaces it with a
tab.
Its implementation in
Roger Serwy added the comment:
Removing Geoge and Larry from nosy. I'm not sure how they got added. I didn't
click on anything in the Nost List box.
Ned, did you mean to add Benjamin to the nosy list?
--
___
Python tracker rep...@bugs.python.org
Roger Serwy added the comment:
Is there an automatic nosy-list adder routine in the bug-tracker that I should
know about? Georg and Larry were re-added to nosy even after I removed them.
(I'm sorry for the spam.)
--
___
Python tracker
Raymond Hettinger added the comment:
Raymond, does IDLE terminate when the exception occurs
or does it keep running?
It keeps running.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17613
1 - 100 of 108 matches
Mail list logo