Ned Deily added the comment:
The changesets below should prevent the problem in 3.4.2 and 3.5.0. Since
there are no standard tests for turtle at the moment, there is no testcase for
using a non-default Canvas but one should be added when turtle tests are
(Issue21914 and Issue21916).
New
Changes by Georg Brandl ge...@python.org:
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 8510224e05dc by Georg Brandl in branch 'default':
Closes #2771: test.
http://hg.python.org/test/rev/8510224e05dc
--
resolution: - fixed
stage: test needed - resolved
status: open - closed
___
Python
Roundup Robot added the comment:
New changeset e79d1244d887 by Georg Brandl in branch 'default':
#2771: test baseurl change.
https://hg.python.org/test/rev/e79d1244d887
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
New submission from Martin Panter:
The handler for the “Trailing garbage” error for “uu-codec” uses Python 2 code,
while the copy in the uu” module has the correct Python 3 code.
Please change the line at
https://hg.python.org/cpython/file/775453a7b85d/Lib/encodings/uu_codec.py#l57
to look
New submission from Serhiy Storchaka:
Current implementation of re.LOCALE support for Unicode strings is nonsensical.
It correctly works only on Latin1 locales (because Unicode string interpreted
as Latin1 decoded bytes string. all characters outside UCS1 range considered as
non-words), on
New submission from Drekin:
Key events produced on Windows handles Unicode incorrectly when Unicode
character is produced by dead-key combination.
On my keyboard, (AltGr + M, a) produces several key events, last of which
contains char==a, however, it should contain ∀. Also dead-key sequence
New submission from Brynjar Smári Bjarnason:
In Python 3.4.1 installed with Anaconda. I tried the following
(expecting an OrderedDict as result):
from collections import namedtuple
NT = namedtuple(NT,[a,b])
nt = NT(1,2)
print(vars(nt))
{}
so the result is an empty dict. In Python 3.3.2
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22409
___
New submission from Serhiy Storchaka:
Locale-specific case-insensitive regular expression matching works only when
the pattern was compiled on the same locale as used for matching. Due to
caching this can cause unexpected result.
Attached script demonstrates this (it requires two locales:
Raymond Hettinger added the comment:
so the result is an empty dict.
It works fine for me in the standard distribution:
Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 00:54:21)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type copyright, credits or license() for more information.
Serhiy Storchaka added the comment:
Error messages are already silenced if sys.stderr is None or closed.
sys.stderr.close()
1/0
sys.stderr = None
1/0
I think that such things as _Errbox are application level solutions.
report_callback_exception() is designed to be overwritten for
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
keywords: +easy
nosy: +doerwalter, lemburg, serhiy.storchaka
priority: normal - low
stage: - needs patch
versions: +Python 3.5
___
Python tracker
Serhiy Storchaka added the comment:
Do you want to provide a patch Martin?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22406
___
___
Matthew Barnett added the comment:
The support for locales in the re module is limited to those with 1 byte per
character, and only for a few properties (those provided by the underlying C
library), so maybe it could do the following:
If the LOCALE flag is set, then read the current locale
Brynjar Smári Bjarnason added the comment:
Thanks, I'll report it to Continuum IO.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22409
___
___
Changes by Brynjar Smári Bjarnason bi...@binnisb.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22409
___
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
resolution: - third party
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22409
___
Terry J. Reedy added the comment:
Since traceback.print_exception already uses print statememts, your patch *is*
sufficient to trap the remaining stderr exception. Go ahead.
The doctring for report_callback_exception calls it an 'internal function'. To
me, that implies 'ignore this' rather
Terry J. Reedy added the comment:
And yes, I am thinking about a broader fix for Idle -- replacing stderr None
with something writable.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22384
New submission from Joakim Karlsson:
When I embed Python 3.4 in an existing app, I run in to a few issues when our
app is built in debug mode. I build against the headers, libs and dlls that I
get when installing python, I don't build python myself.
1. When I include python.h it will, via
Roundup Robot added the comment:
New changeset 994a16b51544 by Serhiy Storchaka in branch '2.7':
Issue #22384: An exception in Tkinter callback no longer crashes the program
https://hg.python.org/cpython/rev/994a16b51544
New changeset c62fad86fac3 by Serhiy Storchaka in branch '3.4':
Issue
Serhiy Storchaka added the comment:
Thank you for suggested docstring Terry. There is related question on
StackOverflow:
http://stackoverflow.com/questions/4770993/silent-exceptions-in-python-tkinter-should-i-make-them-louder-how
--
___
Python
Serhiy Storchaka added the comment:
Thank you Aivar for helpful report.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22384
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - not a bug
stage: needs patch - resolved
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17668
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - rejected
stage: - resolved
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11204
___
Roundup Robot added the comment:
New changeset 9d54903a84b5 by Vinay Sajip in branch 'default':
Closes #20537: logging methods now accept an exception instance as well as a
Boolean value or exception tuple. Thanks to Yury Selivanov for the patch.
https://hg.python.org/cpython/rev/9d54903a84b5
New submission from Martin Teichmann:
This patch is supposed to facilitate using the asyncio
package on the command line. It contains two things:
First, a coroutine version of builtin.input, so that
it can be called while a asyncio event loop is running.
Secondly, it adds a new flag to
Guido van Rossum added the comment:
1. Great that you're trying to implement this!
2. But I really recommend that you try to structure this as a 3rd party module
first rather than patching the Python distribution -- it's much harder to get
accepted. Or as a pure-Python patch to asyncio,
Guido van Rossum added the comment:
Actually I expect that if you share an event loop across different processes
via form, everything's a mess -- whenever a FD becomes ready, won't both the
parent and the child be woken up? Then both would attempt to read from it.
One would probably get
Terry J. Reedy added the comment:
https://stackoverflow.com/questions/25750477/python-2-7-8-idle-will-not-open-on-mavericks
-- because one of the two files has 'shift' instead of Shift. When I make a
change in either file (with custom keys being used), the traceback ends
slightly differently
Christian Kleineidam added the comment:
I like the idea of adding a weights keyword to choice and creating an
additional choice_generator() that also takes weights.
A choice_generator() could take a further argument to allow unique choices and
be a generator version of sample().
In some
Yury Selivanov added the comment:
Is there a use case for sharing an event loop across forking?
I don't think so. I use forking mainly for the following two use-cases:
- Socket sharing for web servers. Solution: if you want to have a shared
sockets between multiple child processes, just
Ned Deily added the comment:
I don't have a real Windows setup to test but I would guess this may be Tk
behavior. Perhaps the Tk wiki page on platform-specific keyboard modifier
behaviors will help:
http://wiki.tcl.tk/28331
--
nosy: +ned.deily
Changes by Ned Deily n...@acm.org:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22411
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset 781454f792c4 by Ned Deily in branch '3.4':
Issue #17095: Temporarily revert getpath.c change that added the Modules
https://hg.python.org/cpython/rev/781454f792c4
New changeset d3939f602e1f by Ned Deily in branch 'default':
Issue #17095: merge from
Changes by Ned Deily n...@acm.org:
--
priority: release blocker - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17095
___
___
New submission from Martin Panter:
I noticed that the newline translation in the io.StringIO class does not behave
as I would expect:
text = NL\n CRLF\r\n CR\r EOF
s = StringIO(text, newline=\r\n)
s.getvalue()
'NL\r\nCRLF\r\r\nCR\rEOF' # Why is this not just equal to “text”?
tuple(s)
Martin Panter added the comment:
Some more use cases for temporarily switching error handler in the middle of
writing to a stream:
* Possibly simplify the implementation of sys.displayhook()
* I have done a similar hack at
39 matches
Mail list logo