Connor Osborn added the comment:
In 2.7 there is no documented command *print, the docs are explicit on this
(it's just the built in statement). However, 3.4 treats print like a feature of
2.7. Is this to maintain backwards compatibility? I would suggest preserving
the original direction of
Tim Golden added the comment:
Closing as Works for me in the absence of any clear proposal for docs
improvement.
--
resolution: - works for me
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Brett Cannon added the comment:
Decorator sounds reasonable.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19079
___
___
Python-bugs-list
Brett Cannon added the comment:
Actually, one perk of the ranges is 2n3 can be auto-calculated.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19079
___
Giampaolo Rodola' added the comment:
I believe the problem is the set of next_retr_data attribute here:
def test_retrlines_too_long(self):
self.server.handler.next_retr_data = 'x' * self.client.maxline * 2
...because self.server.handler runs in a different thread (different than
Barry A. Warsaw added the comment:
On Sep 24, 2013, at 01:12 PM, Giampaolo Rodola' wrote:
Giampaolo Rodola' added the comment:
I believe the problem is the set of next_retr_data attribute here:
def test_retrlines_too_long(self):
self.server.handler.next_retr_data = 'x' *
R. David Murray added the comment:
Looks good to me.
This seems like a mistake in the python3 port to me. I'm in favor of fixing it
as a bug. As release manager and pdb expert, what do you think, Georg?
--
___
Python tracker
New submission from Vajrasky Kok:
Lib/xmlrpc/client.py tries to connect to http://time.xmlrpc.com/RPC2 which has
been dead for a while. I see there is no light in the end of tunnel. Since
this code is meant to be a demo not a general purpose tool, I say why don't we
direct it to localhost
Changes by Vajrasky Kok sky@speaklikeaking.com:
Removed file: http://bugs.python.org/file31856/xmlrpc_server_client_demo.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19082
___
Changes by Vajrasky Kok sky@speaklikeaking.com:
Added file: http://bugs.python.org/file31857/xmlrpc_server_client_demo.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19082
___
New submission from Pepijn de Vos:
RFC 3490 states that The ACE prefix for IDNA is xn-- or any capitalization
thereof.
But the following does not work
str(bXN--pythn-mua.org., idna)
--
components: Library (Lib)
files: upper-idna.patch
keywords: patch
messages: 198360
nosy:
R. David Murray added the comment:
Sure :)
If you want some bonus points, can you figure out whether or not the test in
test_xmlrpc_net is worth moving to test_xmlrpc using a similar local-server
approach, or if it is redundant and should just be deleted?
(time.xmlrcp.com has come and gone
Gregory P. Smith added the comment:
Here's a fix (the test is now in the patch).
--
keywords: +needs review
stage: - patch review
Added file: http://bugs.python.org/file31860/issue19081-gps01.diff
___
Python tracker rep...@bugs.python.org
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19084
___
___
Python-bugs-list mailing
New submission from Karl Palsson:
OpenSSL supports TLS-PSK which some people (myself obviously) find to be
substantially easier to use than setting up certs.
However, there's no way to use PSK via the current SSL api in python. It would
be very nice to be able to use PSK from python.
For
Jesús Cea Avión added the comment:
Python 2.7 is open only for bugfixes. No new features.
Do you dare to write a patch for Python 3.4? :-). If you do, remember to sign a
Contributor Agreement.
Give it a try! :)
--
nosy: +jcea
versions: -Python 2.7
Changes by Roger Light ro...@atchoo.org:
--
nosy: +ralight
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19084
___
___
Python-bugs-list mailing
Changes by Daniel Stutzbach stutzb...@google.com:
--
nosy: +stutzbach
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19081
___
___
Python-bugs-list
Antoine Pitrou added the comment:
Is it different from TLS SRP, which already has a feature request in issue11943?
As Jesus said, feel free to propose a patch, even a proof of concept so that we
start discussing the API.
--
nosy: +christian.heimes, giampaolo.rodola, janssen, pitrou
New submission from Serhiy Storchaka:
The proposed patch adds tests for all options of all widgets. They test that
widgets support all documented options, accepts valid values in different
formats, reject invalid values, and return values in expected format. This
would be helpful for
Serhiy Storchaka added the comment:
Most existing implementation produce just index. That is why weighted_choice()
accepts singular weights list and returns index. On the other hand, I think
working with mapping will be wished feature too (especially because Counter is
in stdlib). Indexable
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17618
___
___
Python-bugs-list mailing
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19077
___
___
Python-bugs-list
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1820
___
___
Python-bugs-list
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19050
___
___
Python-bugs-list
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: test_ioencoding_nonascii (test_sys) fails on Snow Leopard -
test_sys.test_ioencoding_nonascii() fails with ASCII locale encoding
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Here is a patch.
--
Added file: http://bugs.python.org/file31862/ftplib_maxline.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16038
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19046
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Shouldn't FS_NONASCII be None with ASCII locale encoding?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19058
___
STINNER Victor added the comment:
Shouldn't FS_NONASCII be None with ASCII locale encoding?
See the description of the variable in test.support:
# FS_NONASCII: non-ASCII character encodable by os.fsencode(),
# or None if there is no such character.
The file system encoding an the locale
Barry A. Warsaw added the comment:
On Sep 24, 2013, at 09:59 PM, Serhiy Storchaka wrote:
Added file: http://bugs.python.org/file31862/ftplib_maxline.patch
This looks great and fixes the test failure problem. Thanks! Serhiy, please
feel free to apply this to the 2.6 branch, or let me know if
Madison May added the comment:
You have me convinced, Serhiy. I see the value in making the two functions
distinct.
For naming purposes, perhaps weighted_index() would be more descriptive.
--
___
Python tracker rep...@bugs.python.org
Changes by Ned Deily n...@acm.org:
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19085
___
___
Python-bugs-list mailing list
Changes by A. Jesse Jiryu Davis je...@emptysquare.net:
--
nosy: +emptysquare
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19071
___
___
R. David Murray added the comment:
Also note that on OS X I believe the fsencoding is always utf-8, but the locale
can of course be something else.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19058
Ethan Furman added the comment:
As discussed on PyDev[1], Enum members are bonafide class attributes, as in
they show on the class, not on the instances.
Documentation patch attached.
[1] https://mail.python.org/pipermail/python-dev/2013-September/128874.html
--
stage: - patch
Ethan Furman added the comment:
Doc patch is in #19011. I'll close this one when that one is closed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19040
___
Changes by Nick Coghlan ncogh...@gmail.com:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18596
___
___
Python-bugs-list
38 matches
Mail list logo