[issue24266] raw_input + readline: Ctrl+C during search breaks readline

2015-05-27 Thread Martin Panter
Martin Panter added the comment: I reported this to Gnu Readline: . So far it sounds like there is no general solution. I am posting a patch implementing Sebastian’s workaround. But my personal philosophy is to leave Python

[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2015-05-27 Thread Nathaniel Smith
New submission from Nathaniel Smith: DeprecationWarning and PendingDeprecationWarning are invisible by default. The rationale for this is that they are only useful to people who are writing code, so they should not be shown to end-users who are merely running code. If someone is typing stuff i

[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2015-05-27 Thread Nathaniel Smith
Nathaniel Smith added the comment: I also filed a similar bug with ipython: https://github.com/ipython/ipython/issues/8478 -- ___ Python tracker ___

[issue17941] namedtuple should support fully qualified name for more portable pickling

2015-05-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > That will not work correctly if the module name has a dot in it. Pickling qualified names with arbitrary number of dots is supported in 3.4 with protocol 4 and in 3.5 with all protocols (backward compatibly). -- nosy: +serhiy.storchaka ___

[issue22955] Pickling of methodcaller, attrgetter, and itemgetter

2015-05-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue23914] pickle fails with SystemError

2015-05-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue23790] When xdrlib.Packer().pack_string() fails, the Packer is corrupted

2015-05-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> rejected stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Pyt

[issue23513] Add support for classes/object model in multiprocessing/pickle

2015-05-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please provide full example that you want to work and test it in Python 3.5? I suppose your issue is fixed in 3.5. -- nosy: +serhiy.storchaka ___ Python tracker __

[issue23574] datetime: support leap seconds

2015-05-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Here's what mxDateTime uses: >>> import mx.DateTime >>> >>> t1 = mx.DateTime.DateTime(2012,6,30,23,59,60) >>> t2 = mx.DateTime.DateTime(2012,7,1,0,0,0) >>> >>> t1 >>> t2 >>> >>> t2-t1 >>> (t2-t1).seconds 0.0 >>> >>> t1 + mx.DateTime.oneSecond It preserv

[issue24259] tar.extractall() does not recognize unexpected EOF

2015-05-27 Thread Thomas Guettler
Thomas Guettler added the comment: Who has enough knowledge of the tarfile module to create a good patch? -- nosy: +guettli ___ Python tracker ___ ___

[issue23970] Update distutils.msvccompiler for VC14

2015-05-27 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I was away the last few days, so just found the changes now. IMO, it's a good idea to use a new module for the new compiler, but don't think it's a good idea to make the whole module private, since this implicitly disallows sub-classing the compiler class

[issue24295] Backport of #17086 causes regression in setup.py

2015-05-27 Thread Moritz Sichert
New submission from Moritz Sichert: In 7955d769fdf5 a bug of #14330 got fixed and it got backported for 2.7. But these changes were reverted by another backport in 8ee6d96a1019 (which was a backport for #17086). The issue here is that right know setup.py looks for ssl and other libs' headers i

[issue18032] Optimization for set/frozenset.issubset()

2015-05-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In C implementation no need to create set object seen. More efficient way is to use bit array. Here is a patch that uses this approach. ./python -m timeit -s "s1 = set(range(1000))" "s1.issubset(range(1000))" Unpatched : 1 loops, best of 3: 115 usec per

[issue23275] Can assign [] = (), but not () = []

2015-05-27 Thread Ionel Cristian Mărieș
Changes by Ionel Cristian Mărieș : -- nosy: +ionelmc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue24296] Queue documentation note needed

2015-05-27 Thread Sandy Chapman
New submission from Sandy Chapman: The example at the bottom of the following page should have a warning added: https://docs.python.org/2/library/queue.html The warning should be such that the user is informed that the threads in the example are not cleaned up and will continue to run. Any fut

[issue23275] Can assign [] = (), but not () = []

2015-05-27 Thread Rahul Gupta
Rahul Gupta added the comment: isn't it logical? [] is a mutable data structure while () is a immutable data structure (b, a) = [1, 2] is fine because a and b are mutable -- nosy: +Rahul Gupta ___ Python tracker

[issue18032] Optimization for set/frozenset.issubset()

2015-05-27 Thread Bruno Cauet
Bruno Cauet added the comment: Serhiy, that sounds good but I think that you have forgotten to attach the mentioned patch. -- ___ Python tracker ___

[issue23275] Can assign [] = (), but not () = []

2015-05-27 Thread Devin Jeanpierre
Devin Jeanpierre added the comment: [a, b] = (1, 2) is also fine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue23275] Can assign [] = (), but not () = []

2015-05-27 Thread Martin Panter
Martin Panter added the comment: I prefer to unpack into square brackets in general because it is a mnemonic for the star argument being a list: >>> (a, *b) = range(3) >>> a 0 >>> b # A list, even though it was unpacked using tuple-like syntax [1, 2] -- __

[issue24297] Lib/symbol.py is out of sync with Grammar/Grammar

2015-05-27 Thread Marius Gedminas
New submission from Marius Gedminas: While investigating https://bitbucket.org/pypa/setuptools/issue/388/install-from-sdist-fails-on-python-350b1 I noticed that Grammar/Grammar changed in 3.5, but Lib/symbol.py wasn't updated. I'm not familiar with the CPython parser, but I suspect that addi

[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2015-05-27 Thread Martin Panter
Martin Panter added the comment: I have learnt to run the interactive interpeter (and also most of my own scripts) with the -b -Wall options. But having these switched on automatically may not be a bad thing. -- nosy: +vadmium ___ Python tracker

[issue18032] Optimization for set/frozenset.issubset()

2015-05-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, sorry. Here is it. -- Added file: http://bugs.python.org/file39516/set_issubset_bitarray.patch ___ Python tracker ___

[issue23970] Update distutils.msvccompiler for VC14

2015-05-27 Thread Steve Dower
Steve Dower added the comment: I understood it only disallowed complaining about breaking changes without a deprecation cycle :) I'm sorry I didn't realize you were away. If you have examples of how subclassing this class (and not just CCompiler) is useful and does something that can't be don

[issue23970] Update distutils.msvccompiler for VC14

2015-05-27 Thread Mark Lawrence
Mark Lawrence added the comment: If the name is changed I'd like to see something that doesn't reflect the msvc version, as my understanding is that from now on the old compatibility issues are gone. -- ___ Python tracker

[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2015-05-27 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2015-05-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See discussion on Python-Ideas [1]. [1] http://comments.gmane.org/gmane.comp.python.ideas/32191 -- components: +Interpreter Core nosy: +serhiy.storchaka versions: +Python 3.6 ___ Python tracker

[issue24296] Queue documentation note needed

2015-05-27 Thread R. David Murray
R. David Murray added the comment: If you know anything about threads you can see that the threads are not explicitly shut down. As a standalone example it is "correct", in that they get shut down at interpreter shutdown. I'm not sure it is appropriate to include what is essentially a thread

[issue24297] Lib/symbol.py is out of sync with Grammar/Grammar

2015-05-27 Thread R. David Murray
R. David Murray added the comment: It is "automatically generated" in that it isn't hand-written. On the other hand, it isn't "automatically generated" in the sense of being part of the make process, ./python symbol.py is supposed to be run by hand when it is appropriate. A bit ago someone w

[issue24288] Include/opcode.h is modified during building

2015-05-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think the intension was to produce aligned data, but the alignment of the second column was wrong. Here is a patch that corrects formatting. -- stage: needs patch -> patch review Added file: http://bugs.python.org/file39517/generate_opcode_h_align.p

[issue24297] Lib/symbol.py is out of sync with Grammar/Grammar

2015-05-27 Thread Brett Cannon
Changes by Brett Cannon : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24288] Include/opcode.h is modified during building

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: lgtm -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue24296] Queue documentation note needed

2015-05-27 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue24296] Queue documentation note needed

2015-05-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: It is normal for daemon threads to not be shut down. That is why they exist. The purpose of Queue.join() is to give other threads a way to know when daemons have finished doing their work (i.e. a print manager thread to indicate that it is done printing)

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: timemodule.c no longer compiles on MacOSX: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Werror=declaration-after-statement -I./Include -I. -IInclude -I/usr/local/include -I/Users/yury/dev/py/cpyth

[issue24270] PEP 485 (math.isclose) implementation

2015-05-27 Thread Tal Einat
Tal Einat added the comment: Attached yet another revised version of the math.isclose() patch. This patch fixes a problem with the tests in the previous patch which causes them to fail when the full test suite is run. I've also slightly reworded the doc-string. Hopefully this is ready to go i

[issue24017] Implemenation of the PEP 492 - Coroutines with async and await syntax

2015-05-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 843fe7e831a8 by Yury Selivanov in branch '3.5': Issue 24297: Update symbol.py. See also issue 24017. https://hg.python.org/cpython/rev/843fe7e831a8 New changeset 87509d71653b by Yury Selivanov in branch 'default': Issue 24297: Update symbol.py. See

[issue24297] Lib/symbol.py is out of sync with Grammar/Grammar

2015-05-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 843fe7e831a8 by Yury Selivanov in branch '3.5': Issue 24297: Update symbol.py. See also issue 24017. https://hg.python.org/cpython/rev/843fe7e831a8 New changeset 87509d71653b by Yury Selivanov in branch 'default': Issue 24297: Update symbol.py. See

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Steve Dower
Steve Dower added the comment: That change was in for beta 1, so we would have noticed if we didn't get Mac builds. Something else has changed, probably some headers. -- ___ Python tracker ___

[issue24297] Lib/symbol.py is out of sync with Grammar/Grammar

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: Attached is a new unittest to make sure that symbol.py is always updated. Essentially it's the same test that we have for keywords.py. Please review. -- assignee: -> yselivanov keywords: +patch nosy: +yselivanov stage: -> patch review versions: +Pyt

[issue24298] inspect.signature includes bound argument for wrappers around bound methods

2015-05-27 Thread Petr Viktorin
Petr Viktorin added the comment: Reported by David Gibson here: https://bugzilla.redhat.com/show_bug.cgi?id=1201990 -- ___ Python tracker ___ ___

[issue24298] inspect.signature includes bound argument for wrappers around bound methods

2015-05-27 Thread Petr Viktorin
New submission from Petr Viktorin: When obtaining the signature of a bound method, inspect.signature, by default, omits the "self" argument to the method, since it is already specified in the bound method. However, if you create a wrapper around a bound method with functools.update_wrapper()

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Ned Deily
Ned Deily added the comment: Yury, I'm not seeing that compile error with current head of default on OS X. Try a clean build, perhaps? -- nosy: +ned.deily ___ Python tracker ___

[issue24299] 2.7.10 test__locale.py change breaks on Solaris

2015-05-27 Thread John Beck
New submission from John Beck: The upgrade from 2.7.9 to 2.7.10 resulted in test__locale failing. This test had previously succeeded. The difference is that the thousands-separator for the fr_FR locale in known_numerics was changed from '' (i.e., unknown) to ' ' (i.e. space). But on Solaris, '\

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: This exact sequence of commands $ make clean $ ./configure $ make -j8 does not build. -- ___ Python tracker ___ __

[issue24300] Code Refactoring in function nis_mapname()

2015-05-27 Thread pankaj.s01
New submission from pankaj.s01: Hi, Here , A code refactoring patch have been submitted for Function: nis_mapname() and File: Python-3.4.3/Modules/nismodule.c Please Review it, Thanks, Pankaj -- components: Extension Modules files: Python-3.4.3-nismodule.patch keywords: patch message

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: $ hg status shows nothing, branch is default (but 3.5 doesn't get built either) etc. -- ___ Python tracker ___ _

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Ned Deily
Ned Deily added the comment: I think you have a Python installed in /usr/local that is interfering. -- ___ Python tracker ___ ___ Pyth

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: But why was it building just fine before this commit? I haven't updated my system packages in a while. -- ___ Python tracker ___ __

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Steve Dower
Steve Dower added the comment: Those macros are only included if Py_BUILD_CORE is defined, regardless of platform (see Include/pyport.h). Is it possible that's being undefined somehow? -- ___ Python tracker _

[issue24301] gzip module failing to decompress valid compressed file

2015-05-27 Thread Eric Gorr
New submission from Eric Gorr: I have a file whose first four bytes are 1F 8B 08 00 and if I use gunzip from the command line, it outputs: gzip: zImage_extracted.gz: decompression OK, trailing garbage ignored and correctly decompresses the file. However, if I use the gzip module to read and d

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Ned Deily
Ned Deily added the comment: Wild guess: perhaps you did a ./configure or the Makefile did an implicit call to configure recently and/or you did a make install (to /usr/local) before? -- ___ Python tracker ___

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: > Wild guess: perhaps you did a ./configure or the Makefile did an implicit > call to configure recently and/or you did a make install (to /usr/local) > before? I don't have 'python' in /usr/local and /usr/local/bin -- ___

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Ned Deily
Ned Deily added the comment: But do you have any Python header files in /usr/local/include? The gcc command you pasted shows -I/usr/local/include? Mine don't show that. -- ___ Python tracker

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: yury@ysmac ~/dev/py/cpython (HG: default?) $ ls /usr/local/include/ librtmp osxfuse pycairo -- ___ Python tracker ___ __

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: FWIW, I think that in order to use _Py_BEGIN_SUPPRESS_IPH timemodule.c should be compiled with PY_CORE_CFLAGS, and that should be reflected in the Makefile. -- ___ Python tracker

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Steve Dower
Steve Dower added the comment: Looking at a `grep PY_CORE_CFLAGS`, that sounds reasonable to me. I assumed that all core files were already being compiled with Py_BUILD_CORE (they certainly are for Windows), so this seems to be an oversight for timemodule.c. -- __

[issue24302] Dead Code of Handler check in function faulthandler_fatal_error()

2015-05-27 Thread pankaj.s01
New submission from pankaj.s01: Hi, There is dead code reported in this issue and I think no need to check for NULL of 'handler' in function faulthandler_fatal_error() and file Python-3.4.3/Modules/faulthandler.c . where 'handler' is pointed to staic array faulthandler_handlers[] which never w

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: Steve, maybe you can surround "_Py_BEGIN_SUPPRESS_IPH" with "#ifdef Py_BUILD_CORE"? -- ___ Python tracker ___ _

[issue24298] inspect.signature includes bound argument for wrappers around bound methods

2015-05-27 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue24298] inspect.signature includes bound argument for wrappers around bound methods

2015-05-27 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Ned Deily
Ned Deily added the comment: Yury, another (less) wild guess: do you have an out-of-date Modules/Setup or Setup.local? timemodule is defined in Setup.dist but that will be overridden by a locally modified copy in the Modules directory. Towards the end of the configured top-level Makefile, yo

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Steve Dower
Steve Dower added the comment: When do we build timemodule.c outside of core? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: > Towards the end of the configured top-level Makefile, you should see: Yes, I don't see that line. What should I do to regenerate it? And another question: what did go wrong with my checkout? -- ___ Python tracke

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Ned Deily
Ned Deily added the comment: Check the times and contents on all of your Modules/Setup* files. Try deleting Setup.local for one. -- ___ Python tracker ___ _

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Majeed Arni
Majeed Arni added the comment: Though %f is a valid format from Python's doc https://docs.python.org/2/library/datetime.html, the fix just ignores it on Windows? can we atleast get milliseconds on Windows and Micro on Linux? %f Microsecond as a decimal number, zero-padded on the left.

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: > Check the times and contents on all of your Modules/Setup* files. Try > deleting Setup.local for one. I just made a clean checkout and that helped. I have no idea what caused this. Thank you, Ned, for troubleshooting this with me! -- priority: cr

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread R. David Murray
R. David Murray added the comment: Note that when I run into build problems after an update, I generally run 'make distclean' and then redo the configure/make. This generally cleans up any problems like this (and I don't find that I need to do it very often.) -- _

[issue24302] Dead Code of Handler check in function faulthandler_fatal_error()

2015-05-27 Thread R. David Murray
Changes by R. David Murray : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Ned Deily
Ned Deily added the comment: > Note that when I run into build problems after an update, I generally > run 'make distclean' and then redo the configure/make. Yes, but I believe that won't help with changed Modules/Setup* files and, because it is needed in the core interpreter executable, timemo

[issue23359] Speed-up set_lookkey()

2015-05-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset cd1e1715becd by Raymond Hettinger in branch 'default': Issue #23359: Specialize set_lookkey intoa lookup function and an insert function. https://hg.python.org/cpython/rev/cd1e1715becd -- ___ Python trac

[issue23359] Speed-up set_lookkey()

2015-05-27 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread R. David Murray
R. David Murray added the comment: Right, that's why I said make *dist*clean. That does delete any existing Setup file(s), which is what you want when working with a checkout for Python development purposes. -- ___ Python tracker

[issue24244] Python exception on strftime with %f on Python 3 and Python 2 on windows

2015-05-27 Thread Ned Deily
Ned Deily added the comment: So you did, sorry! Another, perhaps evan more reliable option is (requires enabling the purge extension in hg): hg purge --all -- ___ Python tracker _

[issue23275] Can assign [] = (), but not () = []

2015-05-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: Berker's patch looks good. It has several virtues: * the error message is reasonable and clear * it makes the language more consistent * it doesn't break any existing code. * it makes the AST a little simpler and faster by removing a special case The patch

[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2015-05-27 Thread Thomas Kluyver
Changes by Thomas Kluyver : -- nosy: +takluyver ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue24295] Backport of #17086 causes regression in setup.py

2015-05-27 Thread Ned Deily
Changes by Ned Deily : -- nosy: +doko priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24295] Backport of #17086 causes regression in setup.py

2015-05-27 Thread Matthias Klose
Matthias Klose added the comment: I'll look at this in June. I don't think that reverting is the right choice here. -- ___ Python tracker ___ ___

[issue23359] Speed-up set_lookkey()

2015-05-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why you have added entry->hash == 0? -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2015-05-27 Thread Paul Hobbs
New submission from Paul Hobbs: Using pid namespacing it is possible to have multiple processes with the same pid. "semlock_new" creates a semaphore file with the template "/dev/shm/mp{pid}-{counter}". This can conflict if the same semaphore file already exists due to another Python process

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2015-05-27 Thread Ned Deily
Changes by Ned Deily : -- nosy: +devin, sbt stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue24299] 2.7.10 test__locale.py change breaks on Solaris

2015-05-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is not the Right Answer because on Linux the thousands-separator for the fr_FR locale is a space. Perhaps better solution would be to specify the UTF-8 encoding for fr_FR locale. -- assignee: -> serhiy.storchaka nosy: +lemburg, loewis, serhiy.s

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2015-05-27 Thread Ned Deily
Changes by Ned Deily : -- nosy: +davin -devin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2015-05-27 Thread Mike Frysinger
Changes by Mike Frysinger : -- nosy: +vapier ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24288] Include/opcode.h is modified during building

2015-05-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue24301] gzip module failing to decompress valid compressed file

2015-05-27 Thread Ned Deily
Ned Deily added the comment: Can you add a public copy of a file that fails this way? There are several open issues with gzip, like Issue1159051, that might cover this but it's hard to know for sure without a test case. -- nosy: +ned.deily type: crash ->

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2015-05-27 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue23275] Can assign [] = (), but not () = []

2015-05-27 Thread flying sheep
flying sheep added the comment: > isn't it logical? > > [] is a mutable data structure > while () is a immutable data structure but you don’t assign to data structures, but to names. you *modify* data structures. and in the square bracket assignment syntax you don’t modify the list created by

[issue24298] inspect.signature includes bound argument for wrappers around bound methods

2015-05-27 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks for reporting this, Petr! Nick, could you please take a look at the patch? -- assignee: -> yselivanov keywords: +patch stage: -> patch review versions: +Python 3.6 Added file: http://bugs.python.org/file39524/signature.patch __

[issue24304] Documentation broken link to license

2015-05-27 Thread Leonardo Tada
New submission from Leonardo Tada: In this page https://docs.python.org/3.4/faq/general.html#are-there-copyright-restrictions-on-the-use-of-python the link for "the PSF license page" is broken. -- assignee: docs@python components: Documentation messages: 244217 nosy: Leonardo Tada, docs

[issue24295] Backport of #17086 causes regression in setup.py

2015-05-27 Thread Moritz Sichert
Moritz Sichert added the comment: I wouldn't call it reverting since it already was like this before and only got changed by accident in another backport. -- ___ Python tracker

[issue8232] webbrowser.open incomplete on Windows

2015-05-27 Thread Brandon Milam
Brandon Milam added the comment: I kept the changes to the WindowsDefault.open() method and used and extended eryksun's code to build the browser list using the registry. Also I added support for a few more browsers. Some of the browsers I could not find ways to differentiate between opening a

[issue23359] Speed-up set_lookkey()

2015-05-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: [Reply to pitrou that I didn't seem to be able to make on Rietveld] This part of the code is the most time sensitive and warrants expansion much more than other proposals (set copying, subset tests, etc). I long aspired to split the lookup and insertion lo

[issue24298] inspect.signature includes bound argument for wrappers around bound methods

2015-05-27 Thread Yury Selivanov
Changes by Yury Selivanov : Added file: http://bugs.python.org/file39526/signature2.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24304] Documentation broken link to license

2015-05-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset d4080f3c0894 by Ned Deily in branch '2.7': Issue 24304: Fix broken license link in FAQ. https://hg.python.org/cpython/rev/d4080f3c0894 New changeset 8631d61f6577 by Ned Deily in branch '3.4': Issue 24304: Fix broken license link in FAQ. https://hg.p

[issue24304] Documentation broken link to license

2015-05-27 Thread Ned Deily
Ned Deily added the comment: Thanks for the report! -- nosy: +ned.deily resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python tracker

[issue1243678] httplib gzip support

2015-05-27 Thread Martin Panter
Changes by Martin Panter : -- superseder: Performance for small reads and fix seek problem -> transparent gzip compression in urllib ___ Python tracker ___ ___

[issue24290] c_uint32 bitfields break structures

2015-05-27 Thread Rony Batista
Rony Batista added the comment: Well, looks like the issue is with 64 bit mode then. For the first 5 cases the right answer is 69.95930480957031, and for the last 2 its -69.95930480957031. The results for the 32 bit mode are all correct. -- ___ Pyth

[issue24293] Windows installer unreadable with std/custom themes

2015-05-27 Thread Mike Miller
Mike Miller added the comment: Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue24305] The new import system makes it impossible to correctly issue a deprecation warning for a module

2015-05-27 Thread Nathaniel Smith
New submission from Nathaniel Smith: (Noticed while fixing the IPython equivalent of issue 24294) The obvious way to deprecate a module is to issue a DeprecationWarning inside the main body of the module, i.e. # thirdpartymodule.py import warnings warnings.warn("{} is deprecated".format(__name

[issue24305] The new import system makes it impossible to correctly issue a deprecation warning for a module

2015-05-27 Thread Thomas Kluyver
Changes by Thomas Kluyver : -- nosy: +takluyver ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

  1   2   >