[issue35545] asyncio.base_events.create_connection doesn't handle scoped IPv6 addresses

2019-01-04 Thread twisteroid ambassador
twisteroid ambassador added the comment: I just noticed that in the socket module, an AF_INET address tuple is allowed to have an unresolved host name. Quote: A pair (host, port) is used for the AF_INET address family, where host is a string representing either a hostname in Internet domain

[issue35545] asyncio.base_events.create_connection doesn't handle scoped IPv6 addresses

2019-01-04 Thread twisteroid ambassador
twisteroid ambassador added the comment: Oh wait, there's also this in asyncio docs for loop.sock_connect: Changed in version 3.5.2: address no longer needs to be resolved. sock_connect will try to check if the address is already resolved by calling socket.inet_pton(). If not, loop.getaddrin

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

2019-01-04 Thread Martijn Pieters
Martijn Pieters added the comment: Well, if this is indeed by design (and I missed the list.sort() reference) then I agree the HOWTO should not be changed! I'd be happy to change this to asking for more explicit mentions in the docs for sorted, heapq and bisect that using only < (__lt__) is

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

2019-01-04 Thread Martijn Pieters
Martijn Pieters added the comment: (I have no opinion on this having to be a language feature however) -- ___ Python tracker ___ __

[issue35655] documentation have wrong info about fibo module examples

2019-01-04 Thread Juan
New submission from Juan : The below sections in modules documentation have wrong information about fibo module: 6. Modules 6.1. More on Modules 6.1.1. Executing modules as scripts 6.3. The dir() Function The name of module is Fibo not fibo and the attributes are fab,fab2 not fib,fib2. root

[issue35656] More matchers in unittest.mock

2019-01-04 Thread Petter S
New submission from Petter S : The ``ANY`` object in ``unittest.mock`` is also pretty useful when verifying dicts in tests: self.assertEqual(result, { "message": "Hi!", "code": 0, "id": mock.ANY }) Then it does not matter what the (presumably randomly generated

[issue35655] documentation have wrong info about fibo module examples

2019-01-04 Thread Christian Heimes
Christian Heimes added the comment: The documentation examples are not based on the 3rd party Fibo Python package. All examples are based on the short script https://docs.python.org/3/tutorial/modules.html?highlight=fibo#modules : For instance, use your favorite text editor to create a fil

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

2019-01-04 Thread Huazuo Gao
New submission from Huazuo Gao : import os import time from multiprocessing import Process p = Process(target=lambda:os.execlp('bash', 'bash', '-c', 'sleep 1.5')) t0 = time.time() p.start() p.join(0.1) print(time.time() - t0) --- Python 3.5 - 3.8 take 1.5 sec to finish Python 2.7 take 0.1 sec

[issue35198] Build issue while compiling cpp files in AIX

2019-01-04 Thread Michael Felt
Michael Felt added the comment: While the PR probably solves this - there is a 'bug' in pandas (I expect) that prevents me from completing the test - as, I expect LONG before the .cpp source is to be compiled - there is a error because a wrong flag is passed to the compiler (-Wno-unused-func

[issue10948] Trouble with dir_util created dir cache

2019-01-04 Thread Malcolm Smith
Malcolm Smith added the comment: Please reopen this issue. The distutils2 project has now been abandoned, so that's no longer a justification for taking no action. At the very least, the documentation should be fixed to either warn about this surprising behavior, or make it clear that the t

[issue35658] Reggie_Linear_Regression_Solution.ipynb devide by 10 diff with multiply by .1

2019-01-04 Thread Bart van den Donk
New submission from Bart van den Donk : possible_ms1 = [i*.1 for i in range(-100, 101, 1)] #your list comprehension here print(possible_ms1) possible_ms2 = [i/10 for i in range(-100, 101, 1)] #your list comprehension here print(possible_ms2) Multiply by .1 gives dirty results. Divide by 10 give

[issue35609] Improve of abc.py docstring

2019-01-04 Thread Emmanuel Arias
Emmanuel Arias added the comment: > No plan for removal. See https://bugs.python.org/issue28886#msg282582 Thanks! -- ___ Python tracker ___ _

[issue35658] Reggie_Linear_Regression_Solution.ipynb devide by 10 diff with multiply by .1

2019-01-04 Thread Steven D'Aprano
Steven D'Aprano added the comment: Not a bug. 0.1 is a binary floating point value, please read the FAQs: https://docs.python.org/3/faq/design.html#why-are-floating-point-calculations-so-inaccurate 1/10 = 0.1 in decimal cannot be represented *exactly* in binary floating point, so when you ty

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-04 Thread Emmanuel Arias
Emmanuel Arias added the comment: ping Vaibhav :-) > I would like to make a PR for this. -- nosy: +eamanu ___ Python tracker ___ _

[issue24928] mock.patch.dict spoils order of items in collections.OrderedDict

2019-01-04 Thread Vaibhav Gupta
Vaibhav Gupta added the comment: Hi Emmanuel Please go ahead and make a PR. :) -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue23867] Argument Clinic: inline parsing code for 1-argument functions

2019-01-04 Thread STINNER Victor
STINNER Victor added the comment: Nice optimization! I wanted to implement it, but then I forgot. -- ___ Python tracker ___ ___ Pyt

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10853 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10853, 10854 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 31ec52a9afedd77e36a3ddc31c4c45664b8ac410 by Ivan Levkivskyi (Ville Skyttä) in branch 'master': bpo-35631: Improve typing docs wrt abstract/concrete collection types (GH-11396) https://github.com/python/cpython/commit/31ec52a9afedd77e36a3ddc31c4c

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10854, 10856 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10856, 10857 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10856, 10857, 10858 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +10853, 10854, 10855, 10856, 10857, 10858 ___ Python tracker ___ ___ Python-bugs-list m

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread miss-islington
miss-islington added the comment: New changeset 902196d867a34cc154fa9c861c883e69232251c6 by Miss Islington (bot) in branch '3.7': bpo-35631: Improve typing docs wrt abstract/concrete collection types (GH-11396) https://github.com/python/cpython/commit/902196d867a34cc154fa9c861c883e69232251c6

[issue35631] Improve typing docs wrt abstract/concrete collection types

2019-01-04 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: I think this can be closed now. Whether to merge doc-fix backport to now security-only 3.6 branch is up to Ned. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <

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

2019-01-04 Thread Josh Rosenberg
Josh Rosenberg added the comment: I don't know what triggered the change, but I strongly suspect this is not a supported use of the multiprocessing module; Process is for worker processes (still running Python), and it has a lot of coordination machinery set up between parent and child (for

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

2019-01-04 Thread Josh Rosenberg
Josh Rosenberg added the comment: Looks like the cause of the change was when os.pipe was changed to create non-inheritable pipes by default; if I monkey-patch multiprocessing.popen_fork.Popen._launch to use os.pipe2(0) instead of os.pipe() to get inheritable descriptors or just clear FD_CLO

[issue35198] Build issue while compiling cpp files in AIX

2019-01-04 Thread Kevin
Kevin added the comment: Ah. We always compile with GCC, so would not have hit that particular problem. -- ___ Python tracker ___ _

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

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

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

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

[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 Yash Aggarwal
Yash Aggarwal added the comment: @tim.peters Got it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

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

[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 -qmaxmem=-1

[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: https://mail.python

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

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

[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: https://ma

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

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

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

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

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

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

[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: https://mail.python

[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

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

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

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

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

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

[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, initially-faili

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

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

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

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

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

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

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

[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: https://mail.py

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

[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

[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: https://mail.py

[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: https://mail.py

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

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

[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." https://docs.p

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

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

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

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

[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:" % s

[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

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

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

[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? > I'm

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

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

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

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

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

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

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

[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: https://ma

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

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

[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: https://m

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

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

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

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

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

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

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

[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, patch, patch pull_requests: +10862, 10863, 10864 stage: -> patch review ___ Python tracker ___

  1   2   >