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

2013-07-07 Thread Anton Tyurin
Anton Tyurin added the comment: The same error in the use of socket.send(). Is it possible to use size_t for len instead of int? According to http://www.python.org/dev/peps/pep-0353/ Py_ssize_t on x86 is typedef for int, and size_t has the same size. On x64 sizeof size_t is 8bit, that covers t

[issue18398] Debug Python build fails on OS X: Fatal Python error: bad ID: Allocated using API 'm', verified using API 'r'

2013-07-07 Thread Ned Deily
Ned Deily added the comment: Further testing shows that the problem is not limited to OS X 10.8 or clang: a similar debug build attempt fails on OS X 10.6 with Apple gcc-4.2. ./configure --with-pydebug CC=gcc-4.2 MACOSX_DEPLOYMENT_TARGET=10.6 make gcc-4.2 -Wl,-stack_size,100 -framework C

[issue18398] Debug Python build fails on OS X: Fatal Python error: bad ID: Allocated using API 'm', verified using API 'r'

2013-07-07 Thread Ned Deily
Ned Deily added the comment: Here's the traceback in gdb from the 10.6 case above: (gdb) where #0 0x7fff891ba0b6 in __kill () #1 0x7fff8925a9f6 in abort () #2 0x0001001cd4fd in Py_FatalError (msg=Could not find the frame base for "Py_FatalError". ) at Python/pythonrun.c:2380 #3

[issue18203] Replace direct calls to malloc() with PyMem_Malloc() or PyMem_RawMalloc()

2013-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 31a635303e55 by Victor Stinner in branch 'default': Issue #18203: Fix _Py_DecodeUTF8_surrogateescape(), use PyMem_RawMalloc() as _Py_char2wchar() http://hg.python.org/cpython/rev/31a635303e55 -- ___ Pyth

[issue18398] Debug Python build fails on OS X: Fatal Python error: bad ID: Allocated using API 'm', verified using API 'r'

2013-07-07 Thread STINNER Victor
STINNER Victor added the comment: I patched PyMem_RawMalloc(), but I forgot _Py_DecodeUTF8_surrogateescape() which is specific to OSX. The following changeset fixed this issue: Ok, I missed this function specific to OSX: changeset: 84501:31a635303e55 tag: tip user:Victor Stin

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

2013-07-07 Thread Anton Tyurin
Anton Tyurin added the comment: typo fix 8bite -> 8 bytes -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

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

2013-07-07 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2013-07-07 Thread Yavor
Yavor added the comment: * Up-to-date Arch Linux: -2 - Name or service not known * Fedora Live CD: -2 - Name or service not known These are in general with more recent libraries/packages than Ubuntu 13.04. All evidences suggest that there is something abnormal with this Ubuntu release. ---

[issue18397] Python with MinGW

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: The bug tracker isn't the best place to discuss such matters. Please open a discussion on the python-ideas mailing list if you are interested in improving the situation. Hint: New Windows developers are always welcome. We don't have that many... :)

[issue11908] Weird `slice.stop or sys.maxint`

2013-07-07 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue18203] Replace direct calls to malloc() with PyMem_Malloc() or PyMem_RawMalloc()

2013-07-07 Thread STINNER Victor
STINNER Victor added the comment: Ok, with the last changeset, I consider the issue has fixed. There is no more direct call to malloc() in the Python source code. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue18203] Replace direct calls to malloc() with PyMem_Malloc() or PyMem_RawMalloc()

2013-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 65f2c92ed079 by Victor Stinner in branch 'default': Issue #18203: Add _PyMem_RawStrdup() and _PyMem_Strdup() http://hg.python.org/cpython/rev/65f2c92ed079 -- ___ Python tracker

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

2013-07-07 Thread Yavor
Yavor added the comment: Reported the issue to Ubuntu: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1198744 -- ___ Python tracker ___ __

[issue18397] Python with MinGW

2013-07-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: The best way would be if the standard Unix configure succeeded under MingW/msys. Did you actually try whether that worked? -- nosy: +loewis ___ Python tracker ___

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

2013-07-07 Thread Mateusz Lenik
Mateusz Lenik added the comment: I managed to build Python with OpenSSL 1.0.1e on Mac OS 10.8.4 using build-installer.py script during Europython sprint. I'll attach patches in few days, as I'll try to clean the code a bit. Currently the build works only for intel. Here is an example output:

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

2013-07-07 Thread Christian Heimes
Christian Heimes 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. I lots of Linux distributions and most BSD systems. All except FreeBSD install CA certs by default. A fresh FreeB

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

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: Can you please run the unit test to see if it actually works? arch -i386 python -m test -unetwork test_ssl That commands runs the unit test suite and tries to connect to a couple of HTTPS servers, too. By the way do you know how well supported and up to da

[issue3266] Python-2.5.2/Modules/mmapmodule.c:915: error: `O_RDWR' undeclared

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: Compilation works on Solaris 10 and 11 for quite some time. Please reopen the bug report if you still have issues. -- nosy: +christian.heimes resolution: -> fixed status: open -> closed type: -> compile error ___

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

2013-07-07 Thread Ned Deily
Ned Deily added the comment: Chrys, /System/Library/OpenSSL/certs/cert.pem is empty on current OS X systems. As mentioned above, cert management is handled through Apple APIs. See http://developer.apple.com/library/ios/#DOCUMENTATION/Security/Conceptual/CertKeyTrustProgGuide/01introduction/int

[issue17545] os.listdir and os.path.join inconsistent on empty path

2013-07-07 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue17545] os.listdir and os.path.join inconsistent on empty path

2013-07-07 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: ncoghlan -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue18338] python --version should send output to STDOUT

2013-07-07 Thread Matthew Byrne
Matthew Byrne added the comment: Simply replced printout from stderr to stdout. -- nosy: +Matthew.Byrne Added file: http://bugs.python.org/file30848/issue18338.diff ___ Python tracker __

[issue18399] Fix grammar in comment in python.c

2013-07-07 Thread Andrew Rowe
New submission from Andrew Rowe: diff -r 65f2c92ed079 Modules/python.c --- a/Modules/python.c Sun Jul 07 23:30:24 2013 +0200 +++ b/Modules/python.c Mon Jul 08 10:46:30 2013 +1000 @@ -19,7 +19,7 @@ main(int argc, char **argv) { wchar_t **argv_copy; -/* We need a second copies, as Pyth

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

2013-07-07 Thread Dale Smith
Dale Smith added the comment: Has anyone figured out what is causing this failure from my windows 7? Thank you. -- ___ Python tracker ___ __

[issue15792] Fix compiler options for x64 builds on Windows

2013-07-07 Thread Jeremy Kloth
Jeremy Kloth added the comment: Adding Victor Stinner as he has been quite active in fixing Windows 64-bit issues. -- nosy: +haypo ___ Python tracker ___ ___

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

2013-07-07 Thread Indra Talip
Indra Talip added the comment: as per Nick's direction the attached patch moves test/support.py to test/support/__init__.py and includes small fixes for some of the tests that break as a consequence. -- keywords: +patch nosy: +italip Added file: http://bugs.python.org/file30850/move_te

[issue18226] IDLE Unit test for FormatParagrah.py

2013-07-07 Thread Phil Webster
Phil Webster added the comment: I made slight modifications to Todd's initial patch to test the mock Text widget from #18365. Thank you for the helpful feedback Terry! -- Added file: http://bugs.python.org/file30853/18226IDLEUnitTestFormatParagraph2.patch

[issue18365] Idle: mock Text class and test thereof

2013-07-07 Thread Phil Webster
Phil Webster added the comment: Added Text class to mock_tk.py and GUI/non-GUI tests in test_text.py. Running the IDLE tests produced no errors for me. -- keywords: +patch Added file: http://bugs.python.org/file30851/mock_text.patch ___ Python tracke

[issue18279] IDLE Unit test for RstripExtension.py

2013-07-07 Thread Phil Webster
Phil Webster added the comment: This patch contains mock_idle.py and the rstrip test using the mock text widget from #18365. Terry- For some reason, the Text widget always contains a '\n' as the last character even when there is nothing visible. Doing a text.get('1.0','end') always has a '\n'

[issue18400] Minor increase to Pickle test coverage

2013-07-07 Thread David Sackett
New submission from David Sackett: Tests to provide unit test coverage of _Pickler.__init__ protocol version checks. -- components: Tests files: mywork.patch keywords: patch messages: 192613 nosy: davidsackett priority: normal severity: normal status: open title: Minor increase to Pickl

[issue18401] Tests for pdb import ~/.pdbrc

2013-07-07 Thread Stephen Tonkin
New submission from Stephen Tonkin: After a clean check out and a successful build of Python 3.4, doctests were failing when running test_pdb. Specifically, doctests were failing because they were getting a "*** NameError: name 'execfile' is not defined" when running. It turns out that my ~/.p

[issue18402] Finding perl64

2013-07-07 Thread Michael Dorman
New submission from Michael Dorman: Perl64 installs into C:\perl64\bin Can we include this path in the search list? -- components: Build files: build_ssl_with_perl64.patch keywords: patch messages: 192615 nosy: brian.curtin, mjdorma priority: normal severity: normal status: open title:

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

2013-07-07 Thread Michael Dorman
Michael Dorman added the comment: move_test_support.patch didn't break tests under Windows x64 -- nosy: +mjdorma ___ Python tracker ___ __

[issue18401] Tests for pdb import ~/.pdbrc

2013-07-07 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- assignee: ronaldoussoren -> components: -Macintosh ___ Python tracker ___ ___ Python-bugs-list maili

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

2013-07-07 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-07 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, is

[issue10042] functools.total_ordering fails to handle NotImplemented correctly

2013-07-07 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)? -- ___ Python

[issue12645] test.support. import_fresh_module - incorrect doc

2013-07-07 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: http://bugs.python.org/file30857/issue12645.reformat_docstring.9d

[issue12645] test.support. import_fresh_module - incorrect doc

2013-07-07 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-07 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

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

2013-07-07 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 ___ __

[issue10042] functools.total_ordering fails to handle NotImplemented correctly

2013-07-07 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 overf

<    1   2