[issue27350] Compact and ordered dict

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > How to support sizeof(Py_ssize_t) == 4? #if SIZEOF_VOID_P == 4 > Can I use int8_t, int16_t and int32_t You can use PY_INT32_T for 32-bit signed integers, short for 16-bit signed integers (if SIZEOF_SHORT == 2) and signed char for 8-bit signed integers.

[issue19756] test_nntplib: sporadic failures, network isses? server down?

2016-06-18 Thread Martin Panter
Martin Panter added the comment: Here is a patch that changes all affected tests to use a custom server running on localhost: * Local server is based on the existing NNTPv2Handler class, and the LocalServerTests class * Reintegrate test_starttls() back into NetworkedNNTPTestsMixin * Only

[issue27351] Unexpected ConfigParser.read() behavior when passed fileobject

2016-06-18 Thread Rich Rauenzahn
Rich Rauenzahn added the comment: Given that write() accepts a fileobject, but read() accepts a list of strings or a string (and readfp() is the one that accepts a fileobject instead), this seems like it could be a common enough error that just iterating over the fileobject could be

[issue27351] Unexpected ConfigParser.read() behavior when passed fileobject

2016-06-18 Thread Xiang Zhang
Xiang Zhang added the comment: The doc tells ConfigParser.read accepts a filename or a list of filenames. Why do you pass it fileobject? If you want to use fileobject, why not read_file? -- nosy: +lukasz.langa, xiang.zhang ___ Python tracker

[issue27351] Unexpected ConfigParser.read() behavior when passed fileobject

2016-06-18 Thread Rich Rauenzahn
New submission from Rich Rauenzahn: This came up on StackOverflow: http://stackoverflow.com/a/37903779/2077386 I wanted to bring it to your attention in case it hasn't been notice before. It turns out that if you pass a fileobject (i.e., ConfigParser().read(open("foo"))) ConfigParser.read()

[issue27350] Compact and ordered dict

2016-06-18 Thread INADA Naoki
Changes by INADA Naoki : -- type: -> resource usage ___ Python tracker ___ ___

[issue27350] Compact and ordered dict

2016-06-18 Thread INADA Naoki
New submission from INADA Naoki: I've implemented compact ordered dictionary, introduced in PyPy blog [1]. To finish my work, I really need core developer's help. Please see TODO comment in the patch. [1]: https://morepypy.blogspot.jp/2015/01/faster-more-memory-efficient-and-more.html See

[issue27312] test_setupapp (idlelib.idle_test.test_macosx.SetupTest) fails on OS X

2016-06-18 Thread Ned Deily
Ned Deily added the comment: test_idle now runs without failing. Thanks, Terry and Berker. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue27319] Multiple item arguments for selection operations

2016-06-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Then don't. Better to do nothing until sure than to deprecate and then undeprecate. Thinking about it, I am not sure either. -- ___ Python tracker

[issue25717] tempfile.TemporaryFile fails when dir option set to directory residing on host OS mount

2016-06-18 Thread Oleg Babintsev
Oleg Babintsev added the comment: Thanks for explanation. -- ___ Python tracker ___ ___ Python-bugs-list

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-18 Thread Ned Deily
Changes by Ned Deily : -- priority: normal -> critical stage: -> needs patch versions: +Python 3.6 -Python 3.5 ___ Python tracker ___

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-18 Thread Ned Deily
Ned Deily added the comment: There is a problem with the current implementation. When running ./configure using compilers other than a current gcc, for example, when using clang or older versions of gcc, the build variable MULTIARCH may not get set because those compilers do not support

[issue27294] Better repr for Tkinter event objects

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: That's with this issue. I think we will return to Event repr after implementing named flags and providing standard mechanism for parsing and creating keystrokes (there are elements of this in IDLE). -- resolution: -> fixed stage: commit review ->

[issue27302] csv.Sniffer guesses wrong when unquoted fields contain quotes

2016-06-18 Thread R. David Murray
R. David Murray added the comment: Sniff is a heuristic. If you can suggest a way to improve the heuristic, great. A particular failed guess isn't really a bug, though. -- nosy: +r.david.murray ___ Python tracker

[issue26579] Support pickling slots in subclasses of common classes

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Synchronized with current sources. -- Added file: http://bugs.python.org/file43462/copyreg_getstate2.patch ___ Python tracker

[issue23968] rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset e2b09c00ee24 by Ned Deily in branch 'default': Issue #23968: Fix installs of the renamed config directory for OS X https://hg.python.org/cpython/rev/e2b09c00ee24 -- ___ Python tracker

[issue10839] email module should not allow some header field repetitions

2016-06-18 Thread R. David Murray
R. David Murray added the comment: In the new API there's no real reason to use the old MIME classes. If you want to add the keyword I have no objection, though. I started a documentation revision last year but haven't had time to get back to it. Hopefully I'll dust it off Real Soon Now.

[issue27299] urllib does not splitport while putrequest realhost to HTTP headers

2016-06-18 Thread R. David Murray
R. David Murray added the comment: httplib (which is what you are actually calling in your example) does not interpret headers set with putheader. It is the application's responsibility to get the header contents correct. As Xiang said, this looks like a server side issue. -- nosy:

[issue27294] Better repr for Tkinter event objects

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The last three commits actually are related to issue27079. -- ___ Python tracker ___

[issue27079] Bugs in curses.ascii predicates

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Committed with wrong commit message (damn two clipboards on X11) in ac8338546ca8, d7b6c07bc713, d03c8d0a6a73. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue27294] Better repr for Tkinter event objects

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7b6c07bc713 by Serhiy Storchaka in branch '3.5': Issue #27294: Numerical state in the repr for Tkinter event objects is now https://hg.python.org/cpython/rev/d7b6c07bc713 New changeset ac8338546ca8 by Serhiy Storchaka in branch '2.7': Issue

[issue27079] Bugs in curses.ascii predicates

2016-06-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___

[issue27294] Better repr for Tkinter event objects

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset e0ec4abe659f by Serhiy Storchaka in branch 'default': Issue #27294: Numerical state in the repr for Tkinter event objects is now https://hg.python.org/cpython/rev/e0ec4abe659f -- ___ Python tracker

[issue27349] distutils.command.upload: typo "protcol_version"

2016-06-18 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- nosy: +berker.peksag resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior versions: +Python 3.5, Python 3.6 ___ Python tracker

[issue27349] distutils.command.upload: typo "protcol_version"

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 81a9ce02b49b by Berker Peksag in branch '3.5': Issue #27349: Fix typo in distutils upload command https://hg.python.org/cpython/rev/81a9ce02b49b New changeset a4d00ae53e35 by Berker Peksag in branch 'default': Issue #27349: Merge from 3.5

[issue27349] distutils.command.upload: typo "protcol_version"

2016-06-18 Thread Jakub Wilk
New submission from Jakub Wilk: distutils/command/upload.py reads: data = { # action ':action': 'file_upload', 'protcol_version': '1', ... } It should be of course 'protocol_version'. I checked the PyPI code, and it's spelled

[issue27130] zlib: OverflowError while trying to compress 2^32 bytes or more

2016-06-18 Thread Xiang Zhang
Changes by Xiang Zhang : Removed file: http://bugs.python.org/file43460/64bit_support_for_zlib_v5.patch ___ Python tracker ___

[issue27130] zlib: OverflowError while trying to compress 2^32 bytes or more

2016-06-18 Thread Xiang Zhang
Changes by Xiang Zhang : Added file: http://bugs.python.org/file43461/64bit_support_for_zlib_v5.patch ___ Python tracker ___

[issue27021] It is not documented that os.writev() suffer from SC_IOV_MAX

2016-06-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Марк, it's documented now. Thank you for the patch. -- nosy: +orsenthil resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue27021] It is not documented that os.writev() suffer from SC_IOV_MAX

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset eddbf14f451b by Senthil Kumaran in branch '3.5': issue27021 - Document SC_IOV_MAX limitation imposed by OS on os.writev. https://hg.python.org/cpython/rev/eddbf14f451b New changeset 0b1cd695e7aa by Senthil Kumaran in branch 'default': [merge from

[issue27130] zlib: OverflowError while trying to compress 2^32 bytes or more

2016-06-18 Thread Xiang Zhang
Xiang Zhang added the comment: Attach patch to restore argument parsing support for __int__. -- Added file: http://bugs.python.org/file43460/64bit_support_for_zlib_v5.patch ___ Python tracker

[issue24955] webbrowser broken on Mac OS X when using the BROWSER variable

2016-06-18 Thread Doug Hellmann
Changes by Doug Hellmann : -- nosy: +doughellmann ___ Python tracker ___ ___

[issue24452] Make webbrowser support Chrome on Mac OS X

2016-06-18 Thread Doug Hellmann
Changes by Doug Hellmann : -- nosy: +doughellmann ___ Python tracker ___ ___

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-06-18 Thread Steve Dower
Steve Dower added the comment: That's the best function to use. -- ___ Python tracker ___ ___

[issue27130] zlib: OverflowError while trying to compress 2^32 bytes or more

2016-06-18 Thread Xiang Zhang
Changes by Xiang Zhang : Removed file: http://bugs.python.org/file43450/64bit_support_for_zlib_v4.patch ___ Python tracker ___

[issue27130] zlib: OverflowError while trying to compress 2^32 bytes or more

2016-06-18 Thread Xiang Zhang
Changes by Xiang Zhang : Added file: http://bugs.python.org/file43459/64bit_support_for_zlib_v4.patch ___ Python tracker ___

[issue24424] xml.dom.minidom: performance issue with Node.insertBefore()

2016-06-18 Thread Robert Haschke
Robert Haschke added the comment: Thank you very much for further improving the code. As I understand it, the trick is to use temporary variables to minimize access time. Learned something new. I adapted your patch to python 2.7 again. Now, in python3, the new code is even faster than the

[issue27348] Non-main thread exception handler drops exception message

2016-06-18 Thread Martin Panter
New submission from Martin Panter: If the exception argument is None or repr(None), it is omitted from the report when a thread raises an unhandled exception: >>> def raise_exception(e): ... raise e ... >>> t = Thread(target=raise_exception, args=(Exception(None),)); t.start(); >>>

[issue27347] Spam

2016-06-18 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -Daniel Griffin resolution: -> not a bug stage: -> resolved status: open -> closed title: Private -> Spam ___ Python tracker

[issue27347] Private

2016-06-18 Thread SilentGhost
Changes by SilentGhost : -- Removed message: http://bugs.python.org/msg268813 ___ Python tracker ___

[issue27347] Private

2016-06-18 Thread SilentGhost
Changes by SilentGhost : Removed file: http://bugs.python.org/file43458/bugreport-2016-05-29-03-43-39.txt ___ Python tracker ___

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg268811 ___ Python tracker ___

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg268812 ___ Python tracker ___

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg268809 ___ Python tracker ___

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg268808 ___ Python tracker ___

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Berker Peksag
Changes by Berker Peksag : -- components: -Tests nosy: -Daniel Griffin, Daniel Griffin, Daniel Griffin ___ Python tracker ___

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Berker Peksag
Changes by Berker Peksag : Removed file: http://bugs.python.org/file43453/bugreport-2016-05-18-03-28-01.txt ___ Python tracker ___

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Berker Peksag
Changes by Berker Peksag : Removed file: http://bugs.python.org/file43455/bugreport-2016-05-18-03-28-01.txt ___ Python tracker ___

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Berker Peksag
Changes by Berker Peksag : Removed file: http://bugs.python.org/file43454/bugreport-2016-05-18-03-28-01.txt ___ Python tracker ___

[issue27347] Private

2016-06-18 Thread Daniel Griffin
New submission from Daniel Griffin: http://creativecommons.org/licenses/by/4.0/;>https://i.creativecommons.org/l/by/4.0/88x31.png; />This work is licensed under a http://creativecommons.org/licenses/by/4.0/;>Creative Commons Attribution 4.0 International License. -- components:

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Lele Gaifax
Lele Gaifax added the comment: Daniel, are these misplaced comments, or should your quite big attachments tell me something I'm missing? -- ___ Python tracker

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Daniel Griffin
Daniel Griffin added the comment: example -- components: +Tests nosy: +Daniel Griffin, Daniel Griffin, Daniel Griffin Added file: http://bugs.python.org/file43455/bugreport-2016-05-18-03-28-01.txt ___ Python tracker

[issue27258] Exception in BytesGenerator.flatten

2016-06-18 Thread Pedro Lacerda
Pedro Lacerda added the comment: Now the file is back! If any previous header has a newline before the value the error will not happen. But even with the output correct it isn't as expected. -- Added file: http://bugs.python.org/file43457/flatten-no-exception.mail

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Daniel Griffin
Daniel Griffin added the comment: http://creativecommons.org/licenses/by/4.0/;>https://i.creativecommons.org/l/by/4.0/88x31.png; />This work is licensed under a http://creativecommons.org/licenses/by/4.0/;>Creative Commons Attribution 4.0 International License. -- nosy: +Daniel

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Daniel Griffin
Daniel Griffin added the comment: http://creativecommons.org/licenses/by/4.0/;>https://i.creativecommons.org/l/by/4.0/88x31.png; />This work is licensed under a http://creativecommons.org/licenses/by/4.0/;>Creative Commons Attribution 4.0 International License. -- components: +Tests

[issue27258] Exception in BytesGenerator.flatten

2016-06-18 Thread Pedro Lacerda
Pedro Lacerda added the comment: Now the file is back! If any previous header has a newline before the value the error will not happen. But even with the output correct it isn't as expected. -- Added file: http://bugs.python.org/file43456/flatten-no-exception.mail

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-06-18 Thread Berker Peksag
Berker Peksag added the comment: > That'll handle the test fine, though I wonder whether we should try and > conditionally define the constant at runtime? +1. Is it safe to use IsWindows8OrGreater()? -- ___ Python tracker

[issue27177] re match.group should support __index__

2016-06-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-06-18 Thread Steve Dower
Steve Dower added the comment: That'll handle the test fine, though I wonder whether we should try and conditionally define the constant at runtime? Probably at least want to add a note to the docs about Win 8 being the minimum, especially since so many people are still on 7. --

[issue27177] re match.group should support __index__

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0303ab246152 by Serhiy Storchaka in branch 'default': Issue #27177: Match objects in the re module now support index-like objects https://hg.python.org/cpython/rev/0303ab246152 -- nosy: +python-dev ___

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 213c240cce0a by Berker Peksag in branch 'default': Issue #26536: Use spaces instead of tabs https://hg.python.org/cpython/rev/213c240cce0a -- ___ Python tracker

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-06-18 Thread Berker Peksag
Berker Peksag added the comment: It looks like SIO_LOOPBACK_FAST_PATH is also defined in older Windows versions. I updated the test to skip if SIO_LOOPBACK_FAST_PATH is defined and exc.winerror is WSAEOPNOTSUPP. Buildbot is now green:

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset e8b10ed64e63 by Berker Peksag in branch 'default': Issue #26536: Skip test_sio_loopback_fast_path under Windows 7 https://hg.python.org/cpython/rev/e8b10ed64e63 -- ___ Python tracker

[issue27177] re match.group should support __index__

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Interesting. This is very unusual but reasonable use case. -- assignee: -> serhiy.storchaka ___ Python tracker ___

[issue27346] Implement os.readv() / os.writev()

2016-06-18 Thread Eryk Sun
Changes by Eryk Sun : -- components: +Library (Lib) -Extension Modules ___ Python tracker ___

[issue27346] Implement os.readv() / os.writev()

2016-06-18 Thread Eryk Sun
Eryk Sun added the comment: ReadFileScatter and WriteFileGather also require a handle for a file that's opened with FILE_FLAG_OVERLAPPED (asynchronous access; the file pointer is not updated) and FILE_FLAG_NO_BUFFERING (buffers must be a multiple of the physical sector size and aligned to the

[issue26754] PyUnicode_FSDecoder() accepts arbitrary iterable

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Following patch deprecates the support of bytes-like objects (except bytes itself) in PyUnicode_FSDecoder() for consistency with issue26800. -- dependencies: +Don't accept bytearray as filenames part 2 versions: -Python 3.5 Added file:

[issue27177] re match.group should support __index__

2016-06-18 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: My use case is SageMath: http://trac.sagemath.org/ticket/20750 -- ___ Python tracker ___

[issue25717] tempfile.TemporaryFile fails when dir option set to directory residing on host OS mount

2016-06-18 Thread Martin Panter
Martin Panter added the comment: This original bug was about fstat() failing for an anonymous file (after the directory entry was removed). But in your situation the file system refuses to unlink the directory entry. If you think there is something that can be fixed in Python, I suggest open

[issue26754] PyUnicode_FSDecoder() accepts arbitrary iterable

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2e48c2c4c733 by Serhiy Storchaka in branch '3.5': Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as https://hg.python.org/cpython/rev/2e48c2c4c733 New changeset e18ac7370113 by Serhiy Storchaka in branch 'default': Issue

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-18 Thread Lele Gaifax
Lele Gaifax added the comment: In https://github.com/lelit/cpython/commit/3e5e557a876831a99c21f5a173623cb05ff48abf I reimplemented the functionality in a slightly different and hopefully better way, rebasing it on current master. IANAL, but I think that the new approach is different enough

[issue27294] Better repr for Tkinter event objects

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: According to Tk sources on Mac OSX: Mod1 is Command (=Meta), Mod2 is Option (=Alt), Mod3 is NumLock, Mod4 is Fn. -- ___ Python tracker

[issue25717] tempfile.TemporaryFile fails when dir option set to directory residing on host OS mount

2016-06-18 Thread Oleg Babintsev
Oleg Babintsev added the comment: My environment: Windows as host OS, VirtualBox VM, Linux as guest OS When temporary directory is a directory which mounted from the host OS, a "OSError: [Errno 26] Text file busy" exception is thrown. Test file: import tempfile with

[issue27130] zlib: OverflowError while trying to compress 2^32 bytes or more

2016-06-18 Thread Xiang Zhang
Xiang Zhang added the comment: Upload the new patch to fix bugs and make improvements. I'll add tests later. -- Added file: http://bugs.python.org/file43450/64bit_support_for_zlib_v4.patch ___ Python tracker

[issue27319] Multiple item arguments for selection operations

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not sure that passing multiple items as a tuple should be deprecated. -- ___ Python tracker ___

[issue25717] tempfile.TemporaryFile fails when dir option set to directory residing on host OS mount

2016-06-18 Thread Martin Panter
Martin Panter added the comment: Are you sure Oleg? As far as I understand, Python 2 by default wraps C stdio file objects, and also has Python 3’s file objects in the “io” module. But I expect TemporaryFile() would use the default stdio files, and the cause of this bug, Issue 21679, should

[issue27346] Implement os.readv() / os.writev()

2016-06-18 Thread Марк Коренберг
Марк Коренберг added the comment: however, unlike the POSIX functions, they require the alignment of each buffer on a memory page -- ___ Python tracker

[issue27021] It is not documented that os.writev() suffer from SC_IOV_MAX

2016-06-18 Thread Марк Коренберг
Марк Коренберг added the comment: Attached the patch. Please review. -- keywords: +patch Added file: http://bugs.python.org/file43449/writev_doc.patch ___ Python tracker

[issue27021] It is not documented that os.writev() suffer from SC_IOV_MAX

2016-06-18 Thread Марк Коренберг
Марк Коренберг added the comment: Oops. It is documented in latest version... -- ___ Python tracker ___ ___

[issue27346] Implement os.readv() / os.writev()

2016-06-18 Thread Martin Panter
Changes by Martin Panter : -- components: +Extension Modules, Windows -Library (Lib) nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker

[issue27021] It is not documented that os.writev() suffer from SC_IOV_MAX

2016-06-18 Thread Марк Коренберг
Марк Коренберг added the comment: Also it is not documented that os.writev() is not awailable on Windows (!) Also see issue27346 -- ___ Python tracker

[issue27346] Implement os.readv() / os.writev()

2016-06-18 Thread Марк Коренберг
Марк Коренберг added the comment: Also do not forget to fix documentation: issue27021 -- ___ Python tracker ___

[issue25717] tempfile.TemporaryFile fails when dir option set to directory residing on host OS mount

2016-06-18 Thread Oleg Babintsev
Oleg Babintsev added the comment: Problem is still actual for Python 2.7 Can you provide the fix for 2.7 too? -- nosy: +Oleg Babintsev versions: +Python 2.7 -Python 3.5, Python 3.6 ___ Python tracker

[issue27346] Implement os.readv() / os.writev()

2016-06-18 Thread Марк Коренберг
Changes by Марк Коренберг : -- title: Implement os.readv() / os.readv() -> Implement os.readv() / os.writev() ___ Python tracker

[issue27346] Implement os.readv() / os.readv()

2016-06-18 Thread Марк Коренберг
New submission from Марк Коренберг: These functions are not implemented natively in Windows, but the Windows API has analogous functions ReadFileScatter and WriteFileGather. -- components: IO, Library (Lib) messages: 268782 nosy: mmarkk priority: normal severity: normal status: open

[issue19884] Importing readline produces erroneous output

2016-06-18 Thread Martin Panter
Martin Panter added the comment: Here is a patch to enable the workaround on OS X, and to adjust the test condition to 6.1. It would be nice if someone with OS X and Gnu Readline can confirm that this fixes the problem. -- stage: needs patch -> patch review Added file:

[issue19884] Importing readline produces erroneous output

2016-06-18 Thread Martin Panter
Martin Panter added the comment: Yogesh: Victor’s patch has already been applied. What is left to do is another patch that enables Victor’s code on OS X when Gnu Readline is being used, as opposed to the usual Apple Editline. Also, I think it is valid to update the version check to 6.1.

[issue27149] Implement socket.sendmsg() for Windows

2016-06-18 Thread Марк Коренберг
Марк Коренберг added the comment: WSASend function can send array of buffers: https://msdn.microsoft.com/en-us/library/ms742203(v=vs.85).aspx -- ___ Python tracker

[issue24314] irrelevant cross-link in documentation of user-defined functions

2016-06-18 Thread Martin Panter
Martin Panter added the comment: I also backported most of my changes to 2.7, although __name__ wasn’t originally linking to anything at all there. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.4

[issue26536] Add the SIO_LOOPBACK_FAST_PATH option to socket.ioctl

2016-06-18 Thread Martin Panter
Martin Panter added the comment: This is failing on Windows 7 buildbots: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/7849/steps/test/logs/stdio == ERROR: test_sio_loopback_fast_path

[issue24314] irrelevant cross-link in documentation of user-defined functions

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1ed4e4a168bb by Martin Panter in branch '2.7': Issue #24314: Add links for general attributes like __name__, __dict__ https://hg.python.org/cpython/rev/1ed4e4a168bb New changeset 4c361e189747 by Martin Panter in branch '3.5': Issue #24314: Fix doc

[issue27177] re match.group should support __index__

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is the use case? -- ___ Python tracker ___ ___ Python-bugs-list

[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here are additional tests. -- status: closed -> open Added file: http://bugs.python.org/file43447/issue27122-additional-tests.patch ___ Python tracker

[issue27345] GzipFile's readinto() reads gzip data instead of file data.

2016-06-18 Thread Ryan Birmingham
New submission from Ryan Birmingham: In cases where libraries try to call readinto(), the results are unexpected (the gzip data). Shouldn't it instead raise UnsupportedOperation for readinto() (and truncate())? -- components: IO files: gzip_readinto.patch keywords: patch messages:

[issue27343] Incorrect error message for conflicting initializers of ctypes structure

2016-06-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue27343] Incorrect error message for conflicting initializers of ctypes structure

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset ed81fc7e285b by Serhiy Storchaka in branch '3.5': Issue #27343: Fixed error message for conflicting initializers of ctypes.Structure. https://hg.python.org/cpython/rev/ed81fc7e285b New changeset 40e3790c2a00 by Serhiy Storchaka in branch

[issue27333] validate_step in rangeobject.c, incorrect code logic but right result

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Xiang. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue27333] validate_step in rangeobject.c, incorrect code logic but right result

2016-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4fbcd58df1a0 by Serhiy Storchaka in branch 'default': Issue #27333: Simplified testing step on 0. https://hg.python.org/cpython/rev/4fbcd58df1a0 -- nosy: +python-dev ___ Python tracker

[issue27333] validate_step in rangeobject.c, incorrect code logic but right result

2016-06-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Agreed. -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___

[issue27342] Clean up some Py_XDECREFs in rangeobject.c and bltinmodule.c

2016-06-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

  1   2   >