[issue18401] Tests for pdb import ~/.pdbrc

2013-07-08 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- assignee: ronaldoussoren - components: -Macintosh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18401 ___

[issue17128] OS X system openssl deprecated - installer should build local libssl

2013-07-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: The file not even empty, it doesn't even exist in default installations. As Ned mentioned the CA roots on OSX are stored in a system database (the keychain). The situation is more or less the same as on Windows: their either needs to be code that queries the

[issue18396] test_signal.test_issue9324() fails on buildbot AMD64 Windows7 SP1 3.x

2013-07-08 Thread Jeremy Kloth
Jeremy Kloth added the comment: This error is reproducible by simply passing '-j' to regrtest on any Windows build so it is not Win64-specific. It seems that when run in a subprocess, certain signals have C handlers that cause the return value of getsignal() to return None which, of course,

[issue10042] functools.total_ordering fails to handle NotImplemented correctly

2013-07-08 Thread Nick Coghlan
Nick Coghlan added the comment: Raymond, one of the devs here at the PyCon AU sprints has been looking into providing an updated patch for this. Do you mind if I reassign the issue to myself to review their patch (once it is uploaded)? -- ___

[issue12645] test.support. import_fresh_module - incorrect doc

2013-07-08 Thread Ben Finney
Ben Finney added the comment: I'm reading the existing `test.support.import_fresh_module` docstring, and have re-formatted it for PEP 257 compliance and for reading clarity. -- keywords: +patch nosy: +bignose Added file:

[issue12645] test.support. import_fresh_module - incorrect doc

2013-07-08 Thread Ben Finney
Ben Finney added the comment: import_fresh_module raises an ImportError if *name* can't be imported, or returns None if the fresh module is not found. The implementation doesn't seem to raise ImportError when a module import fails. Instead, from what I can tell, it captures any ImportError

[issue15415] Add temp_dir() and change_cwd() to test.support

2013-07-08 Thread Indra Talip
Indra Talip added the comment: cleaning up patch so that it will apply cleanly after applying patch from issue15494 -- nosy: +italip Added file: http://bugs.python.org/file30858/issue-15415-4.patch ___ Python tracker rep...@bugs.python.org

[issue15494] Move test/support.py into a test.support subpackage

2013-07-08 Thread Stephen Tonkin
Stephen Tonkin added the comment: Likewise, move_test_support.patch did not break things under OS X 10.8. -- nosy: +sptonkin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15494 ___

[issue10042] functools.total_ordering fails to handle NotImplemented correctly

2013-07-08 Thread Katie Miller
Katie Miller added the comment: Attaching patch with Nick Coghlan's suggested code from msg140493 and associated tests. The tests extend the single test case that had already been added for earlier changes based on this bug. The tests check that a TypeError is raised, rather than a stack

[issue17827] Document codecs.encode and codecs.decode

2013-07-08 Thread Grant
Grant added the comment: codecs module and 'whats new' doc patch for 3.4 -- keywords: +patch nosy: +Grant versions: -Python 2.7, Python 3.3 Added file: http://bugs.python.org/file30860/17827.diff ___ Python tracker rep...@bugs.python.org

[issue10042] functools.total_ordering fails to handle NotImplemented correctly

2013-07-08 Thread Nick Coghlan
Nick Coghlan added the comment: As part of this, I finally reviewed Jim's proposed alternate implementations for the helper functions. Katie's patch used my version while I figured out the differences in behaviour :) The key difference between them relates to the following different

[issue18393] Gestalt() is deprecated on OSX 10.8, remove support?

2013-07-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch removes the use of the Gestalt API. The removed code is effectively dead, I yet have to find a machine were platform._mac_ver_xml does not work and the gestalt based code only gets used when the XML variant does not work. --

[issue18073] pickle.Unpickler may read too many bytes, causing hangs with blocking input stream

2013-07-08 Thread Dylan Radcliffe
Dylan Radcliffe added the comment: What I see in gdb is that that read is occurring due to the unpickling thread reading peeking ahead in the stream due to buffered io being used. #0 0x77bcbcbd in read () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x0061f521 in

[issue18073] pickle.Unpickler may read too many bytes, causing hangs with blocking input stream

2013-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: For the record, this is one of the things that the framing proposal in pickle protocol 4 (pep 3154 - http://www.python.org/dev/peps/pep-3154/#framing) is able to address. -- ___ Python tracker

[issue17797] Visual C++ 11.0 reports fileno(stdin) == 0 for non-console program

2013-07-08 Thread Mateusz Loskot
Mateusz Loskot added the comment: This is still an issue in VS 2012 Version 11.0.60610.01 Update 3 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17797 ___

[issue18356] help(numpy) causes segfault on exit

2013-07-08 Thread Michelle Arzul
Michelle Arzul added the comment: This is what I get from gdb: marzul@Leeward:~$ gdb --args python test.py GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free

[issue18403] Minor bug in The Python Tutorial

2013-07-08 Thread Xue Fuqiao
New submission from Xue Fuqiao: In http://docs.python.org/3.3/tutorial/introduction.html#strings: In addition to indexing, slicing is also supported. While indexing is used to obtain individual characters, slicing allows you to obtain substring: word[0:2] # characters from position 0

[issue17759] test_urllibnet.test_bad_address() fails on Ubuntu 13.04

2013-07-08 Thread Matthias Klose
Matthias Klose added the comment: ... that there is something abnormal with this Ubuntu release. no, it is not. This has nothing to do with Ubuntu, but is an upstream change introduced with glibc-2.17. So you will see it on every system which is based on the glibc version. see

[issue17128] OS X system openssl deprecated - installer should build local libssl

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: How about we include certsync [1] as an external program then? It's not as elegant as an internal API but it's not going to cause trouble with forking servers. The first time a root CA cert is require, some new code in Python's SSL module runs certsync and

[issue18393] Gestalt() is deprecated on OSX 10.8, remove support?

2013-07-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 07.07.2013 11:11, Ronald Oussoren wrote: The easiest solution to avoid this deprecated API is therefore to drop the _gestalt extension and remove its use in platform.mac_ver() I think it should only be removed in case we no longer support Mac OS X

[issue17128] OS X system openssl deprecated - installer should build local libssl

2013-07-08 Thread Mateusz Lenik
Mateusz Lenik added the comment: The other way to solve problem with CA certs may be this script[1] that can be used to generate pem files from mozilla CA cert bundle[2] during compilation or installation. [1]: http://curl.haxx.se/docs/caextract.html [2]:

[issue17840] base64_codec uses assert for runtime validity checks

2013-07-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 07.07.2013 16:31, Alex Henderson wrote: Having discussed this with Ezio, I think the better option might be to raise ValueError instead - if someone is expecting to be able to silently recover from errors they won't be able to, and should find out

[issue18393] Gestalt() is deprecated on OSX 10.8, remove support?

2013-07-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 08.07.2013 13:55, Ronald Oussoren wrote: Do we follow the deprecation procedure for private functions as well? The patch removes a private and undocumented extension, and removes a private function that uses that extension. There is no change in

[issue13655] Python SSL stack doesn't have a default CA Store

2013-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think we can improve the situation with shipping our own CA certs. Almost every operating system or distribution comes with a set of CA certs. Why would we ship our own CA certs if every OS comes with CA certs? I lots of Linux distributions and most BSD

[issue18393] Gestalt() is deprecated on OSX 10.8, remove support?

2013-07-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: Do we follow the deprecation procedure for private functions as well? The patch removes a private and undocumented extension, and removes a private function that uses that extension. There is no change in the public API. Also, as I mentioned before the

[issue15661] OS X installer packages should be signed for OS X 10.8 Gatekeeper feature

2013-07-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 06.07.2013 18:17, Ronald Oussoren wrote: As to the question of actually signing the installer: we ask the PSF about acquiring a developer account once we have something that can actually be signed. Please write to p...@python.org with an explanation

[issue18393] Gestalt() is deprecated on OSX 10.8, remove support?

2013-07-08 Thread Ronald Oussoren
Ronald Oussoren added the comment: I had hoped to just drop it in 3.4. To remove: * extension _gestalt * function platform._mac_ver_gestalt * function platform._mac_ver_lookup (only used by ^^^) * function platform._bcd2str (likewise) To change: * function platform.mac_ver: remove call to

[issue17128] OS X system openssl deprecated - installer should build local libssl

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: Mateusz, we would like to avoid that path and use the operating system's root CAs list when the OS provides one. It gives better user experience and the OS' root CA list gets updates through the OS. -- ___ Python

[issue8813] SSLContext doesn't support loading a CRL

2013-07-08 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- components: +Extension Modules nosy: +christian.heimes versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8813

[issue18403] Minor bug in The Python Tutorial

2013-07-08 Thread Madison May
Madison May added the comment: Nope, definitely an error! Good catch, Xue. -- nosy: +madison.may ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18403 ___

[issue18393] Gestalt() is deprecated on OSX 10.8, remove support?

2013-07-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 08.07.2013 14:08, Ronald Oussoren wrote: Ronald Oussoren added the comment: I had hoped to just drop it in 3.4. To remove: * extension _gestalt * function platform._mac_ver_gestalt * function platform._mac_ver_lookup (only used by ^^^)

[issue18402] Finding perl64

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: I don't mind to add perl64 to the search path. -- components: +Windows nosy: +christian.heimes stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18402

[issue18404] Memory leak in gdbmmodule

2013-07-08 Thread Bohuslav Slavek Kabrda
New submission from Bohuslav Slavek Kabrda: Function dbm_length from Modules/_gdbmmodule.c seems to be leaking memory. A simple reproducer: import dbm d = dbm.open('spam', 'c') d['x'] = '1' print(len(d)) The interesting part of valgrind output with --leak-check=full: ==3312== 1 bytes in 1

[issue12272] Python 2.7.1 version conflict for package Tcl on Windows 7

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: I'm closing this ticket because the op hasn't responded in two years and nobody has reported the issue ever since. -- nosy: +christian.heimes resolution: - out of date status: open - closed ___ Python tracker

[issue10071] Should not release GIL while running RegEnumValue

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: LGTM I suggest that you add a comment with a link to this issue. People may wonder why some places don't release the GIL. -- nosy: +christian.heimes versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2 ___

[issue14268] _move_file is broken because of a bad mock

2013-07-08 Thread Éric Araujo
Éric Araujo added the comment: Yes, this was probably kept open for packaging forward-port, which is now moot. Note that many others distutils2 issues are kept open because they can be relevant for the distlib fork or other packaging libs. -- ___

[issue18367] See if a venv setup can be used for devinabox for coverage

2013-07-08 Thread Brett Cannon
Brett Cannon added the comment: So first thing is that you can't relocate a venv. The --upgrade option is only for when you upgrade a Python installation in-place (e.g. go from 3.3 to 3.4 but otherwise all other details stay the same). The --clear option empties out the directories so nothing

[issue13655] Python SSL stack doesn't have a default CA Store

2013-07-08 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jul 08, 2013, at 11:56 AM, Antoine Pitrou wrote: I don't think it's a good idea to maintain a list of hard-coded paths in Python: it's not manageable, and it will always become outdated. If there was a widely-respected standard (e.g. in FHS or LSB), things

[issue7573] Position independent include of Python.h

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: Yes, I'm closing it. The issue has been addressed in our documentation. -- nosy: +christian.heimes resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue15792] Fix compiler options for x64 builds on Windows

2013-07-08 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- components: +Windows nosy: +christian.heimes type: - compile error ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15792 ___

[issue9814] subprocess isn't friendly to other Python implementations with different GCs

2013-07-08 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9814 ___

[issue10042] functools.total_ordering fails to handle NotImplemented correctly

2013-07-08 Thread Jim Jewett
Jim Jewett added the comment: On Mon, Jul 8, 2013 at 3:30 AM, Nick Coghlan wrote: The key difference between them relates to the following different approaches to handling unknown types in __eq__: @functools.total_ordering class TotallyOrderedEqualsReturnsFalse: ... def __eq__(self,

[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: You will have to wait until Martin can respond, but the log says failure occurred with C:\Users\astar\AppData\Local\Temp\MSIA812.tmp entry: _CheckDir@4 Description from web: Driver Install Frameworks for Applications library module This appears to part of

[issue18360] Won't install. Keeps telling me DLL is missing.

2013-07-08 Thread Dale Smith
Dale Smith added the comment: I have redownloaded. Still getting the same message. Thank you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18360 ___

[issue5060] gcc profile guided optimization

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: run_profile_task has been fixed a while ago and works with --enabled-shared. -- nosy: +christian.heimes resolution: - works for me stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue4885] mmap enhancement request

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: 1) and 2) have been fixed in Python 3.x. mmap supports writable memory views and slice assignment from any object that supports the buffer protocol. 3) is still an issue as mmap objects are not weakref-able yet. It should be easy to add __weakref__ to mmap

[issue4885] mmap enhancement request

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: It's a trivial task for any Python developer with some C experience. -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4885 ___

[issue4708] os.pipe should return inheritable descriptors (Windows)

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: Victor, this fits nicely with your recent PEP. -- nosy: +christian.heimes, haypo versions: +Python 3.4 -Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue1208730] expat binding for XML_ParserReset

2013-07-08 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- assignee: - christian.heimes nosy: +christian.heimes stage: test needed - patch review versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1208730

[issue3093] Namespace pollution from multiprocessing

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: Python 3.4 no longer exports symbols without a Py or _Py prefix: $ nm -p build/lib.linux-x86_64-3.4-pydebug/_multiprocessing.cpython-34dm.so | sed -n / [TDB] /s/.* //p | sort __bss_start _edata _end _fini _init PyInit__multiprocessing _PyMp_SemLockType

[issue9838] Inadequate C-API to Python 3 I/O objects

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: I agree with Antoine. If you are still interested to improve the situation then please start a discussion on the python-ideas mailing list. -- nosy: +christian.heimes resolution: - postponed status: open - closed

[issue18403] Minor bug in The Python Tutorial

2013-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6f16fa5223cc by Ezio Melotti in branch '3.3': #18403: fix an off-by-one typo noticed by Xue Fuqiao. http://hg.python.org/cpython/rev/6f16fa5223cc New changeset d41adb657bd4 by Ezio Melotti in branch 'default': #18403: merge with 3.3.

[issue18403] Minor bug in The Python Tutorial

2013-07-08 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report! -- assignee: docs@python - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement versions: +Python 3.4 ___ Python

[issue14097] Improve the introduction page of the tutorial

2013-07-08 Thread Ezio Melotti
Ezio Melotti added the comment: This still needs to be backported to 2.7. There's also a typo reported in #18403 that should be fixed before the backport. -- assignee: docs@python - ezio.melotti ___ Python tracker rep...@bugs.python.org

[issue1038591] Python 2.3+ socket._fileobject handles EAGAIN with data loss

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: Shall we close this ticket then? -- nosy: +christian.heimes status: open - languishing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1038591 ___

[issue18391] socket.fromfd()'s API is difficult or impossible to use correctly in general

2013-07-08 Thread Glyph Lefkowitz
Glyph Lefkowitz added the comment: It would be nice for this to be fixed in a 2.7.x release too, if possible, since the workaround involves a ton of extra system calls and there's no other way to construct a socket object directly. -- nosy: +glyph versions: +Python 2.7

[issue8176] Interpreter crash with double free or corruption message

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: I'm closing the bug because it hasn't seen any activity in the past 2.5 years. -- nosy: +christian.heimes status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8176

[issue10664] xml.sax.expatreader should support namespace prefixes

2013-07-08 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: +christian.heimes versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10664 ___

[issue17324] SimpleHTTPServer serves files even if the URL has a trailing slash

2013-07-08 Thread Vajrasky Kok
Vajrasky Kok added the comment: Attached the fix and the unit test for this problem. -- nosy: +vajrasky Added file: http://bugs.python.org/file30863/patch_for_fixing_the_server_serving_the_url_with_trailing_slash.txt ___ Python tracker

[issue12097] python.exe crashes if it is unable to find its .dll

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: 'We' don't show any error message. Windows does it on its own because the pythonXX.dll is a dependency for the executable. If python.exe can't find the DLL then it's also likely that the DLL is unable to find Python's stdlib. Python requires the stdlib to

[issue17911] Extracting tracebacks does too much work

2013-07-08 Thread Björn Sandberg Lynch
Björn Sandberg Lynch added the comment: I've been looking into this as an easy piece to bite off. If I understand Guido correctly, he'd like to defer or suppress the linecache call when getting the tb summary. The problem with deferring is that you need to access f_globals for the loader to

[issue12999] _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED usage on Solaris

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: I think the cause of the bug has been addressed because tests on Solaris are passing. -- nosy: +christian.heimes resolution: - fixed status: open - pending ___ Python tracker rep...@bugs.python.org

[issue12984] XML NamedNodeMap ( attribName in NamedNodeMap fails )

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: Thanks for your report. The issue has been address in Python 3.x. NamedNodeMap properly implements __contains__(). Python 2.7 is in feature freeze mode which means we can't backport the function. -- nosy: +christian.heimes resolution: - fixed

[issue13418] Embedded Python memory leak

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: Martin, can we close this issue or do you want to keep it around? -- nosy: +christian.heimes resolution: - wont fix status: open - languishing ___ Python tracker rep...@bugs.python.org

[issue13611] Integrate ElementC14N module into xml.etree package

2013-07-08 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: +christian.heimes, effbot versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13611 ___

[issue13788] os.closerange optimization

2013-07-08 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: +christian.heimes stage: committed/rejected - versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13788 ___

[issue13942] ssl.wrap_socket does not work on socket.socketpair()'s

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: Agreed -- nosy: +christian.heimes status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13942 ___

[issue13856] xmlrpc / httplib changes to allow for certificate verification

2013-07-08 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- nosy: +christian.heimes versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13856 ___

[issue5124] IDLE - pasting text doesn't delete selection

2013-07-08 Thread Mark Young
Mark Young added the comment: +1 at least providing the option. This behavior is obnoxious and weird (no other program on linux that I know of does this (not to say no such program exists)). If I didn't want the original gone, I wouldn't have highlighted it. -- nosy: +Mark.Young

[issue14139] test_ftplib: segfault

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: It doesn't crash anymore for me. The link doesn't work anymore, too. -- nosy: +christian.heimes resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14620] Fatal Python error: Cannot recover from stack overflow.

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: The link doesn't work anymore and I'm unable to reproduce the issue. Please reopen the issue if you still get a stack overflow. Don't forget to attach your script, too. -- nosy: +christian.heimes resolution: - out of date status: open - closed

[issue11012] Add log1p(), exp1m(), gamma(), and lgamma() to cmath

2013-07-08 Thread Christian Heimes
Changes by Christian Heimes li...@cheimes.de: -- priority: normal - low versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11012 ___

[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-07-08 Thread Jason R. Coombs
Jason R. Coombs added the comment: I recently discovered this method is missing from Python 3. I started porting a project which depends on it (a tool that uploads an already-packaged package to a cheeseshop), but found the method missing on Python 3. According to the changelog, this commit

[issue14518] Add bcrypt $2a$ to crypt.py

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: I'll have a look -- assignee: - christian.heimes nosy: +christian.heimes versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14518

[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-07-08 Thread Jason R. Coombs
Jason R. Coombs added the comment: On second thought, the hyperlink for r76706 resolves to d9b4f6ea3e39, which is in the default branch since 2009, so apparently the code was present, so I'll continue to trace why it went away. -- ___ Python

[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-07-08 Thread Jason R. Coombs
Jason R. Coombs added the comment: I see now, the code was removed in 29a3eda89995. But the associated comment indicates distutils is feature-frozen and that subsequent work should be done in distutils2, which of course is now a defunct effort. Given that information, what's the proper

[issue18405] crypt.mksalt() result has unnecessarily low entropy

2013-07-08 Thread Christian Heimes
New submission from Christian Heimes: crypt.mksalt() creates a salt with a lower entropy than possible. It uses random.SystemRandom().sample() to generate a salt string from the set of 64 chars (string.ascii_letters + string.digits + './'). SystemRandom() uses a CPRNG (good) but sample()

[issue18406] unicodedata.itergraphemes / str.itergraphemes / str.graphemes

2013-07-08 Thread David P. Kendal
New submission from David P. Kendal: On python-ideas I proposed the addition of a way to iterate over the graphemes of a string, either as part of the unicodedata library or as a method on the built-in str type. http://mail.python.org/pipermail/python-ideas/2013-July/021916.html I provided a

[issue18406] unicodedata.itergraphemes / str.itergraphemes / str.graphemes

2013-07-08 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +benjamin.peterson, ezio.melotti, loewis stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18406 ___

[issue18406] unicodedata.itergraphemes / str.itergraphemes / str.graphemes

2013-07-08 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18406 ___ ___ Python-bugs-list

[issue7457] Adding a read_pkg_file to DistributionMetadata

2013-07-08 Thread Ned Deily
Ned Deily added the comment: There have been a number of issues that have come up over the past few years due to Python 3.2+'s distutils being a subset of Python 2.7's as a result of the revert (29a3eda89995). Since circumstances have changed since the decision was made to do the revert and

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread Jeremy Kloth
New submission from Jeremy Kloth: The attached patch fixes compiler warnings for the pythoncore project when building on 64-bit Windows. Fixes for built-in modules are not included, however. -- files: issue18407.diff keywords: patch messages: 192686 nosy: brian.curtin,

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread Jeremy Kloth
Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com: -- components: +Build, Windows type: - compile error versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18407

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread STINNER Victor
STINNER Victor added the comment: - AdditionalOptions/USECL:MS_OPTERON /GS- %(AdditionalOptions)/AdditionalOptions + BufferSecurityCheckfalse/BufferSecurityCheck Please don't change too much things in the same patch. The issue #15792 is a better place for such change. --

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread STINNER Victor
STINNER Victor added the comment: This issue duplicates the isuse #9566, but your patch is interesting. I created other more specific issues like #18295 and #18294. -return lb - ll-ll_label; +return Py_SAFE_DOWNCAST(lb - ll-ll_label, Py_intptr_t, int); I don't think that such change

[issue14455] plistlib unable to read json and binary plist files

2013-07-08 Thread Ned Deily
Ned Deily added the comment: Ronald, I think v8 of the patch is missing (and plistlib_generate_testdata.py was uploaded twice). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14455 ___

[issue17911] Extracting tracebacks does too much work

2013-07-08 Thread Guido van Rossum
Guido van Rossum added the comment: In terms of how much freedom you have about changing the internal, I'd check how long ago they were changed. Internal APIs that have been stable for many versions tend to have illicit external uses -- but internal APIs that were introduced recently (e.g.

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread STINNER Victor
New submission from STINNER Victor: I created a first toy based on the PEP 445 to test of Python handles MemoryError: in short, Python handles them badly... Home page of the project: https://pypi.python.org/pypi/pyfailmalloc I will use this issue to track crashes found by this tool.

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2013-07-08 Thread Steve Dower
Steve Dower added the comment: I must have missed something when I merged files to create the diffs. In any case, you'll still require VC9 or VC10 to be able to build something compatible with a CPython release (though maybe that doesn't matter for Cython? I don't know). When I get a chance

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 111c2a070f28 by Victor Stinner in branch 'default': Issue #18408: PyObject_GC_NewVar() now raises SystemError exception if nitems http://hg.python.org/cpython/rev/111c2a070f28 New changeset ba766323b53a by Victor Stinner in branch 'default': Issue

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread STINNER Victor
STINNER Victor added the comment: I created a first toy based on the PEP 445 to test of Python handles MemoryError: in short, Python handles them badly... Ooops: to test *how* Python handles.. -- ___ Python tracker rep...@bugs.python.org

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread Jeremy Kloth
Jeremy Kloth added the comment: Yeah, sorry. This made it in by mistake. It was in the tree just to eliminate warning noise. On Mon, Jul 8, 2013 at 1:20 PM, STINNER Victor rep...@bugs.python.org wrote: STINNER Victor added the comment: - AdditionalOptions/USECL:MS_OPTERON /GS-

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread Jeremy Kloth
Jeremy Kloth added the comment: The change in grammar.c:addlabel() is correct. The return value is an index into the ll-ll_label array, thus an int. The code could be rewritten to avoid the pointer addition by saving the value of ll-ll_nlabels before it is incremented and return that instead,

[issue18407] Fix compiler warnings in pythoncore for Win64

2013-07-08 Thread Jeremy Kloth
Jeremy Kloth added the comment: Ugh, sorry for the bad quoting (silly GMail). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18407 ___ ___

[issue18100] socket.sendall() cannot send buffers of 2GB or more

2013-07-08 Thread Anton Tyurin
Anton Tyurin added the comment: This issue is similar like http://bugs.python.org/issue9566. It seems reasonable to apply a similar fix. But why not use the types described in the signature functions in sys/socket.h. In particular use for len size_t, and for n - ssize_t? --

[issue18100] socket.sendall() cannot send buffers of 2GB or more

2013-07-08 Thread Christian Heimes
Christian Heimes added the comment: Does it affect Python 3, too? -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18100 ___

[issue18365] Idle: mock Text class and test thereof

2013-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Great start! Some revisions: * Create root directly (and just once); add root.destroy, which added several warnings. * Create Text directly; test should not require Editors. This removed warnings. I suspect that EditorWindow.py does other things that are not

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset ba79f6a86300 by Victor Stinner in branch 'default': Issue #18408: Fix ConvParam() of the ctypes module to handle paramfunc failure http://hg.python.org/cpython/rev/ba79f6a86300 New changeset 2ef2edfd1a4c by Victor Stinner in branch 'default': Issue

[issue18364] Remove _not_found hack from importlib

2013-07-08 Thread Eric Snow
Eric Snow added the comment: That'll work. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18364 ___ ___ Python-bugs-list mailing list

[issue18408] Fixes crashes found by pyfailmalloc

2013-07-08 Thread STINNER Victor
STINNER Victor added the comment: use_failmalloc.patch: Patch to use pyfailmalloc on the Python test suite. Command to run test suite: gdb -args ./python -m test -F. -- keywords: +patch Added file: http://bugs.python.org/file30866/use_failmalloc.patch

  1   2   >