[issue20047] bytearray partition bug

2013-12-21 Thread Mark Lawrence
Mark Lawrence added the comment: I believe that all methods should act the same, but they don't as a result of the work done in issue12170. E.g. find will accept integer input but split will not. Given this comment at the top of test_bytes.py "XXX This is a mess. Common tests should be move

[issue20049] string.lowercase and string.uppercase can contain garbage

2013-12-21 Thread R. David Murray
R. David Murray added the comment: In python2, string.lowercase and string.uppercase are locale dependent. This isn't really all that useful in practice, which is why it was dropped in Python3. The proposed fix might be correct, *if* utf-8 is checked for (see, eg, Issue 6525), but...do you h

[issue20049] string.lowercase and string.uppercase can contain garbage

2013-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The reason is that with UTF-8 locale islower()/isupper() and similar > functions are not expected to work with non-ascii symbols. Can you explain why? -- nosy: +pitrou ___ Python tracker

[issue20046] Optimize locale aliases table

2013-12-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > * the patch seems to include some unrelated changes, e.g. the > devanagari fixes and a few new mappings May be. In any case I have added issue20027 as dependency. New mappings were added when enable UTF-8 locales in makelocalealias.py (I can split this in

[issue12226] use HTTPS by default for uploading packages to pypi

2013-12-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: eric.araujo -> versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue12226] use HTTPS by default for uploading packages to pypi

2013-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 32a39ec6bd75 by Antoine Pitrou in branch '2.7': Issue #12226: HTTPS is now used by default when connecting to PyPI. http://hg.python.org/cpython/rev/32a39ec6bd75 -- nosy: +python-dev ___ Python tracker <

[issue12226] use HTTPS by default for uploading packages to pypi

2013-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b5cd6d4d149 by Antoine Pitrou in branch '3.2': Issue #12226: HTTPS is now used by default when connecting to PyPI. http://hg.python.org/cpython/rev/2b5cd6d4d149 New changeset e5a9755c967c by Antoine Pitrou in branch '3.3': Issue #12226: HTTPS is no

[issue12226] use HTTPS by default for uploading packages to pypi

2013-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Closing as fixed, and opening a new issue for cert checking. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker __

[issue20050] distutils should check PyPI certs when connecting to it

2013-12-21 Thread Antoine Pitrou
New submission from Antoine Pitrou: Spun off from #12226: distutils now uses HTTPS by default to connect PyPI, but certs aren't checked at all. -- components: Library (Lib) messages: 206800 nosy: Giovanni.Bajo, alexis, benjamin.peterson, christian.heimes, dstufft, eric.araujo, georg.br

[issue11379] Remove "lightweight" from minidom description

2013-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 39ea24aaf0e7 by Antoine Pitrou in branch '2.7': s/lightweight/minimal/, as per issue #11379. http://hg.python.org/cpython/rev/39ea24aaf0e7 New changeset b63258b6eb4d by Antoine Pitrou in branch '3.3': s/lightweight/minimal/, as per issue #11379. htt

[issue17538] Document XML Vulnerabilties

2013-12-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue17123] Add OCSP support to ssl module

2013-12-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- type: security -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue20041] TypeError when f_trace is None and tracing.

2013-12-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +belopolsky, georg.brandl, serhiy.storchaka stage: -> patch review versions: +Python 3.3 ___ Python tracker ___

[issue19927] Path-based loaders lack a meaningful __eq__() implementation.

2013-12-21 Thread Nick Coghlan
Nick Coghlan added the comment: That reminds me: I ended up working around this in the runpy tests by only checking the loader type was correct in the module specs. With an improved definition of equality for loaders, the runpy tests could be both simplified *and* made more rigorous at the same t

[issue19927] Path-based loaders lack a meaningful __eq__() implementation.

2013-12-21 Thread Eric Snow
Eric Snow added the comment: Yeah, it was while writing tests that I ran into this. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue19927] Path-based loaders lack a meaningful __eq__() implementation.

2013-12-21 Thread Larry Hastings
Larry Hastings added the comment: So can you tell me how this will make users' lives easier? I don't really understand the issues involved. But the only concrete thing I've seen mentioned is making testing easier, and that's not worth breaking feature freeze over. -- __

[issue19927] Path-based loaders lack a meaningful __eq__() implementation.

2013-12-21 Thread Eric Snow
Eric Snow added the comment: Right now say you have 2 module specs that are the same. The only difference is that the 2 loaders are not the same instance (they were created separately with the same arguments, ergo equal). The two specs will not compare as equal even though they are equal. I

[issue19927] Path-based loaders lack a meaningful __eq__() implementation.

2013-12-21 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, I think we can safely leave this to 3.5. -- priority: high -> normal versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ __

[issue19927] Path-based loaders lack a meaningful __eq__() implementation.

2013-12-21 Thread Nick Coghlan
Nick Coghlan added the comment: Importer writers are already used to __loader__ being annoying, and comparting specs for equality is unlikely to be a common thing (and easily worked around by comparing spec.origin instead) -- ___ Python tracker

[issue20049] string.lowercase and string.uppercase can contain garbage

2013-12-21 Thread Alexander Pyhalov
Alexander Pyhalov added the comment: Honestly, I don't understand locale-related things good enough. But I received this explanation when discussed similar issue in illumos developers mailing list. http://comments.gmane.org/gmane.os.illumos.devel/14193 2013/12/22 Antoine Pitrou > > Antoine Pit

[issue20049] string.lowercase and string.uppercase can contain garbage

2013-12-21 Thread Alexander Pyhalov
Alexander Pyhalov added the comment: I've discussed this once more. >From islower man page: RETURN VALUES If the argument to any of the character handling macros is not in the domain of the function, the result is undefined. And (char)128-255 are not legal UTF-8 (at least what I

[issue19940] ssl.cert_time_to_seconds() returns wrong results if local timezone is not UTC

2013-12-21 Thread gudge
gudge added the comment: Akira, I will fix it. I will put in the patch in the same bug. -- ___ Python tracker ___ ___ Python-bugs-list

<    1   2