Serhiy Storchaka added the comment:
Here is a patch which makes IPv4Address and IPv6Address more lightweight (for
other classes the size is not so important). It makes _version the class
attribute and adds __slots__.
--
keywords: +patch
resolution: wont fix -
stage: - patch review
New submission from Lukas Barth:
Hi!
Since there is no separate bug tracker for pysha3 (and it is being discussed in
some other bug on this tracker), I figured that this is the right place to file
this bug. I hope I'm right.
I'm trying to import pysha3, and it fails with the error
New submission from Clément:
From https://docs.python.org/3/howto/unicode.html:
For a while people just wrote programs that didn’t display accents.
In the mid-1980s an Apple II BASIC program written by a French
speaker might have lines like these:
PRINT FICHIER EST COMPLETE.
PRINT
Changes by irdb dalba.w...@gmail.com:
--
nosy: +irdb
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue433030
___
___
Python-bugs-list mailing list
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +haypo, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23109
___
___
Benjamin Peterson added the comment:
pysha3 has been compiled against a debug build of Python and you are running an
non-debug one.
--
nosy: +benjamin.peterson
resolution: - third party
status: open - closed
___
Python tracker
Lukas Barth added the comment:
D'Oh. Thanks for the hint. So, is it on purpose that there is some piece of
software that's only working on debug builds installable via pip? There was no
warning whatsoever when I installed pysha3 via pip..
--
resolution: third party -
status: closed -
R. David Murray added the comment:
Heh, I never claimed I understood French, but none of our French speakers
decided to review my fake-french examples :)
(I can't speak to the examples from the unicode howto.)
--
nosy: +r.david.murray
___
Python
R. David Murray added the comment:
I doubt that it is on purpose, but it is not a CPython bug. You have one bug
in pysha3 (a third party product) and one possible bug (I don't know enough to
know if it is one) in pip, which has its own tracker (we track *ensurepip* bugs
here, but not pip
New submission from Robert Snoeberger:
The documentation for the Py_SetPath API does not indicate if the argument
should point to a wide character array in static storage. However, the
documentation for Py_GetPath says, The returned string points into static
storage; the caller should not
Roundup Robot added the comment:
New changeset 08972a47f710 by Benjamin Peterson in branch '3.4':
doucment that Py_SetPath copies its argument (closes #23110)
https://hg.python.org/cpython/rev/08972a47f710
New changeset edf4ea3cfe68 by Benjamin Peterson in branch 'default':
merge 3.4 (#23110)
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19776
___
___
Python-bugs-list
Eric Snow added the comment:
@sbromberger, there's no need for your own package. Just use something like
this:
_addr_cache = {}
def ipaddr(addr):
try:
return _addr_cache[addr]
except KeyError:
_addr_cache[addr] = ipaddress.ipaddress(addr)
return
Josh Rosenberg added the comment:
Serhiy: I believe you need to add a bunch of __slots__ = () to various base
classes in the module, even though they lack member variables. Every link in
the inheritance chain must declare __slots__, or the child class will have
__dict__ and __weakref__.
sorin added the comment:
Can't we do something about this bug? I think that most python devs are
ignoring the severity of this one, especially because it does break
distribution of packages (or at least their testing)
On OS X the experience is awful as --user doesn't work at all and as a
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22231
___
___
Python-bugs-list mailing
Roundup Robot added the comment:
New changeset 55462210ba2d by Benjamin Peterson in branch '2.7':
improve incorrect French (#23109)
https://hg.python.org/cpython/rev/55462210ba2d
New changeset 2c87dd2d821e by Benjamin Peterson in branch '3.4':
improve incorrect French (#23109)
New submission from varde:
When trying to connect to a server which only supports TLS version 1.1 or 1.2,
the following error is raised:
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:598)
For some reason, the SSL version is set to ssl.PROTOCOL_TLSv1 before
Roundup Robot added the comment:
New changeset 181dfe9288d4 by Benjamin Peterson in branch '3.4':
update correct French examples (#23109)
https://hg.python.org/cpython/rev/181dfe9288d4
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 126aff7c6a33 by R David Murray in branch '3.4':
#23040: Clarify treatment of encoding and errors when component is bytes.
https://hg.python.org/cpython/rev/126aff7c6a33
New changeset 367ba031a743 by R David Murray in branch 'default':
Merge:
R. David Murray added the comment:
Thanks, Wojtek.
--
resolution: - fixed
stage: - resolved
status: open - closed
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23040
R. David Murray added the comment:
Is there any way to write a test for this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22932
___
___
R. David Murray added the comment:
This issue is marked for 2.7, 3.4, and 3.5, but the test runs only on 3.5.
--
assignee: - eric.araujo
nosy: +r.david.murray
stage: commit review - patch review
___
Python tracker rep...@bugs.python.org
Changes by Akira Li 4kir4...@gmail.com:
--
nosy: +akira
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22932
___
___
Python-bugs-list mailing list
Akira Li added the comment:
Two minor details:
1. It is possible that `fileno(stdout) != 1` even in C [1].
I don't know what happens if the code from the answer is
run on Windows.
In principle, it may break eryksun's workaround. I don't
know how likely it is in practice.
2. you
25 matches
Mail list logo