[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

[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 ___ __

[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

[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

[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

[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

[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

[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

[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

[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 ___ __

[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:

[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

[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

[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'

[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

[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

[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 ___ ___

[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 ___ __

[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

[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 __

[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

[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

[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

[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 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

[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 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:

[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 ___

[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 ___ __

[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

[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

[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... :)

[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. ---

[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.

[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

[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

[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 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

[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

[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 with current clang: Fatal Python error: bad ID: Allocated using API 'm', verified using API 'r'

2013-07-07 Thread Ned Deily
New submission from Ned Deily: ... /usr/bin/clang -Wl,-stack_size,100 -framework CoreFoundation -o python Modules/python.o libpython3.4dm.a -ldl -framework CoreFoundation ./python -E -S -m sysconfig --generate-posix-vars Debug memory block at address p=0x7f9fba414160: API 'm' 948 byt

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

2013-07-07 Thread Yavor
Yavor added the comment: I have the same problem. Reproduced via custom app and what's failing is: getaddrinfo("some.invalid.address.here", NULL, &hints, &result); And it's failing quickly. But the returned error is system error 110 (Connection timed out). * A virtual machine inside same host

[issue18397] Python with MinGW

2013-07-07 Thread Friedrich Spee von Langenfeld
New submission from Friedrich Spee von Langenfeld: I think, there are some users which are going to compile Python, but disagree with the restriction of Visual Studio (use only with account after 90 days). Should we provide makefiles to compile Python with MinGW (this could be easily done with

[issue14299] OS X installer build script: permissions not ensured

2013-07-07 Thread Ned Deily
Ned Deily added the comment: Removing the group write permissions on the framework directory would be a significant change in the user interface so I agree that change should not be made until and if we have something better for user installation. The rest of the patch is still valid in the s

[issue14299] OS X installer build script: permissions not ensured

2013-07-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: Right. And I'm even more sensitive as usual about that after reading webpage that appearently popular with newbies and explains that you install Python by first removing /System/Library/Frameworks/Python.framework. I still can't understand that the author of

[issue6739] IDLE window won't start or show up after assgining new key in options v2.5.2 and 3.1.1

2013-07-07 Thread Ned Deily
Changes by Ned Deily : -- nosy: +roger.serwy, terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue18028] Warnings with -fstrict-aliasing

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: The warning is caused by the X86_64 code for timestamps: #define READ_TIMESTAMP(val) \ __asm__ __volatile__("rdtsc" : \ "=a" (((int*)&(val))[0]), "=d" (((int*)&(val))[1])); The patch fixes the issue with two temp vars. --

[issue14299] OS X installer build script: permissions not ensured

2013-07-07 Thread Nicholas Riley
Nicholas Riley added the comment: I don't have time to check it, but it's easy enough to test - set your umask to 077 and try building an installer, see if the files get the correct permissions when installed. I would hope tutorials would tell users to install the packages somewhere else, but

[issue949667] setblocking() method on file objects

2013-07-07 Thread STINNER Victor
STINNER Victor added the comment: See the PEP 466 which proposes to add a new os.set_blocking() function on UNIX, and blocking parameter to socket constructor. -- ___ Python tracker __

[issue896330] pyconfig.h is not placed in --includedir

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: I found the reason for the issue. pyconfig.h is installed to CONFINCLUDEPY. The other header files are copied to INCLUDEPY INCLUDEDIR= @includedir@ CONFINCLUDEDIR= $(exec_prefix)/include INCLUDEPY= $(INCLUDEDIR)/python$(LDVERSION) CONFINCLUDEPY= $(

[issue16595] Add resource.prlimit

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: Does anybody want to review the code before I commit it? -- nosy: +haypo, pitrou ___ Python tracker ___ __

[issue12957] mmap.resize changes memory address of mmap'd region

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- stage: -> needs patch versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list

[issue14268] _move_file is broken because of a bad mock

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: I assume the commit has fixed the problem, hasn't it? -- nosy: +christian.heimes resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue949667] setblocking() method on file objects

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-lis

[issue3329] API for setting the memory allocator used by Python

2013-07-07 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Well done. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue10898] posixmodule.c redefines FSTAT

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes versions: +Python 3.3, Python 3.4 -Python 3.1 ___ Python tracker ___ ___ Pyth

[issue6739] IDLE window won't start or show up after assgining new key in options v2.5.2 and 3.1.1

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- stage: -> patch review versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2 ___ Python tracker ___ _

[issue9939] Add a pipe type (FIFO) to the io module

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list

[issue2459] speedup for / while / if with better bytecode

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: Is this enhancement still relevant? -- nosy: +christian.heimes status: open -> languishing versions: +Python 3.3, Python 3.4 -Python 3.1 ___ Python tracker ___

[issue6818] remove/delete method for zipfile/tarfile objects

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: Yuval has submitted a CLA. I'm moving the proposal to 3.4 as 3.3 is in feature freeze mode. -- nosy: +christian.heimes stage: -> patch review versions: +Python 3.4 -Python 3.3 ___ Python tracker

[issue15035] array.array of UCS2 values

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list

[issue15028] PySys_SetArgv escapes quotes in argv[]

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes status: open -> languishing ___ Python tracker ___ ___ Python-bugs-list maili

[issue17372] provide pretty printer for xml.etree.ElementTree

2013-07-07 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue18227] Use Python memory allocators in external libraries like zlib or OpenSSL

2013-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7f17c67b5bf6 by Christian Heimes in branch 'default': Issue #18227: pyexpat now uses a static XML_Memory_Handling_Suite. cElementTree uses the same approach since at least Python 2.6 http://hg.python.org/cpython/rev/7f17c67b5bf6 -- ___

[issue3329] API for setting the memory allocator used by Python

2013-07-07 Thread STINNER Victor
STINNER Victor added the comment: Buildbots are happy, changeset 51ed51d10e60 fixed the memory leak on Windows XP. Let's close this issue, 5 years after its creation! -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue18227] Use Python memory allocators in external libraries like zlib or OpenSSL

2013-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 12f26c356611 by Victor Stinner in branch 'default': Issue #18227: "Free" function of bz2, lzma and zlib modules has no return value (void) http://hg.python.org/cpython/rev/12f26c356611 -- ___ Python trac

[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 638d43665356 by Victor Stinner in branch 'default': Issue #18203: Replace malloc() with PyMem_Malloc() in _ssl for the password http://hg.python.org/cpython/rev/638d43665356 New changeset 9af1905f20af by Victor Stinner in branch 'default': Issue #18

[issue9119] Python download page needs to mention crypto code in Windows installer

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list

[issue17873] _ctypes/libffi missing bits for aarch64 support

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes, ronaldoussoren stage: -> patch review versions: +Python 3.4 ___ Python tracker ___

[issue17234] python-2.7.3-r3: crash in visit_decref()

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: Are you using any 3rd party components with C extension modules? That kind of error is often caused by an extension with erroneous reference counting. -- nosy: +christian.heimes status: open -> languishing ___ Pyth

[issue2281] Enhanced cPython profiler with high-resolution timer

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue2281] Enhanced cPython profiler with high-resolution timer

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue2281] Enhanced cPython profiler with high-resolution timer

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue18227] Use Python memory allocators in external libraries like zlib or OpenSSL

2013-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset a876d9d2e4fc by Victor Stinner in branch 'default': Issue #18227: Use PyMem_RawAlloc() in bz2, lzma and zlib modules http://hg.python.org/cpython/rev/a876d9d2e4fc -- nosy: +python-dev ___ Python tracker

[issue2281] Enhanced cPython profiler with high-resolution timer

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue8786] Add support for IEEE 754 contexts to decimal module.

2013-07-07 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue7686] redundant open modes 'rbb', 'wbb', 'abb' no longer work on Windows

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: For Python 2.7 we can no longer do anything about it. Any chance might break 3rd party software. Python 3.x and Python 2.7's io module don't allow redundant information. I suggest that you follow Ezio's advice and check for redundancy in your application.

[issue5262] PythonLauncher considered harmfull

2013-07-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: I thinking about closing this issue, but need to do some more research before doing so. In particular, I need to check the behavior of double clicking on python files on Windows and the main Linux desktops. IIRC double clicking a .py file on Windows will exec

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

2013-07-07 Thread STINNER Victor
New submission from STINNER Victor: ERROR: test_issue9324 (test.test_signal.WindowsSignalTests) -- Traceback (most recent call last): File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_signal.py", line 213, in te

[issue979407] urllib2 digest auth totally broken

2013-07-07 Thread Christian Heimes
Christian Heimes added the comment: The bug has been fixed a while ago. Python 2.7 as well as Python 3.x have tests to verify digest auth. Farewell Aaron... -- nosy: +christian.heimes resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___

[issue979407] urllib2 digest auth totally broken

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

[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 fc01f9497da7 by Victor Stinner in branch 'default': Issue #18203: Fix decode_ascii_surrogateescape(), use PyMem_RawMalloc() as _Py_char2wchar() http://hg.python.org/cpython/rev/fc01f9497da7 -- ___ Python

[issue17372] provide pretty printer for xml.etree.ElementTree

2013-07-07 Thread Alex Henderson
Alex Henderson added the comment: One other design decision - currently it doesn't deal with the indentation of comments or processing instructions: it leaves them unindented. Should they be indented the same as other tags? -- ___ Python tracker

[issue17840] base64_codec uses assert for runtime validity checks

2013-07-07 Thread Alex Henderson
Alex Henderson added the comment: 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 about this sooner rather than later. I'll upload an

[issue18257] Two copies of python-config

2013-07-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: Matthias: sorry, I completely missed the message where you explained why the script is now a shell script. The customization is performed by _osx_xsupport.customize_config_vars. What this is used for: * We ship binaries build with a specific compiler config

[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 213d6d7f5979 by Victor Stinner in branch 'default': Issue #18203: Fix Py_Finalize(): destroy the GIL after the last call to http://hg.python.org/cpython/rev/213d6d7f5979 New changeset 18bb92b0c458 by Victor Stinner in branch 'default': Issue #18203:

[issue17372] provide pretty printer for xml.etree.ElementTree

2013-07-07 Thread Alex Henderson
Alex Henderson added the comment: I have attached a proposed patch. This makes some design decisions which I would like someone to review: a) To incorporate pretty-printing into the main write() method rather than adding a separate toprettyxml() method. Disadvantages: greater complexity of _s

[issue18394] cgi.FieldStorage triggers ResourceWarning sometimes

2013-07-07 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue18395] Make _Py_char2wchar() and _Py_wchar2char() public

2013-07-07 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue18395] Make _Py_char2wchar() and _Py_wchar2char() public

2013-07-07 Thread STINNER Victor
New submission from STINNER Victor: The Python C API has two very useful functions: _Py_char2wchar() and _Py_wchar2char(). They must be used to handle correctly undecodable byte sequences. _Py_char2wchar() and _Py_wchar2char() use the surrogateescape error handler (PEP 383). _Py_char2wchar() f

[issue9177] ssl.read/write on closed socket raises AttributeError

2013-07-07 Thread Senko Rasic
Senko Rasic added the comment: Here's a patch that adds checks and ValueError raises to SSLSocket.read and SSLSocket.write. My first attempt was to add the check to _checkClosed to mirror the IOBase._checkClosed, but in SSLSocket its semantics are different (the idea is for the subclass to ad

[issue12606] Mutable Sequence Type works different for lists and bytearrays in slice[i:j:k]

2013-07-07 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue18156] Add an 'attr' attribute to AttributeError

2013-07-07 Thread Dražen Lučanin
Dražen Lučanin added the comment: OK, thanks for the feedback. I signed the CLA. I'll then wait with the remaining work, until a final decision has been made. We have a rough idea of how it could be implemented if it comes to this - adding a wrapper function in Python/errors.c: PyErr_SetA

[issue16547] IDLE raises an exception in tkinter after fresh file's text has been rendered

2013-07-07 Thread Andrea Griffini
Andrea Griffini added the comment: The error cannot be reproduced on 2.7, 3.3 or 3.4 because the problem has been fixed with 1e5e497ee33b (issue 17614) -- nosy: +ag6502 ___ Python tracker _

[issue18257] Two copies of python-config

2013-07-07 Thread Matthias Klose
Matthias Klose added the comment: and see issue16235 (as mentioned in NEWS) for the complete discussion. -- ___ Python tracker ___ ___

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-07 Thread Ron Adam
Ron Adam added the comment: New slightly improved patch. Combined the topic index's, topics, keywords, and the new symbols case, into a single html_topicsindex(title) function. -- Added file: http://bugs.python.org/file30843/pdoc_symbols.diff ___ Py

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2013-07-07 Thread Ron Adam
Changes by Ron Adam : Removed file: http://bugs.python.org/file30831/pdoc_symbols.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue18257] Two copies of python-config

2013-07-07 Thread Matthias Klose
Matthias Klose added the comment: > Again, why is does does have to be a shell script anyway? please see above. I explained it. -- ___ Python tracker ___ __

  1   2   >