Ned Deily added the comment:
OK, glad it works now for now.
--
resolution: - works for me
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21716
___
Changes by Ned Deily n...@acm.org:
--
Removed message: http://bugs.python.org/msg221156
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21716
___
Ned Deily added the comment:
OK, glad it works now for you.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21716
___
___
Python-bugs-list
Tal Einat added the comment:
Alright, so I'm going to use the equivalent of the following code, unless
someone can tell me that something is wrong:
from keyword import iskeyword
from unicodedata import category, normalize
_ID_FIRST_CATEGORIES = {Lu, Ll, Lt, Lm, Lo, Nl,
Vincent Besanceney added the comment:
If I understand it right, in a simple case like this:
class Foo(object):
def __setattr__(self, name, value):
# some logic, then...
super(Foo, self).__setattr__(name, value)
calling super is equivalent to calling object.__setattr__, but
Ezio Melotti added the comment:
IMHO until the code is there, the documentation also should be there -- even if
it just to acknowledge the existence of the code and signal its deprecation.
Whether the code is eventually removed or not it's a separate issue.
--
Ezio Melotti added the comment:
_ID_FIRST_CATEGORIES = {Lu, Ll, Lt, Lm, Lo, Nl,
Other_ID_Start}
_ID_CATEGORIES = _ID_FIRST_CATEGORIES | {Mn, Mc, Nd, Pc,
Other_ID_Continue}
Note that Other_ID_Start and Other_ID_Continue are not
Charles-François Natali added the comment:
Berker, I've committed your patch, thanks!
--
nosy: +neologix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13223
___
Charles-François Natali added the comment:
Committed, thanks!
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
type: resource usage - behavior
versions: +Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
Charles-François Natali added the comment:
If I'm receiving data from a socket (several bytes) and making the
first call to socket.recv(1) all is fine but the second call won't get
any further data. But doing this again with socket.recv(2) instead will
successfully get the 2 bytes. Here is a
Martin v. Löwis added the comment:
The Other_ID_Start property is defined in
http://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
It currently includes 4 characters.
However, I would propose that methods .isidstart and .isidcontinue get added to
the str type if there is a need for them.
Marc-Andre Lemburg added the comment:
On 20.06.2014 16:38, Nick Coghlan wrote:
Nick Coghlan added the comment:
MAL - agreed on the version numbering implications of treating OpenSSL CVE's
as CPython CVE's, but I think Guido pretty much answered that when he
extended the 2.7 EOL to 2020
New submission from Chris Withers:
This code, prior to 3.4:
from testfixtures import Comparison as C
class AClass:
def __init__(self,x,y=None):
self.x = x
if y:
self.y = y
def __repr__(self):
return ''+self.__class__.__name__+''
...
Chris Withers added the comment:
Okay, opened [issue21820].
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18996
___
___
Python-bugs-list
Nick Coghlan added the comment:
I'd say it's actually a bug that the new behaviour is triggering for inputs
that aren't strings.
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21820
Chris Withers added the comment:
Agreed, but even for strings, there really should be an API to control this...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21820
___
Mateusz Loskot added the comment:
FYI, I've got it confirmed fix for the bug in VS has been released [1]
We have fixed this behavior for the next major release, Visual Studio 14. The
fix is present in the Visual Studio 14 CTP that was released earlier this
month.
[1]
Tal Einat added the comment:
What's the reason for checking if the ord is = 128?
It's an optimization. Assuming the majority of characters will be ASCII, most
non-identifier characters will fail this test, thus avoiding the more involved
generic Unicode check.
However, I would propose that
Roundup Robot added the comment:
New changeset 233168a2a656 by Giampaolo Rodola' in branch 'default':
#6916: raise a deprecation warning if using asynchat.fifo
http://hg.python.org/cpython/rev/233168a2a656
--
___
Python tracker rep...@bugs.python.org
Giampaolo Rodola' added the comment:
Signaling the deprecation or just the existence of asynchat.fifo really isn't
worth the effort because the code is no longer used since fifo was replaced
with a deque in python 2.6.
Basically it's dead code and the only reason it remained there is because
Changes by Nick Coghlan ncogh...@gmail.com:
--
priority: low - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1602
___
___
Python-bugs-list
Nick Coghlan added the comment:
The fact Unicode doesn't work at the command prompt makes it look like Unicode
on Windows just plain doesn't work, even in Python 3. Steve, if you (or a
colleague) could provide some insight on getting this to work properly, that
would be greatly appreciated.
Nick Coghlan added the comment:
Steve, another one to look at in the context of improving the Unicode handling
situation at the Windows command prompt.
--
nosy: +steve.dower
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17620
New submission from PierreAugier:
Under Windows 7, with Python 3.4.1 |Anaconda 2.0.1 (64-bit), calling the
function cygwinccompiler.is_cygwingcc of the distutils package leads to a
FileNotFoundError.
I solved the problem for me by adding the argument shell=True in l. 404 of
Steve Dower added the comment:
My understanding is that the best way to write Unicode to the console is
through WriteConsoleW(), which seems to be where this discussion ended up. The
only apparent sticking point is that this would cause an ordering
incompatibility with `stdout.write();
Steve Dower added the comment:
Thanks Nick, but this has a pretty clear scope that may help the Unicode
situation in cmd but doesn't directly relate to it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17620
New submission from Steve:
I am attempting to join a thread after a previous join was interrupted by
Ctrl-C.
I did not find any warning for this case in threading module docs, so I assume
this is legal.
The full test script is attached, but the essential code is:
def work(t):
sleep(t)
Raymond Hettinger added the comment:
If I understand it right, in a simple case like this:
...
calling super is equivalent to calling object.__setattr__,
It is not equivalent. Instances of Foo() would behave equivalently but it
might do something different for subclasses of Foo. If
Sworddragon added the comment:
and if you try to receive less bytes than the datagram size, the rest will be
discarded, like UDP.
I'm wondering how would it be possible then to fetch packets of an unknown size
without using an extremely big buffer.
--
Roundup Robot added the comment:
New changeset f02a563ad1bf by Raymond Hettinger in branch '2.7':
Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks().
http://hg.python.org/cpython/rev/f02a563ad1bf
--
nosy: +python-dev
___
Ezio Melotti added the comment:
It's an optimization. Assuming the majority of characters will be
ASCII, most non-identifier characters will fail this test, thus
avoiding the more involved generic Unicode check.
I don't know what kind of characters are usually received as input. If things
Martin Vignali added the comment:
I'm okay with just testing the first two bytes, it's the method we currently
use for our
internal tools.
But maybe it can be interesting, to add another test, in order to detect
incomplete file
(created when a camera make a recording error for example, and
Roundup Robot added the comment:
New changeset ed73c127421c by Raymond Hettinger in branch '3.4':
Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks().
http://hg.python.org/cpython/rev/ed73c127421c
--
___
Python tracker
paul j3 added the comment:
That original template can also be implemented with a customized 'format_help':
def custom_help(self):
formatter = self._get_formatter()
formatter.add_text('My Program, version 3.5')
formatter.add_usage(self.usage, self._actions,
Raymond Hettinger added the comment:
The tests are failing:
==
ERROR: test_basic (test.test_asynchat.TestFifo)
--
Traceback (most recent call last):
File
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
priority: normal - high
resolution: fixed -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6916
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21635
___
Roundup Robot added the comment:
New changeset b1c7f28f9c0a by Raymond Hettinger in branch 'default':
Issue 21786: Clean-up test_pydoc taking taking advantage of diffing in
unittest.
http://hg.python.org/cpython/rev/b1c7f28f9c0a
--
nosy: +python-dev
Raymond Hettinger added the comment:
Thanks for the patch.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21786
___
Sworddragon added the comment:
It is too late to change the unicode-escape encoding.
So it will stay at ISO-8859-1? If yes I think this ticket can be closed as wont
fix.
--
status: pending - open
___
Python tracker rep...@bugs.python.org
Sworddragon added the comment:
I have retested this with the correct linked version and it is working fine now
so I'm closing this ticket.
--
resolution: - not a bug
status: open - closed
___
Python tracker rep...@bugs.python.org
Martin v. Löwis added the comment:
What version is that patch against? 21249d990428 does not appear to be from
cpython.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21811
Ned Deily added the comment:
All of the patches are against the tips of their branches (as of the other
day). The rev number crept in as a result of the configure patch being applied
via mq against the base patch. Sorry for the confusion.
--
___
Changes by Ned Deily n...@acm.org:
--
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20756
___
___
Python-bugs-list mailing list
Martin v. Löwis added the comment:
I was going to say that the patch is fine as it does not actually refer to
details of unreleased operating systems (i.e. the code using numeric version
comparison is correct whether or not 10.10 ever gets released).
However, some changes do refer to such
Ned Deily added the comment:
I don't disagree with your comment in general but I have it on good authority
that the format of MACOSX_DEPLOYMENT_TARGET is not going to change
unexpectedly. And it will all be a moot point in several weeks when the public
beta appears.
--
Changes by Ned Deily n...@acm.org:
--
nosy: +bquinlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21817
___
___
Python-bugs-list mailing list
Changes by Ned Deily n...@acm.org:
--
nosy: +ezio.melotti, michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21820
___
___
Ryan McCampbell added the comment:
Copying defaults still doesn't give you var positional/keyword arguments, which
means, you have to explicitly check the parameter type, and then add them in. I
still think it would more useful to have an official way of getting all
function parameters from
Martin v. Löwis added the comment:
I disagree. The current decoder implementation is clearly incorrect: the
unicode-escape encoding only uses bytes 128. So decoding non-ascii bytes
should fail. So the examples in msg217021 should all give UnicodeDecodeErrors.
As this is an incompatible
Changes by Martin v. Löwis mar...@v.loewis.de:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14457
___
___
Mark Lawrence added the comment:
@Steve/Zach any interest in this one?
--
nosy: +steve.dower, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9012
___
Martin v. Löwis added the comment:
Jason: can you please report how exactly you attempted to perform the
installation?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19351
___
Mark Lawrence added the comment:
@Steve/Zach FYI.
--
nosy: +steve.dower, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9194
___
___
Martin v. Löwis added the comment:
I cannot reproduce the issue. In an elevated terminal, I run
msiexec /i python-3.4.1.amd64.msi /qn /l*v python.log ALLUSERS=1
Python installs fine, and does appear in the Remove programs panel.
--
___
Python
Mark Lawrence added the comment:
Can someone do a patch review please, it's way over my head, and set the stage
and versions as appropriate.
--
nosy: +steve.dower, tim.golden, zach.ware
___
Python tracker rep...@bugs.python.org
Marc-Andre Lemburg added the comment:
The unicode-escape codec was used in Python 2 to convert Unicode literals in
source code to Unicode objects. Before PEP 263, Unicode literals in source code
were interpreted as Latin-1. See http://legacy.python.org/dev/peps/pep-0263/
for details.
The
Raymond Hettinger added the comment:
Renee, thanks for the patch. It looks pretty good.
I've reworked a bit to accomplish the following:
* Added a short introductory a short discussion about class variables versus
instance variables. This addresses other questions that tend to arise
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Removed file: http://bugs.python.org/file35716/class_instance_variables.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11974
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
Added file: http://bugs.python.org/file35717/class_instance_variables.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11974
___
Terry J. Reedy added the comment:
I played around for a couple of hours, but am not sure what I want to do other
than catching currently uncaught turtle.Terminator (in another issue). I might
want to try my original idea of just using grid, without PanedWindow.
Another idea is to ttk widgets,
Peter Santoro added the comment:
I believe I may have hit a related issue yesterday. I'm using Python 3.3.5 (32
and 64 bit) and 3.4.1 (32 and 64 bit) releases all on the same Windows
7SP1/64bit PC (patched with latest MS updates). The Tkinter applications that
I wrote and have been using
Mark Lawrence added the comment:
@Petri/Illirgway could one of you produce a new patch including the code change
and a test for this?
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
As issue10084 has been closed won't fix then the same must apply here.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16976
___
Mark Lawrence added the comment:
Other asyncore issues have been closed as won't fix as it's been deprecated
in favour of asyncio. I assume the same applies here.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
I don't know where we stand with this as it references asyncore which is
deprecated in favour of asynio, can someone please advise.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Raymond Hettinger added the comment:
The core idea is reasonable.
The patch overreaches by adding readonly warnings to __setitem__ and
__delitem__ which will spew-out on every call (these could be ignored or set to
warn once by the user but that is PITA).
Minor nit. We have a little PEP-8
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +email
nosy: +barry, r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21815
___
Raymond Hettinger added the comment:
Updated patch (with tests and docs).
--
nosy: +tim.peters
versions: +Python 3.5 -Python 3.3
Added file: http://bugs.python.org/file35718/multirelease.diff
___
Python tracker rep...@bugs.python.org
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray, serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21820
___
Kovid Goyal added the comment:
You cannot assume the file like object passed to imghdr is seekable. And IMO it
is not the job of imghdr to check file validity, especially since it does not
do that for all formats.
--
___
Python tracker
New submission from Terry J. Reedy:
When a turtle update operation cannot finish because the underlying canvas has
been cleared (when the STOP button is pushed), turtle.Terminator is raised.
When turtledemo runs the main function of a demo, it catches any Termininator
raised before main
Roundup Robot added the comment:
New changeset a43d03cdf38b by Terry Jan Reedy in branch '2.7':
Issue #21823: Catch turtle.Terminator exceptions in turtledemo.
http://hg.python.org/cpython/rev/a43d03cdf38b
New changeset 1ae2382417dc by Terry Jan Reedy in branch '3.4':
Issue #21823: Catch
Terry J. Reedy added the comment:
In 2.7, the exception in tick occurred at tracer(False), so I moved try: up in
all patches.
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Claudiu Popa added the comment:
Hello. Here's a patch based on c4f92b597074, which adds something similar to
multiprocessing.pool.
The output after the patch is:
concurrent.futures.process.RemoteTraceback:
Traceback (most recent call last):
File
Changes by Claudiu Popa pcmantic...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21527
___
___
New submission from Terry J. Reedy:
When Demo/turtle/turtleDemo.py is run and the user selects any of the 3 Help
menu entries, the filename is displayed in the test viewer instead of the file
contents. The bug is that the 3 showxyz functions call textView.TextViewer
directly, with the
77 matches
Mail list logo