[issue36869] Avoid warning of unused variables

2019-09-10 Thread Zackery Spytz
Zackery Spytz added the comment: PR 13182 has been merged, so I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___

[issue37383] call count in not registered in AsyncMock till the coroutine is awaited

2019-09-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing since docs are updated. Thank you Lisa. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37597] audit event table breaks PDF sphinx build

2019-09-10 Thread Steve Dower
Change by Steve Dower : -- assignee: -> mdk keywords: +patch pull_requests: +15475 resolution: -> fixed stage: -> patch review status: open -> closed pull_request: https://github.com/python/cpython/pull/15739 ___ Python tracker

[issue37597] audit event table breaks PDF sphinx build

2019-09-10 Thread Julien Palard
Change by Julien Palard : -- stage: patch review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25237] Add doc for tkinter commondialog.Dialog and subclasses

2019-09-10 Thread Julien Palard
Julien Palard added the comment: New changeset 80428ed4e19b31071433806b4d89465c88e084c6 by Julien Palard (Nikhil) in branch 'master': bpo-25237: Documentation for tkinter modules (GH-1870) https://github.com/python/cpython/commit/80428ed4e19b31071433806b4d89465c88e084c6 -- nosy:

[issue25237] Add doc for tkinter commondialog.Dialog and subclasses

2019-09-10 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38084] multiprocessing cannot recover from crashed worker

2019-09-10 Thread Steve Dower
New submission from Steve Dower : Imitation repro: import os from multiprocessing import Pool def f(x): os._exit(0) return "success" if __name__ == '__main__': with Pool(1) as p: print(p.map(f, [1])) Obviously a process may crash for various other reasons besides

[issue37245] Azure Pipeline 3.8 CI: multiple tests hung and timed out on macOS 10.13

2019-09-10 Thread Steve Dower
Steve Dower added the comment: Filed as issue38084 I recommend not investigating this issue any further until that one is resolved. -- ___ Python tracker ___

[issue35941] ssl.enum_certificates() regression

2019-09-10 Thread Steve Dower
Steve Dower added the comment: New changeset fdd17abc51e363ab19d248375d717512b8b26966 by Steve Dower in branch '3.8': bpo-35941: Fix performance regression in SSL certificate code (GH-12610) https://github.com/python/cpython/commit/fdd17abc51e363ab19d248375d717512b8b26966 --

[issue37857] Setting logger.level directly has no effect due to caching in 3.7+

2019-09-10 Thread Vinay Sajip
Vinay Sajip added the comment: > are we here to punish people No, that's not what I'm saying. But it's not a priority to support situations where people don't follow published APIs and still expect things to work the way they would like. I would prefer people to use setLevel(), as it helps

[issue35941] ssl.enum_certificates() regression

2019-09-10 Thread Steve Dower
Steve Dower added the comment: That's 3.7 and later dealt with. Apparently this needs a backport to 2.7 still, so I'll leave the bug open. -- stage: patch review -> backport needed versions: -Python 3.7, Python 3.8 ___ Python tracker

Re: How to correctly use 'in_' argument in tkinter grid()?

2019-09-10 Thread Peter Otten
jf...@ms4.hinet.net wrote: > I had tried the following script test.py: > > import tkinter as tk > > class Demo(tk.Frame): > def __init__(self): > tk.Frame.__init__(self, name='demo') > self.pack() > > panel = tk.Frame(self, name='panel') >

[issue38085] Interrupting class creation in __init_subclass__ may lead to incorrect isinstance() and issubclass() results

2019-09-10 Thread xitop
New submission from xitop : An exception in __init__subclass__ leads under certain circumstances to wrong isinstance() and issubclass() results. The exception probably leaves Python internal data in inconsistent state. Here is a demonstration program from Stack Overflow: --- begin -- from

Re: Is it 'fine' to instantiate a widget without parent parameter?

2019-09-10 Thread Terry Reedy
On 9/10/2019 12:02 AM, jf...@ms4.hinet.net wrote: Got it. The first Tk object is always the default one no matter where it was created. The default one is always the one which the widget constructor refer to when required. Or one can call tkinter.NoDefaultRoot() and not worry about default

[issue38043] small cleanups in Unicode normalization code

2019-09-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 1ad0c776cb640be9f19c8019bbf34bb4aba312ad by Benjamin Peterson (Greg Price) in branch 'master': bpo-38043: Move unicodedata.normalize tests into test_unicodedata. (GH-15712)

[issue38082] datetime.time object incorrectly shows associated date in strftime() output

2019-09-10 Thread Paul Ganssle
Paul Ganssle added the comment: Hi Abhisek, This is actually the expected / intended behavior, and it is documented under "strptime() and strftime() behavior": https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior (which is linked to by the time.strftime documentation:

[issue37445] Some FormatMessageW() calls use FORMAT_MESSAGE_FROM_SYSTEM without FORMAT_MESSAGE_IGNORE_INSERTS

2019-09-10 Thread Zackery Spytz
Zackery Spytz added the comment: Hi, Steve. I've created a backport for 2.7 (PR 15822). Please take a look. -- ___ Python tracker ___

[issue36869] Avoid warning of unused variables

2019-09-10 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35381] posixmodule: convert statically allocated types (DirEntryType & ScandirIteratorType) to heap-allocated types

2019-09-10 Thread Eddie Elizondo
Change by Eddie Elizondo : -- pull_requests: +15533 pull_request: https://github.com/python/cpython/pull/15892 ___ Python tracker ___

[issue29171] blake2: Remove unused function to avoid undefined references

2019-09-10 Thread Zackery Spytz
Zackery Spytz added the comment: It seems that this was fixed as part of bpo-37055 / b27cbec801e17a13d7fef49116a8fc279930d2b1. -- nosy: +ZackerySpytz ___ Python tracker ___

[issue25753] Reference leaks in test_smtplib

2019-09-10 Thread Zackery Spytz
Zackery Spytz added the comment: I cannot reproduce these leaks. I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___

[issue38083] Minor improvements in asdl_c.py and Python-ast.c

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 43c9731334470573209464b7f67914d386457efc by T. Wouters (Serhiy Storchaka) in branch 'master': bpo-38083: Minor improvements in asdl_c.py and Python-ast.c. (GH-15824)

[issue38083] Minor improvements in asdl_c.py and Python-ast.c

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: This doesn't feel like a change that's worth backporting to 3.8 at this point. Do you agree? Is there anything left to do for this bug? -- ___ Python tracker

Re: How to correctly use 'in_' argument in tkinter grid()?

2019-09-10 Thread jfong
Peter Otten於 2019年9月10日星期二 UTC+8下午5時04分27秒寫道: > jf...@ms4.hinet.net wrote: > > > I had tried the following script test.py: > > > > import tkinter as tk > > > > class Demo(tk.Frame): > > def __init__(self): > > tk.Frame.__init__(self, name='demo') > > self.pack() > >

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-09-10 Thread Lisa Roach
Lisa Roach added the comment: New changeset f1a297acb60b88917712450ebd3cfa707e6efd6b by Lisa Roach in branch 'master': bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830) https://github.com/python/cpython/commit/f1a297acb60b88917712450ebd3cfa707e6efd6b --

[issue38074] Make zlib PEP-384 compatible

2019-09-10 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38071] Make termios PEP-384 compatible

2019-09-10 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38072] Make grp module PEP-384 compatible

2019-09-10 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-09-10 Thread Lisa Roach
Change by Lisa Roach : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35941] ssl.enum_certificates() regression

2019-09-10 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker ___

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-09-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +15482 pull_request: https://github.com/python/cpython/pull/15837 ___ Python tracker ___

[issue16576] ctypes: structure with bitfields as argument

2019-09-10 Thread Vinay Sajip
Change by Vinay Sajip : -- pull_requests: +15486 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15839 ___ Python tracker ___

[issue16575] ctypes: unions as arguments

2019-09-10 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +15485 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15839 ___ Python tracker

Re: numpy array - convert hex to int

2019-09-10 Thread Piet van Oostrum
Sharan Basappa writes: > On Sunday, 8 September 2019 11:16:52 UTC-4, Luciano Ramalho wrote: >> >>> int('C0FFEE', 16) >> 12648430 >> >> There you go! >> >> On Sun, Sep 8, 2019 at 12:02 PM Sharan Basappa >> wrote: >> > >> > I have a numpy array that has data in the form of hex. >> > I would

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset 55daf1a56163e0673654712bb92ce47a9b6f7be3 by Miss Islington (bot) in branch '3.8': bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs [queue] (GH-13950)

[issue38090] test_ctypes is leaking references

2019-09-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +Anthony Sottile, steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21018] [patch] added missing documentation about escaping characters for configparser

2019-09-10 Thread Julien Palard
Julien Palard added the comment: New changeset 122bbf7f8ac2cef4368e3601af593a027dc62ccf by Julien Palard (Miss Islington (bot)) in branch '3.7': bpo-21018: added missing documentation about escaping characters for configparser (GH-6137) (GH-15845)

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: async_case passes loop parameter to the queue used to collect tests and this causes below DeprecationWarning with last change over deprecation in queues and locks API. ./python.exe -m unittest Lib.unittest.test.test_async_case

[issue38090] test_ctypes is leaking references

2019-09-10 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38090] test_ctypes is leaking references

2019-09-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +15501 pull_request: https://github.com/python/cpython/pull/15852 ___ Python tracker ___

[issue38090] test_ctypes is leaking references

2019-09-10 Thread Steve Dower
Steve Dower added the comment: Thanks Pablo! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21018] [patch] added missing documentation about escaping characters for configparser

2019-09-10 Thread Julien Palard
Julien Palard added the comment: New changeset 5cf8155bbd2c65572295b26e96c221763b3322f0 by Julien Palard (Miss Islington (bot)) in branch '3.8': bpo-21018: added missing documentation about escaping characters for configparser (GH-6137) (GH-15846)

Re: Is it 'fine' to instantiate a widget without parent parameter?

2019-09-10 Thread jfong
Terry Reedy於 2019年9月10日星期二 UTC+8下午5時16分19秒寫道: > On 9/10/2019 12:02 AM, jf...@ms4.hinet.net wrote: > > > Got it. The first Tk object is always the default one no matter where it > > was created. The default one is always the one which the widget > > constructor refer to when required. > > Or

[issue38071] Make termios PEP-384 compatible

2019-09-10 Thread Thomas Wouters
New submission from Thomas Wouters : New changeset bd0c7a12d9e28ce74bfc16244d7694aca906838c by T. Wouters (Dino Viehland) in branch 'master': bpo-38071: Make termios PEP-384 compatible (GH-15785) https://github.com/python/cpython/commit/bd0c7a12d9e28ce74bfc16244d7694aca906838c --

[issue32165] PyEval_InitThreads is called before Py_Initialize in LoadPython in Modules/_ctypes/callbacks.c

2019-09-10 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +15477 pull_request: https://github.com/python/cpython/pull/15832 ___ Python tracker ___

[issue37052] Add examples for mocking async for and async context manager in unittest.mock docs

2019-09-10 Thread Lisa Roach
Lisa Roach added the comment: I think this is a great addition! Ezio and I were chatting about trying to add an example where the child mocks are also AsyncMocks, since by default they will be MagicMocks. Adding him to nosy. -- nosy: +ezio.melotti

[issue32165] PyEval_InitThreads is called before Py_Initialize in LoadPython in Modules/_ctypes/callbacks.c

2019-09-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +15478 pull_request: https://github.com/python/cpython/pull/15833 ___ Python tracker ___

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

2019-09-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +15489 pull_request: https://github.com/python/cpython/pull/15843 ___ Python tracker ___

Re: phyton

2019-09-10 Thread Pankaj Jangid
tim.g...@quicknet.nl writes: > For school i need to write the right code to get the following outcome. > Can someone help me with this > I can't find a solution to link the word high to 1.21. > > 11 print(add_vat(101, 'high')) > 12 print(add_vat(101, 'low')) > > Outcome: > > 122.21 > 110.09 >

[issue14143] test_ntpath failure on Windows

2019-09-10 Thread Steve Dower
Change by Steve Dower : -- resolution: -> out of date stage: needs patch -> resolved status: pending -> closed ___ Python tracker ___

[issue21018] [patch] added missing documentation about escaping characters for configparser

2019-09-10 Thread Julien Palard
Julien Palard added the comment: New changeset 9a94093189417a6b59d6c80cc5544630c8aa by Julien Palard (Arun Persaud) in branch 'master': bpo-21018: added missing documentation about escaping characters for configparser (GH-6137)

[issue38087] test_ntpath must account for casing changes

2019-09-10 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +15499 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15850 ___ Python tracker ___

[issue25461] Unclear language (the word ineffective) in the documentation for os.walk

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset c43f26eca35f22707a52fb8f3fbfc9340639b58d by Miss Islington (bot) in branch '3.8': closes bpo-25461: Update os.walk() docstring to match the online docs. (GH-11836)

[issue37913] Document that __length_hint__ may return NotImplemented

2019-09-10 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +15507 pull_request: https://github.com/python/cpython/pull/15860 ___ Python tracker ___

Python library maintainers: PEP 602 needs your feedback

2019-09-10 Thread Łukasz Langa
Hey there, Python library maintainers! Python is looking into increasing its release cadence. You can read the current proposal here: https://python.org/dev/peps/pep-0602/ More importantly, we need your input. Read the PEP and please let us know what you

[issue32165] PyEval_InitThreads is called before Py_Initialize in LoadPython in Modules/_ctypes/callbacks.c

2019-09-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38095] Multi-threaded circular import fails with _DeadlockError when using importlib

2019-09-10 Thread Ronan Lamy
New submission from Ronan Lamy : The IMPORT_NAME bytecode has a fast path calling PyImport_ImportModuleLevelObject() that behaves differently from importlib. In particular, test_circular_imports() in test_threaded_import.py fails due to a _DeadlockError if you replace some import statements

Re: [OT(?)] Ubuntu 18 vim now defaults to 4-space tabs

2019-09-10 Thread Eli the Bearded
In comp.lang.python, Tobiah wrote: >> Your subject missed a critical word: vim. > It's there! I added it. > > Run vim. Then ':set' to see what's set different than default. Then, > > if it is tabstop you want to know about, ':verbose set tabstop?' will > > tell you where that setting was last

Announcing Methodfinder

2019-09-10 Thread Bill Six
Sometimes you know the inputs and outputs for a procedure, but you don't remember the name. methodfinder.find tries to find the name. https://github.com/billsix/methodfinder >>> import methodfinder >>> methodfinder.find([]) == 0 len([]) sum([]) >>> methodfinder.find([]) == False any([]) bool([])

[issue38084] multiprocessing cannot recover from crashed worker

2019-09-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +pablogsal, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38084] multiprocessing cannot recover from crashed worker

2019-09-10 Thread Steve Dower
Steve Dower added the comment: Windows is definitely affected, and you can run the repro in my first post to check other platforms. -- ___ Python tracker ___

[issue38047] multiarch headers are added when cross compiling

2019-09-10 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32424] Synchronize copy methods between Python and C implementations of xml.etree.ElementTree.Element

2019-09-10 Thread Stefan Behnel
Change by Stefan Behnel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32424] Synchronize copy methods between Python and C implementations of xml.etree.ElementTree.Element

2019-09-10 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset 7d952ded6813c896ea3f4234bb8db5247dcb5484 by Stefan Behnel (Gordon P. Hemsley) in branch 'master': bpo-32424: Deprecate xml.etree.ElementTree.Element.copy() in favor of copy.copy() (GH-12995)

[issue32424] Synchronize copy methods between Python and C implementations of xml.etree.ElementTree.Element

2019-09-10 Thread Stefan Behnel
Stefan Behnel added the comment: Let's just deprecate it directly (in Py3.9, I guess), given that it was never documented. -- ___ Python tracker ___

[issue36876] Global C variables are a problem.

2019-09-10 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +15518 pull_request: https://github.com/python/cpython/pull/15877 ___ Python tracker ___

[issue38084] multiprocessing cannot recover from crashed worker

2019-09-10 Thread STINNER Victor
STINNER Victor added the comment: > Windows is definitely affected, and you can run the repro in my first post to > check other platforms. Oh right, I can also reproduce the issue on Linux. But I don't understand why test_multiprocessing_spawn works on all platforms, but only fails on

Metaclasses and classproperties

2019-09-10 Thread Eko palypse
I'm fairly new when it comes to metaclass programming and therefore the question whether the following makes sense or not. The goal is to have two additional class properties which return a dictionary name:class_attribute and value:class_attribute for an IntEnum class and after reading about it I

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-09-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 494b61aeec8e583755c8ff3a147a58657353bbc3 by Victor Stinner in branch '3.7': [3.7] bpo-37531: Enhance regrtest multiprocess timeout (GH-15345) (GH-15874) https://github.com/python/cpython/commit/494b61aeec8e583755c8ff3a147a58657353bbc3

[issue38089] Make macOS tests optional on Azure Pipelines

2019-09-10 Thread Zachary Ware
Zachary Ware added the comment: New changeset 801f925998cc393260f36f5ac77369fef2373ad1 by Zachary Ware (Steve Dower) in branch 'master': bpo-38089: Move Azure Pipelines to latest VM versions and make macOS tests optional (GH-15851)

[issue38089] Make macOS tests optional on Azure Pipelines

2019-09-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +15521 pull_request: https://github.com/python/cpython/pull/15880 ___ Python tracker ___

[issue38089] Make macOS tests optional on Azure Pipelines

2019-09-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +15520 pull_request: https://github.com/python/cpython/pull/15879 ___ Python tracker ___

[issue38060] precedence (relational, logical operator)not working with single value

2019-09-10 Thread Sangeeta M Chauhan
Sangeeta M Chauhan added the comment: Sir, I was expecting that the precedence should be given to relational operator ( 7>"str") and according to that instead of printing 9 it should give error. On Mon, Sep 9, 2019 at 8:38 PM Tim Peters wrote: > > Tim Peters added the comment: > >

[issue28237] In xml.etree.ElementTree bytes tag or attributes raises on serialization

2019-09-10 Thread Stefan Behnel
Stefan Behnel added the comment: Arguably, writing out "b'x'" as attribute name instead of raising an exception isn't ideal. However, OTOH, I think it's reasonable to accept anything that is serialisable as a string, not just strings. That makes it difficult to draw a line. In any case,

Re: Why is "Subscribing to topic topic/test" printed in console log before connect message?

2019-09-10 Thread MRAB
On 2019-09-10 17:59, Spencer Du wrote: Hi I have code for publish and subscribe over mqtt. In the console log I have "Subscribing to topic topic/test" printed before connect message why is this? I want to this to be printed after the connect message. How do I fix this problem. Please run

[issue33418] Memory leaks in functions

2019-09-10 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > It looks like a bug triggered on purpose. Absolutely. It's one of the many small issues that I found while working on PEP 590 and related things. -- ___ Python tracker

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-10 Thread Andrew Svetlov
Andrew Svetlov added the comment: Answered in https://github.com/python/cpython/pull/15889 -- ___ Python tracker ___ ___

[issue38043] small cleanups in Unicode normalization code

2019-09-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is mostly harmless but I'm concerned that we're encouraging a new Python developer to: * churn code in mostly minor ways, irrelevant to users * altering code long known to be stable, increasing the risk of introducing new bugs or performance

[issue32972] unittest.TestCase coroutine support

2019-09-10 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks! The test case re-creates a loop per test for the sake of test isolation (scheduled activities from test_a() don't interleave with test_b()). Unfortunately, on the class level level (setUpClass()/tearDownClass()) the loop doesn't exits. There are

[issue5714] http.server._url_collapse_path should live elsewhere

2019-09-10 Thread Tahia K
Change by Tahia K : -- nosy: +ta1hia ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11664] Add patch method to unittest.TestCase

2019-09-10 Thread Tahia K
Change by Tahia K : -- nosy: +ta1hia ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Metaclasses and classproperties

2019-09-10 Thread Eko palypse
Thank you for your thoughts. I'm trying to migrating en existing python2 api, which has been build using boost::python with pure python3 code. All of the py2 classes do have these additional properties names and values. You are right, using dict(Ordinal.__members__) for names could have been

[issue38072] Make grp module PEP-384 compatible

2019-09-10 Thread Thomas Wouters
New submission from Thomas Wouters : New changeset 40a5313edfc18173d136bb5e19495880934b7d83 by T. Wouters (Dino Viehland) in branch 'master': bpo-38072: PEP-384 grpmodule (GH-15788) https://github.com/python/cpython/commit/40a5313edfc18173d136bb5e19495880934b7d83 -- nosy: +twouters

[issue37499] test_gdb.test_pycfunction should use dedicated test functions

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset f958377b67c36a98d4df67b94c01eb29e3104f61 by Miss Islington (bot) (Petr Viktorin) in branch 'master': bpo-37499: Test various C calling conventions (GH-15776) https://github.com/python/cpython/commit/f958377b67c36a98d4df67b94c01eb29e3104f61

[issue37619] update_one_slot() should not ignore wrapper descriptors for wrong type

2019-09-10 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 57ea33560662e0f20a3b0334bb20065771edf4da by T. Wouters (Jeroen Demeyer) in branch 'master': bpo-37619: update_one_slot() should not ignore wrapper descriptors for wrong type (GH-14836)

[issue37619] update_one_slot() should not ignore wrapper descriptors for wrong type

2019-09-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +15483 pull_request: https://github.com/python/cpython/pull/15838 ___ Python tracker ___

[issue38076] Make struct module PEP-384 compatible

2019-09-10 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___

Re: phyton

2019-09-10 Thread inhahe
On Tue, Sep 10, 2019 at 8:41 AM Pankaj Jangid wrote: > tim.g...@quicknet.nl writes: > > > For school i need to write the right code to get the following outcome. > > Can someone help me with this > > I can't find a solution to link the word high to 1.21. > > > > 11 print(add_vat(101,

[issue38090] test_ctypes is leaking references

2019-09-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +15497 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15848 ___ Python tracker

[issue38054] enhance pdb.set_trace() to run when the specified condition is true

2019-09-10 Thread Alexander Ulyanov
Alexander Ulyanov added the comment: Perhaps it's a matter of preference. I found it convenient, since passing in a boolean expression allows me to get rid of extra if-blocks thus reducing lines of code and increasing debugging speed. I wanted to share my idea with the community - but

[issue38066] Hide internal asyncio.Stream methods

2019-09-10 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38092] environment variables not passed correctly using new virtualenv launching in windows and python3.7+

2019-09-10 Thread Steve Dower
Steve Dower added the comment: Yeah, very strange that. I can only assume that it's launching the venv redirector directly, rather than the real sys.executable, and we aren't ever calling set_executable() with the real one anymore. Dropping this into Lib/multiprocessing/spawn.py should

[issue36781] Optimize sum() for bools

2019-09-10 Thread Dino Viehland
Dino Viehland added the comment: Sorry, it seemed like a perfectly reasonable change when I was looking at the PR! -- ___ Python tracker ___

[issue38087] test_ntpath must account for casing changes

2019-09-10 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38087] test_ntpath must account for casing changes

2019-09-10 Thread Steve Dower
Steve Dower added the comment: New changeset 206e4c3d3547b024935ea9655f960061dffbb80f by Steve Dower in branch '3.8': bpo-38087: Fix case sensitivity in test_pathlib and test_ntpath (GH-15850) https://github.com/python/cpython/commit/206e4c3d3547b024935ea9655f960061dffbb80f --

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is it okay to have _asyncio_internal keyword with default value as False and the places where it's used internally in stdlib like AsyncMock (Condition), async_case (Queue) and other tests we can pass in True? I have a patch if that would be a good

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-09-10 Thread Lisa Roach
Change by Lisa Roach : -- pull_requests: +15476 pull_request: https://github.com/python/cpython/pull/15830 ___ Python tracker ___

[issue32165] PyEval_InitThreads is called before Py_Initialize in LoadPython in Modules/_ctypes/callbacks.c

2019-09-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +15481 pull_request: https://github.com/python/cpython/pull/15836 ___ Python tracker ___

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +15488 pull_request: https://github.com/python/cpython/pull/15841 ___ Python tracker ___

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-09-10 Thread miss-islington
miss-islington added the comment: New changeset 9008be303a89bfab8c3314c6a42330b5523adc8b by Miss Islington (bot) (Emmanuel Arias) in branch 'master': bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs [queue] (GH-13950)

  1   2   3   4   >