Syou Ei added the comment:
http://bugs.python.org/issue21602
The smtplib.py also has the same problem.
The EINTR cannot be handled properly.
--
nosy: +meishao
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20611
New submission from Raymond Hettinger:
In IDLE, edit and save a file foo.py.
Then choose File SaveAs.
The dialog box only shows foo, not foo.py
which is irritating when renaming a file or saving a variant of a file.
--
components: IDLE
messages: 219338
nosy: rhettinger
priority: normal
Charles-François Natali added the comment:
If you know it's a duplicate, why create a new issue?
--
resolution: - duplicate
status: open - closed
superseder: - socket.create_connection() doesn't handle EINTR properly
___
Python tracker
Syou Ei added the comment:
@neologix,
May I attach the patch file of smtplib.py for review?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20611
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Added file: http://bugs.python.org/file35398/keymerge2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13742
___
New submission from Wilfried Lübbe:
The documentation
https://docs.python.org/2/library/2to3.html#2to3fixer-standard_error calls the
fixer standard_error. But really its name is standarderror (the filename is
fix_standarderror.py).
Py3.4.1 and Py3.4 docs are the same:
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Removed file: http://bugs.python.org/file35398/keymerge2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13742
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Added file: http://bugs.python.org/file35399/keymerge2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13742
___
Bohuslav Slavek Kabrda added the comment:
I'd really prefer IRC, if at all possible for you :)
When online, I'm usually on #fedora-python, but I can really come any channel
of your choice.
Sorry for the delays in communication, I've got a lot on my plate right now and
I'll probably not be
Florent Xicluna added the comment:
@meishao
Previous comments answer your question :
http://bugs.python.org/issue20611#msg218836
http://bugs.python.org/issue20611#msg218841
--
___
Python tracker rep...@bugs.python.org
Syou Ei added the comment:
@flox
Thank you for your comment.
So we just only modify the socket.py to handle the system level call, is it
right?
Please let me attach the patch file of socket.py for 2.7.2.
--
Added file: http://bugs.python.org/file35400/socket_2_7_2_patch.py
New submission from Serhiy Storchaka:
Proposed patch adds tests for tkinter's classes BitmapImage and PhotoImage.
Some tests are temporary skipped until resolving issue21580.
--
assignee: serhiy.storchaka
components: Tests, Tkinter
files: tkinter_test_images.patch
keywords: patch
Serhiy Storchaka added the comment:
Here is a patch which fixes passing Python bytes to Tcl in Python 3. However it
will be not easy to fix this issue in Python 2.
See also issue21605 which adds tests for Tkinter images (some of them fails
without this patch).
--
assignee:
New submission from rovf:
When I enter Japanese text in a tkinter entry widget, I don't get any visual
feedback while typing; in particular, I don't get the Kanji selection box of
the Kotaeri input method, which makes it impossible to choose the correct Kanji
(try, for example, to type the
New submission from Sasha Ovsankin:
Python 3.4.0 (default, May 20 2014, 20:42:24)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type help, copyright, credits or license for more information.
zip([1, 2, 3], [a, b, c])
zip object at 0x1017c79c8
Python 2.7.5 (default, Mar 9
SilentGhost added the comment:
This is the correct behaviour. In python 3 zip returns an iterator. Detailed
information is available in documentation.
https://docs.python.org/3/library/functions.html#zip
--
nosy: +SilentGhost
resolution: - not a bug
status: open - closed
Eric Snow added the comment:
It may be the correct behavior but that doesn't mean we cannot update the repr
to be more informative. We've already done that for a number of types that
previously used the default __repr__() implementation. So in the case, how
hard would it be to have the
Serhiy Storchaka added the comment:
zip(list_iterator object at 0xb70c7c8c, list_iterator object at
0xb70c7cac) doesn't look more readable to me.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21607
Sasha Ovsankin added the comment:
It's also showing up in iPython. list(...) is a reasonable workaround but I
disagree with the not a bug opinion. This is definitely the regression vs
Python 2. Who else can I talk to about reopening this?
--
___
R. David Murray added the comment:
Added review comments.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19662
___
___
Python-bugs-list mailing
Eric Snow added the comment:
zip(list_iterator object at 0xb70c7c8c, list_iterator object at
0xb70c7cac) doesn't look more readable to me.
Well, that seems more informative to me. Now you know that you're
zipping together two list iterators. By readable do you mean
shorter? In my opinion
Changes by Ned Deily n...@acm.org:
--
nosy: +michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21600
___
___
Python-bugs-list mailing
Ned Deily added the comment:
There are known differences among the various Tk implementations with regard to
how file extensions are handled in Tk file dialogs, like IDLE uses; see
Issue4832. Can you say which version of Tk was in use (it should be in the
About IDLE display) and on what
Roundup Robot added the comment:
New changeset baa7b656 by Eric Snow in branch '3.4':
Issue #21226: fix a ref leak.
http://hg.python.org/cpython/rev/baa7b656
New changeset 57130574d1e8 by Eric Snow in branch 'default':
Issue #21226: Merge from 3.4.
Mark Lawrence added the comment:
How do you display the contents of an iterable without using them up, or have I
grossly overlooked something?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21607
Ned Deily added the comment:
tkinter-based apps depend on the underlying Tk widget for text processing. I
know nothing about the various Japanese input methods on OS X but, in spot
checking of a few, I observed no visual feedback with Katakana selected until I
pressed the Return key, at
Zachary Ware added the comment:
Steve or Tim, did one of you want to commit this since you can run a clean test?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21462
___
Sasha Ovsankin added the comment:
How do you display the contents of an iterable without using them up
In general case you can't, but zip object _is_ reusable iterable so we can
reuse it?
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Here is a patch which fixes warnings.
--
assignee: - serhiy.storchaka
keywords: +patch
stage: - patch review
versions: +Python 2.7, Python 3.5
Added file: http://bugs.python.org/file35403/io_open_resource_warning.patch
Changes by Zachary Ware zachary.w...@gmail.com:
--
nosy: +zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14097
___
___
Python-bugs-list
SilentGhost added the comment:
How do you display the contents of an iterable without using them up
In general case you can't, but zip object _is_ reusable iterable so we can
reuse it?
I think you're misunderstanding what an iterator is or how it functions. Just
to make it clear, it cannot
Maciej Szulik added the comment:
I've implemented all your proposed changes, because for most of your changes I
was thinking pretty the same way for the whole day today, to make the code more
elegant. The current state of work is attached as issue19662_v2.patch
--
Added file:
Sasha Ovsankin added the comment:
Yep, you are right. Even the zip thingy is not reusable. Oh well...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21607
___
New submission from Bikram Zesto II:
HTTPHandler instance will assign a Formatter to format() but emit() never calls
self.format(record) so it has no effect. I know mapLogRecord() does something
like this now but would like to reuse Formatters across Handlers instead of
subclassing
New submission from Miquel Garcia:
In browsing the documentation for datetime.datetime:
https://docs.python.org/2/library/datetime.html
It states that the datetime.datetime.microseconds returns the number of
microseconds but in trying (Python 2.7.1 r271:86832):
import datetime
print
New submission from mattip:
imputil and modulefinder are opening files but not actively closing them. This
causes problems for pypy and is not clean.
--
components: Library (Lib)
files: close_fp_2.7.patch
keywords: patch
messages: 219367
nosy: mattip
priority: normal
severity: normal
SilentGhost added the comment:
Could you provide an actual quote where it refers to
datetime.datetime.microseconds? Are you not by any chance confusing it with
datetime.timedelta.microseconds?
--
nosy: +SilentGhost
___
Python tracker
mattip added the comment:
the issue has already been fixed on HEAD but not backported to 2.7
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21610
___
Miquel Garcia added the comment:
My mistake. Yes you are right, I was confused with the timedelta class.
Sorry for the confusion. Many thanks!
Miquel
--
resolution: - not a bug
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21608
___
___
tholzer added the comment:
Oops, I missed a break statement at the end of socket_2.7.3_eintr_patch.py.
I've fixed this now in the attached patch.
@meishao
Could you please also update your socket_2_7_2_patch.py and add the missing
break statement ?
--
Added file:
Changes by tholzer thol...@wetafx.co.nz:
Removed file: http://bugs.python.org/file35359/socket_2.7.3_eintr_patch.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20611
___
Vinay Sajip added the comment:
HTTPHandler doesn't exactly format text for output - it encodes the LogRecord
fields into an HTTP GET or POST request, and sends that request to a web
server. Since this formatting is determined by the HTTP protocol, it is not
possible to share it with
Josiah Carlson added the comment:
I submitted an issue to the tulip/asyncio bug tracker:
https://code.google.com/p/tulip/issues/detail?id=170
And I am uploading a new patch that only includes non-tulip/asyncio related
changes, as tulip/asyncio changes will eventually be propagated to Python.
Guido van Rossum added the comment:
FWIW while the Tulip changes should indeed go into the Tulip repo first, the
rest should be committed to the CPython 3.5 tree first. Then I'll commit the
Tulip changes, first to the Tulip repo, then to the CPython 3.4 branch (yes!)
and then merge that into
Changes by Syou Ei oss.sh...@gmail.com:
Removed file: http://bugs.python.org/file35400/socket_2_7_2_patch.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20611
___
Syou Ei added the comment:
@tholzer
I've updated socket_2_7_2_patch.py and added the missing break statement.
--
Added file: http://bugs.python.org/file35408/socket_2_7_2_patch.py
___
Python tracker rep...@bugs.python.org
tholzer added the comment:
And a test case for smtplib:
import threading
import signal
import os
import smtplib
def go():
running = True
pid = os.getpid()
def killer():
while running:
os.kill(pid, signal.SIGINT)
signal.signal(signal.SIGINT, lambda x,y:
Changes by paul j3 ajipa...@gmail.com:
--
nosy: +paul.j3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12776
___
___
Python-bugs-list mailing list
49 matches
Mail list logo