[issue35664] Optimize itemgetter()

2019-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please provide microbenchmark results also for the following cases: * Negative index with tuple. * Slice index with tuple. * Tuple subclass. * List. * Large (2**61 and -2**61) index. I do not expect significant regression, but if it is, we should be aware.

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-04 Thread Jeff Robbins
Jeff Robbins added the comment: I did a search and couldn't find exactly this issue. This issue is about a broken function. It is broken because it treats a timeout as a fatal error which crashes your Python program. I supplied a proposed fix for the function. If there are other known issues

[issue9305] Don't use east/west of UTC in date/time documentation

2019-01-04 Thread Ajay Mahato
Ajay Mahato added the comment: I am taking up this issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35647] Cookie path check returns incorrect results

2019-01-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch, patch, patch pull_requests: +10868, 10869, 10870 stage: -> patch review ___ Python tracker ___

[issue35647] Cookie path check returns incorrect results

2019-01-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch, patch pull_requests: +10868, 10869 stage: -> patch review ___ Python tracker ___

[issue35647] Cookie path check returns incorrect results

2019-01-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +10868 stage: -> patch review ___ Python tracker ___ ___

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-04 Thread Steve Dower
Steve Dower added the comment: There's an existing issue for this somewhere - we've tried a couple times to switch over and run into various issues. I'm not in a place to find it right now, but worth looking. -- ___ Python tracker

[issue35328] Set a environment variable for venv prompt

2019-01-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: issue34439 seems like a similar proposal. I am adding @vinay.sajip. Since this seems like a new feature I have removed 3.7 from the version list. -- components: +Library (Lib) nosy: +vinay.sajip, xtreak type: -> enhancement versions:

[issue34439] Expose venv --prompt value to an environment value

2019-01-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: issue35328 seems like a related issue with a PR that sets VIRTUAL_ENV_PROMPT. Also see issue35661 to store the venv prompt in config file. -- nosy: +xtreak versions: -Python 3.5, Python 3.6, Python 3.7

[issue35325] imp.find_module() return value documentation discrepancy

2019-01-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +brett.cannon versions: -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___

[issue35664] Optimize itemgetter()

2019-01-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch, patch, patch pull_requests: +10865, 10866, 10867 stage: -> patch review ___ Python tracker ___

[issue35664] Optimize itemgetter()

2019-01-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch, patch pull_requests: +10865, 10866 stage: -> patch review ___ Python tracker ___

[issue35664] Optimize itemgetter()

2019-01-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +10865 stage: -> patch review ___ Python tracker ___ ___

[issue35664] Optimize itemgetter()

2019-01-04 Thread Raymond Hettinger
New submission from Raymond Hettinger : Improve performance by 33% by optimizing argument handling and by adding a fast path for the common case of a single non-negative integer index into a tuple (which is the typical use case in the standard library). -- components: Library (Lib)

[issue35663] webbrowser.py firefox bug [python3, windows 10]

2019-01-04 Thread Tanmay Jain
Tanmay Jain added the comment: >>> import webbrowser >>> brwsr = webbrowser.get("C:/Program Files/Mozilla Firefox/firefox.exe %s") >>> brwsr.open('www.google.com') False # <-- even though firefox opens the url >>> brwsr = webbrowser.get("C:/Program Files >>>

[issue35663] webbrowser.py firefox bug [python3, windows 10]

2019-01-04 Thread Tanmay Jain
New submission from Tanmay Jain : https://docs.python.org/3/library/webbrowser.html#webbrowser.controller.open browser_controller = webbrowser.get() result = browser_controller.open(url)# <-- return False even though firefox successfully opens url # expected behavior when url is opened

[issue35624] Shelve sync issues while using Gevent

2019-01-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: The docs already note a restriction: "the shelve module does not support concurrent read/write access to shelved objects". We should further document that sync() is not thread-safe. When sync() is running, the *writeback* attribute is set to False and

[issue35625] Comprehension doc doesn't mention buggy class scope behavior

2019-01-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: We should remove the "equivalent to for-loops" wording for list comprehensions. That is a hold-over from 2.7 where it used to be true. That said, the list comprehension section is too early in the tutorial to go into scopes and generators, so a full

[issue35662] Windows #define _PY_EMULATED_WIN_CV 0 bug

2019-01-04 Thread Jeff Robbins
New submission from Jeff Robbins : Python 3.x defaults to using emulated condition variables on Windows. I tested a build with native Windows condition variables (#define _PY_EMULATED_WIN_CV 0), and found a serious issue. The problem is in condvar.h, in this routine: /* This

[issue35325] imp.find_module() return value documentation discrepancy

2019-01-04 Thread Windson Yang
Windson Yang added the comment: > The documentation should state that "pathname" will be None (not the empty > string) for built-in and frozen modules in order to be in line with the > implementation. Both the "file" and "pathname" will be None for built-in and frozen modules, right? In

[issue35606] Add prod() function to the math module

2019-01-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't like the name overlap with itertools.product(). Currently, math and itertools have no overlapping names. Also, I expect that like sum(), the prod() function will be used with generator comprehensions and should best be kept short and not

[issue35105] Document that CPython accepts "invalid" identifiers

2019-01-04 Thread Windson Yang
Windson Yang added the comment: I agreed with @Raymond Hettinger, I will update the PR from your suggestion if no other ideas in next week. -- ___ Python tracker ___

[issue35635] asyncio.create_subprocess_exec() only works in main thread

2019-01-04 Thread Stefan Seefeld
Stefan Seefeld added the comment: That's quite an unfortunate limitation ! I'm working on a GUI frontend to a Python tool I wrote using asyncio, and the GUI (Qt-based) itself insists to run its own event loop in the main thread. I'm not sure how to work around this limitation, but I can

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-04 Thread Brett Cannon
New submission from Brett Cannon : When creating the pyvenv.cfg file, the prompt setting should be stored there so that tools can introspect on it (e.g. VS Code could read the value to tell users the name of the venv they have selected in the status bar). -- assignee: brett.cannon

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-04 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35661] Store the venv prompt in pyvenv.cfg

2019-01-04 Thread Brett Cannon
Change by Brett Cannon : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18747] Re-seed OpenSSL's PRNG after fork

2019-01-04 Thread Christian Heimes
Christian Heimes added the comment: I have no plans to work on the issue any more. OpenSSL 1.1.1 has fixed the RNG issue with a new DRBG implementation. Eventually all platforms will move to 1.1.1 because it also provides TLS 1.3. In the mean time, application can work around the limitation

[issue35659] Add heapremove() function to heapq

2019-01-04 Thread Tim Peters
Tim Peters added the comment: For history, note that `bisect` doesn't always work in this context either: a heap is NOT always in sorted order. For example, this is "a (min) heap" too: [1, 3, 2]. More, that's "the real" problem. If we could find the element to be removed in log(n)

[issue35660] IDLE: Remove import * from window.py

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch, patch, patch pull_requests: +10862, 10863, 10864 stage: -> patch review ___ Python tracker ___

[issue35660] IDLE: Remove import * from window.py

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch, patch pull_requests: +10862, 10863 stage: -> patch review ___ Python tracker ___

[issue35660] IDLE: Remove import * from window.py

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +10862 stage: -> patch review ___ Python tracker ___ ___

[issue35660] IDLE: Remove import * from window.py

2019-01-04 Thread Cheryl Sabella
New submission from Cheryl Sabella : Remove use of `from tkinter import *` from windows.py. -- assignee: terry.reedy components: IDLE messages: 333028 nosy: cheryl.sabella, terry.reedy priority: normal severity: normal status: open title: IDLE: Remove import * from window.py type:

[issue35659] Add heapremove() function to heapq

2019-01-04 Thread Wanja Chresta
Wanja Chresta added the comment: After thinking about it some more I realised that this doesn't make sense since heapq is based on lists and lists have an insertion complexity of O(n). Thus, they'll never read the needed O(log n) and heapq is the wrong place. Never mind. --

[issue33987] IDLE: use ttk.Frame for ttk widgets

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: -10861 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33987] IDLE: use ttk.Frame for ttk widgets

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: -10860 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33987] IDLE: use ttk.Frame for ttk widgets

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +10859, 10860, 10861 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33987] IDLE: use ttk.Frame for ttk widgets

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +10859 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33987] IDLE: use ttk.Frame for ttk widgets

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +10859, 10860 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35385] time module: why not using tzname from the glibc?

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-28108. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28108] Python configure fails to detect tzname on platforms that have it.

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-35385. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35659] Add heapremove() function to heapq

2019-01-04 Thread Wanja Chresta
Change by Wanja Chresta : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35659] Add heapremove() function to heapq

2019-01-04 Thread Wanja Chresta
New submission from Wanja Chresta : Heap Queues are extremely useful data structures. They can, for example, be used to implement Dijkstra's algorithm for finding the shortest paths between nodes in a graph in O(edge * log vertices) time instead of (edge * vertices) without heaps. One

[issue35432] str.format and string.Formatter bug with French (and other) locale

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: This bug is a duplicate of bpo-33954. Good news: it's now fixed in Python 3.6.8! https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-8-release-candidate-1 "bpo-33954: For str.format(), float.__format__() and complex.__format__() methods for

[issue13927] Document time.ctime format

2019-01-04 Thread STINNER Victor
Change by STINNER Victor : -- title: Extra spaces in the output of time.ctime -> Document time.ctime format versions: -Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue8538] Add FlagAction to argparse

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue since it seems like there are people requesting the feature. (I also removed myself from the issue, I'm not interested to implement it.) -- resolution: out of date -> status: closed -> open ___

[issue35189] PEP 475: fnctl functions are not retried if interrupted by a signal (EINTR)

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: Michael created bpo-35633: test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX. -- ___ Python tracker

[issue35633] test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: Previous discussion at: https://bugs.python.org/issue35189#msg332580 -- ___ Python tracker ___

[issue35629] hang and/or leaked processes with multiprocessing.Pool(...).imap(...)

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: > I'm using `contextlib.closing` Oh, I missed that: good! -- ___ Python tracker ___ ___

[issue35616] Change references to '4.0'.

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: > One or two versions after using Py_DEPRECATED for all deprecated functions > (but not earlier than EOL of 2.7) we can make them issuing run-time warnings. Maybe we can experiment adding warnings only in development mode, when python3 -X dev is used? >

[issue35616] Change references to '4.0'.

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: I disagree. It's acceptable to break the C API in a minor release if the change has been properly promoted, documented, announced, etc. IMHO breaking the C API in 4.0 is going to send a bad signal to users. Multiple core developers asked multiple times to

[issue18747] Re-seed OpenSSL's PRNG after fork

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: The issue is closed. If you want to change anything, please open a new issue. IMHO this issue is too long, it's better to start a fresh issue with up to date info, just mention this old issue: bpo-18747. -- ___

[issue35633] test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX

2019-01-04 Thread STINNER Victor
Change by STINNER Victor : -- title: test_eintr fails on AIX since fcntl functions were modified -> test_eintr: test_lockf() fails with "PermissionError: [Errno 13] Permission denied" on AIX ___ Python tracker

[issue35633] test_eintr fails on AIX since fcntl functions were modified

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: Does the test pass if you open the file in read+write ("w+b") mode rather than write-only ("wb") mode? I'm talking about this line: open(support.TESTFN, 'wb') Note: if you want to test, you have the modify the mode twice: "with open('%s', 'wb') as f:" %

[issue35629] hang and/or leaked processes with multiprocessing.Pool(...).imap(...)

2019-01-04 Thread Anthony Sottile
Anthony Sottile added the comment: If you see the bottom of my issue, I've suggested (nearly) the same thing -- though I require python2.x compatibility so I'm using `contextlib.closing` -- ___ Python tracker

[issue35629] hang and/or leaked processes with multiprocessing.Pool(...).imap(...)

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: I suggest you to write: with multiprocessing.Pool(4) as pool: result = tuple(pool.imap(print, (1, 2, 3))) On Python 3.8, your example will now log a resource warning since you don't close/terminate explicitly the pool. -- nosy: +vstinner

[issue35378] multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: bpo-35629 has been marked as a duplicate of this issue. -- ___ Python tracker ___ ___

[issue35627] multiprocessing.queue in 3.7.2 doesn't behave as it was in 3.7.1

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: I ran mp_hang.py on Windows 10 with Python 3.7.2: the script completes (it doesn't hang). The issue might be specific to VS Code (on Windows?). -- ___ Python tracker

[issue35635] asyncio.create_subprocess_exec() only works in main thread

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: By the way, asyncio doc is outdated: "The default asyncio event loop implementation on Windows does not support subprocesses. Subprocesses are available for Windows if a ProactorEventLoop is used. See Subprocess Support on Windows for details."

[issue35635] asyncio.create_subprocess_exec() only works in main thread

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: > Am I missing something ? Given the complexity of this, I would expect this to > be better documented in the sections explaining how `asyncio.subprocess` and > `threading` interact. The current documentation says: "To handle signals and to execute

[issue35627] multiprocessing.queue in 3.7.2 doesn't behave as it was in 3.7.1

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: mp_hang.py: I created the example into a script, I added the __main__ section described by Antoine. I cannot reproduce the bug on the Python master branch on Linux. @June Kim: What is the output when it hangs? Can you try your example without VS Code? For

[issue35627] multiprocessing.queue in 3.7.2 doesn't behave as it was in 3.7.1

2019-01-04 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35611] open doesn't call IncrementalEncoder with final=True

2019-01-04 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35622] RFE: Add os.sched_setattr() and os.sched_getattr() functions

2019-01-04 Thread STINNER Victor
Change by STINNER Victor : -- title: Add support for Linux SCHED_DEADLINE -> RFE: Add os.sched_setattr() and os.sched_getattr() functions versions: +Python 3.8 ___ Python tracker

[issue35606] Add prod() function to the math module

2019-01-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I agree with Mark that correctness, rather than performance, should be the main attraction of a stdlib implementation. By the way "prod" is slightly obscure (though it's Numpy's chosen spelling), how about "product"? After all, we went with the full

[issue35657] multiprocessing.Process.join() ignores timeout if child process use os.exec*()

2019-01-04 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35616] Change references to '4.0'.

2019-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: After reading Serhiy's explanation, I agree that '4.0' is better than a specific '3.nn'. I did not realize how much was still left to be done. We can revisit this when there is a definite removal date. A literal 'sometime' might be better, but not worth

[issue35606] Add prod() function to the math module

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: Computing the geometric mean of numbers require to compute the product of these numbers: https://en.wikipedia.org/wiki/Geometric_mean The geometric mean can be used to summarize benchmark results using different units to get a single number. -- When

[issue35657] multiprocessing.Process.join() ignores timeout if child process use os.exec*()

2019-01-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm in favor of #1 *and* not documenting it either. I don't think it's reasonable for the documentation to enumerate all the kinds of situations where executing arbitrary code in a child process might lead to dysfunction. Realistically, if you want to

[issue35657] multiprocessing.Process.join() ignores timeout if child process use os.exec*()

2019-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou stage: -> needs patch versions: -Python 3.5, Python 3.6 ___ Python tracker ___

[issue35654] Remove 'guarantee' that sorting only relies on __lt__ from sorting howto

2019-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35651] PEP 257 (active) references PEP 258 (rejected) as if it were active

2019-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Guido, you are the -- nosy: +goodger, gvanrossum, terry.reedy versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue35651] PEP 257 (active) references PEP 258 (rejected) as if it were active

2019-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg333003 ___ Python tracker ___ ___ Python-bugs-list

[issue35649] http.client doesn't close. Infinite loop

2019-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue35639] Lowecasing Unicode Characters

2019-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Latin Capital Letter I with Dot Above ___ Python tracker ___

[issue35634] kwargs regression when there are multiple entries with the same key

2019-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, nosying you because Ammar identified your commit as relevant. https://github.com/python/cpython/commit/e036ef8fa29f27d57fe9f8cef8d931d4122d8223 --- 3.6 is also security-fix only. Normally, code bug reports need a minimal, reproducible,

[issue35616] Change references to '4.0'.

2019-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Removing the C API function is a major breaking change. AFAIK there was no precedence since 3.0. It may be that we will name the new version 4.0 after doing this. In any case, first than remove this API, we need to pass the following steps: * Implement

[issue32660] Solaris should support constants like termios' FIONREAD

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35638] Introduce fixed point locale aware format type for floating point numbers

2019-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You can use locale.format_string() for locale aware formatting. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue35643] SyntaxWarning: invalid escape sequence in Modules/_sha3/cleanup.py

2019-01-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Would not be better to just remove a backslash? -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue18747] Re-seed OpenSSL's PRNG after fork

2019-01-04 Thread Gabriel Corona
Gabriel Corona added the comment: Now that the default PRNG of the 'random' package is automatically reseeded at fork, wouldn't it make sense to reseed the OpenSSL seed as well? (At the same time the OpenSSL wiki states [1] that "The situation has changed greatly, starting with OpenSSL

[issue15457] consistent treatment of generator terminology

2019-01-04 Thread Cheryl Sabella
Cheryl Sabella added the comment: Issue24400 changed some of the documentation wording around generators. I don't know if there is still interest in applying the other parts of this patch. -- nosy: +cheryl.sabella versions: +Python 3.7, Python 3.8 -Python 2.7, Python 3.3, Python 3.4

[issue35381] Heap-allocated posixmodule types

2019-01-04 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12991] Python 64-bit build on HP Itanium - Executable built successfully but modules failed with HP Compiler

2019-01-04 Thread Cheryl Sabella
Cheryl Sabella added the comment: Closed based on msg323776. -- nosy: +cheryl.sabella resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue33896] Document what components make up the filecmp.cmp os.stat signature.

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python versions: -Python 3.6 ___ Python tracker ___

[issue35629] hang and/or leaked processes with multiprocessing.Pool(...).imap(...)

2019-01-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, looks like a duplicate. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> multiprocessing.Pool.imaps iterators do not maintain alive the multiprocessing.Pool objects

[issue35624] Shelve sync issues while using Gevent

2019-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.6 only gets security fixes. Please verify that there is a problem in 3.8 (or at least 3.7) Also demonstrate that issue is not with the 3rd party gevent module. Does gevent includes compiled non-python code? (I suspect it does, but don't know.) If so,

[issue35627] multiprocessing.queue in 3.7.2 doesn't behave as it was in 3.7.1

2019-01-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I couldn't reproduce on Ubuntu either. I tried the "fork", "forkserver" and "spawn" methods (all with 3.7.2). Terry, if you are on Windows, can you try the script? Be sure to enclose the test() call in a "if __name__ == '__main__'" guard. --

[issue35629] hang and/or leaked processes with multiprocessing.Pool(...).imap(...)

2019-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +pitrou versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35627] multiprocessing.queue in 3.7.2 doesn't behave as it was in 3.7.1

2019-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35625] Comprehension doc doesn't mention buggy class scope behavior

2019-01-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: documentation of list, set & dict comprehension make no mention of buggy class scope behavior -> Comprehension doc doesn't mention buggy class scope behavior versions: +Python 3.8 -Python 2.7, Python 3.4, Python 3.5, Python 3.6

[issue35617] unittest discover does not work with implicit namespaces

2019-01-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: If this is truly a duplicate, this should be closed and the issue number in the pr title changed to 23882. Any reviewer should look at both proposed fixes, as they are not the same. The other patch has what looks like the beginning of a test. --

[issue34522] PyTypeObject's tp_base initialization bug

2019-01-04 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35198] Build issue while compiling cpp files in AIX

2019-01-04 Thread Michael Felt
Michael Felt added the comment: Further along - however, I never get to the "link" routine. Again, this is likely a pandas coding issue - currently python is calling xlc_r ..., but when I manually modify it to xlC_r I get the same error. xlc_r -D_LARGE_FILES -O -I/opt/include -O2

[issue35168] shlex punctuation_chars inconsistency

2019-01-04 Thread Cheryl Sabella
Change by Cheryl Sabella : -- assignee: -> docs@python components: +Documentation -Library (Lib) keywords: +easy nosy: +docs@python stage: -> needs patch versions: -Python 3.6 ___ Python tracker

[issue35431] Add a function for computing binomial coefficients to the math module

2019-01-04 Thread Yash Aggarwal
Yash Aggarwal added the comment: @tim.peters Got it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35198] Build issue while compiling cpp files in AIX

2019-01-04 Thread Michael Felt
Michael Felt added the comment: On 04/01/2019 17:08, Kevin wrote: > Kevin added the comment: > > Ah. We always compile with GCC, so would not have hit that particular problem. > > -- > > ___ > Python tracker > >

[issue35431] Add a function for computing binomial coefficients to the math module

2019-01-04 Thread Tim Peters
Tim Peters added the comment: Please resist pointless feature creep. The original report was about comb(n, k) for integer n and k with 0 <= k <= n and that's all. Everyone who commented appeared to agree they'd find that useful. But nobody has said they'd find generalizing beyond those

[issue35431] Add a function for computing binomial coefficients to the math module

2019-01-04 Thread Yash Aggarwal
Yash Aggarwal added the comment: @steven.daprano > Are you also providing a perm(n, k) function? I didn't know it is also being implemented. Should I start on that too? My implementation is based on these requirements: > - Spell it comb(n, k). > - TypeError if args aren't ints. > -

[issue19120] shlex.shlex.lineno reports a different number depending on the previous token

2019-01-04 Thread Cheryl Sabella
Cheryl Sabella added the comment: There was a parameter `punctuation_chars` added to the shlex.shlex class with issue 1521950 (implemented for 3.6). Although the comma is not one of the default punctuation characters (setting the parameter to punctuation_chars=True won't change the

[issue9305] Don't use east/west of UTC in date/time documentation

2019-01-04 Thread Ajay Mahato
Ajay Mahato added the comment: I would like to work on this issue. Please assign this to me. -- nosy: +Ajay Mahato ___ Python tracker ___

  1   2   >