[issue19270] Document that sched.cancel() doesn't distinguish equal events and can break order

2020-06-23 Thread Bar Harel
Bar Harel added the comment: @Raymond your first idea sounds good and was the first thing that came to my mind. I only worried about breaking things, so I gave the more conservative suggestion. If breaking a few eggs isn't an issue and the implications of your idea are agreed upon, I'll pat

[issue41087] Argparse int / float default

2020-06-23 Thread Bryan
New submission from Bryan : parser.add_argument('-e', '--Edge', type = int, default = 0.005, metavar = 'Edge') Runs fine. Script uses default of 0.005 even when int specified. But if user tries to change, not an int -- messages: 372143 nosy: Bryan priority: normal severity: norma

[issue41087] Argparse int / float default

2020-06-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There is a documentation note on type casting along with an example similar to the report https://docs.python.org/3.8/library/argparse.html#default > If the default value is a string, the parser parses the value as if it were a > command-line argum

[issue41087] Argparse int / float default

2020-06-23 Thread Bryan
Bryan added the comment: Maybe so, But, the issue is, if it trips up a user when they try to use the option, it should trip up the dev when the default is used... On Tue, 23 Jun 2020 18:47 Karthikeyan Singaravelan, wrote: > > Karthikeyan Singaravelan added the comment: > > There is a docum

[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2020-06-23 Thread Виктор
Change by Виктор : -- nosy: +ViktorPegy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset b4e85cadfbc2b1b24ec5f3159e351dbacedaa5e0 by Victor Stinner in branch 'master': bpo-40521: Make dict free lists per-interpreter (GH-20645) https://github.com/python/cpython/commit/b4e85cadfbc2b1b24ec5f3159e351dbacedaa5e0 -- ___

[issue40887] Free lists are still used after being finalized (cleared)

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: All free lists now have assertions to ensure that they are no longer used after their finalization. -- ___ Python tracker ___ __

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: All free lists are now per-interpreter! See Modules/gcmodule.c: static void clear_freelists(PyThreadState *tstate) { _PyFrame_ClearFreeList(tstate); _PyTuple_ClearFreeList(tstate); _PyFloat_ClearFreeList(tstate); _PyList_ClearFreeList(tstate);

[issue41078] [C API] Convert PyTuple_GET_ITEM() macro to a static inline function

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: See "(PEP 620) C API for efficient loop iterating on a sequence of PyObject** or other C types" thread on python-dev: https://mail.python.org/archives/list/python-...@python.org/thread/632CV42376SWVYAZTHG4ROOV2HRHOVZ7/ --

[issue41084] Signify that a SyntaxError comes from an fstring in the error message

2020-06-23 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: > My only reservation would be: if the parsing of f-strings is moved into the > parser, would it be possible to maintain the error new messages? Probably without a single change. -- ___ Python tracker

[issue31938] Convert selectmodule.c to Argument Clinic

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20236 pull_request: https://github.com/python/cpython/pull/21067 ___ Python tracker ___ __

[issue41083] plistlib can't decode date from year 0

2020-06-23 Thread Christian Heimes
Christian Heimes added the comment: There is no year 0. It does not exist. The year after 1 BC is the year 1 AD. -- nosy: +christian.heimes ___ Python tracker ___

[issue41083] plistlib can't decode date from year 0

2020-06-23 Thread Christian Heimes
Christian Heimes added the comment: By the way most datetime libraries will give you incorrect values for dates before 1582, 1752, 1926, 1949 or any dates in that range depending on your country and the predominant religion of your country, county, state, or principality. Dates before 1970 a

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20237 pull_request: https://github.com/python/cpython/pull/21068 ___ Python tracker ___ __

[issue41085] Array regression test fails

2020-06-23 Thread William Pickard
William Pickard added the comment: The only modification I made was to "rt.bat" to have the value of '-u' work properly. -- ___ Python tracker ___ ___

[issue41088] Extend the AST Validator to validate all identifiers

2020-06-23 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : These identifiers include; - 'name' of FunctionDef/ClassDef/AsyncFunctionDef/ExceptHandler - 'name' and 'asname' of import aliases within ImportFrom and Import nodes. Any of these cases will crash the interpreter (abort) when used with a constant (such as

[issue41085] Array regression test fails

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: It's Python 3.10 on Windows built in 64-bit with Visual Studio. Extract of test_output.log: L:\GIT\cpython\PCbuild>"L:\GIT\cpython\PCbuild\amd64\python_d.exe" -u -Wd -E -bb -m test -u all,-curses -v -M 24Gb --header == CPython 3.10.0a0 (heads/master-dirty:

[issue41085] Array regression test fails

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: That's a bug in array_array_index() which downcasts "Py_ssize_t i" to long: static PyObject * array_array_index(arrayobject *self, PyObject *v) /*[clinic end generated code: output=d48498d325602167 input=cf619898c6649d08]*/ { Py_ssize_t i; for (i = 0;

[issue41085] [easy C] Array regression test fails

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +easy (C) title: Array regression test fails -> [easy C] Array regression test fails ___ Python tracker ___

[issue41085] [easy C] Array regression test fails

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +newcomer friendly ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue41085] [easy C] array.array.index() method downcasts Py_ssize_t to long

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- title: [easy C] Array regression test fails -> [easy C] array.array.index() method downcasts Py_ssize_t to long ___ Python tracker ___ __

[issue23427] Add sys.orig_argv: original command line arguments passed to the Python executable

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: The setproctitle project uses Py_GetArgcArgv() and would benefit of PyConfig.orig_argv, see: * https://bugs.python.org/issue15577#msg370965 * https://github.com/dvarrazzo/py-setproctitle/issues/8 -- ___ Python tra

[issue41088] Extend the AST Validator to validate all identifiers

2020-06-23 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +20238 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21069 ___ Python tracker ___

[issue41088] Extend the AST Validator to validate all identifiers

2020-06-23 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +pablogsal, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Nikita Nemkin
New submission from Nikita Nemkin : Visual Studio projects need a bit of grooming. * File filters don't reflect recent file movements and additions. * Solution file is missing _zoneinfo project entries, resulting in dirty repo on every save. * bdist_wininst project hasn't been updated with the

[issue41083] plistlib can't decode date from year 0

2020-06-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Year 0 does exist in ISO 8601 though, but that wouldn't help us here as year 0 in that standard is year 1 BCE which is not representable in Python's datetime module. I'm not sure what we can do about this. The best we could do with plistlib is probably to

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Nikita Nemkin
Change by Nikita Nemkin : -- keywords: +patch pull_requests: +20239 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21070 ___ Python tracker ___ __

[issue41090] Support for "Apple Silicon"

2020-06-23 Thread Ronald Oussoren
New submission from Ronald Oussoren : The attached patch implements "universal2" as an option for "--with-univeral-archs" to enable building "Universal 2" binaries on macOS (with x86_64 and arm64 code). This is an extension of the already existing support for other flavours of fat binaries o

[issue41085] [easy C] array.array.index() method downcasts Py_ssize_t to long

2020-06-23 Thread William Pickard
Change by William Pickard : -- keywords: +patch pull_requests: +20240 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21071 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 261cfedf7657a515e04428bba58eba2a9bb88208 by Victor Stinner in branch 'master': bpo-40521: Make the empty frozenset per interpreter (GH-21068) https://github.com/python/cpython/commit/261cfedf7657a515e04428bba58eba2a9bb88208 -- ___

[issue40605] «python»: Aucun fichier ou dossier de ce type

2020-06-23 Thread Goheakan
Goheakan added the comment: Bonjour Isa, Hello Terry ! "/usr/bin/env: «python»: Aucun fichier ou dossier de ce type" or "/usr/bin/env: «python»: No such file or directory" I was in the same trouble of you today and I solved it. So it's not a bug, some Unix Systems Operating (like Ubuntu and d

[issue41090] Support for "Apple Silicon"

2020-06-23 Thread Mark Dickinson
Mark Dickinson added the comment: @Ronald: a bit off-topic for this issue, but do you know if there are or will be any publicly available developer resources for people moving to Apple Silicon? For obvious reasons, I'm interested in what the floating-point and libm situation is going to look

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger nosy_count: 4.0 -> 5.0 pull_requests: +20241 pull_request: https://github.com/python/cpython/pull/21073 ___ Python tracker __

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20242 pull_request: https://github.com/python/cpython/pull/21074 ___ Python tracker ___ __

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20243 pull_request: https://github.com/python/cpython/pull/21075 ___ Python tracker ___ __

[issue41085] [easy C] array.array.index() method downcasts Py_ssize_t to long

2020-06-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +20245 pull_request: https://github.com/python/cpython/pull/21077 ___ Python tracker ___ __

[issue41085] [easy C] array.array.index() method downcasts Py_ssize_t to long

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1d3dad5f96ed445b958ec53dfa0d46812f2162d9 by WildCard65 in branch 'master': bpo-41085: Fix array.array.index() on 64-bit Windows (GH-21071) https://github.com/python/cpython/commit/1d3dad5f96ed445b958ec53dfa0d46812f2162d9 -- __

[issue41085] [easy C] array.array.index() method downcasts Py_ssize_t to long

2020-06-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +20244 pull_request: https://github.com/python/cpython/pull/21076 ___ Python tracker _

[issue41090] Support for "Apple Silicon"

2020-06-23 Thread Mark Dickinson
Mark Dickinson added the comment: > a bit off-topic for this issue Apologies: on reflection, it's way off-topic. Please ignore this and the last message; I'll find a more appropriate place to take this up. -- ___ Python tracker

[issue41085] [easy C] array.array.index() method downcasts Py_ssize_t to long

2020-06-23 Thread miss-islington
miss-islington added the comment: New changeset c6e24e7420a03a1751004e255a6f6c14265b9ea1 by Miss Islington (bot) in branch '3.8': bpo-41085: Fix array.array.index() on 64-bit Windows (GH-21071) https://github.com/python/cpython/commit/c6e24e7420a03a1751004e255a6f6c14265b9ea1 -- ___

[issue41085] [easy C] array.array.index() method downcasts Py_ssize_t to long

2020-06-23 Thread miss-islington
miss-islington added the comment: New changeset 92f8b480bab408be09bc1631cf2e0e5a4641b731 by Miss Islington (bot) in branch '3.9': bpo-41085: Fix array.array.index() on 64-bit Windows (GH-21071) https://github.com/python/cpython/commit/92f8b480bab408be09bc1631cf2e0e5a4641b731 -- ___

[issue40773] DOC: Fix rendering for 'retval' on the pdb page

2020-06-23 Thread Chenyoo Hao
Change by Chenyoo Hao : -- pull_requests: +20246 pull_request: https://github.com/python/cpython/pull/21080 ___ Python tracker ___ _

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 32f2eda85957365d208f499b730d30b7eb419741 by Raymond Hettinger in branch 'master': bpo-40521: Remove freelist from collections.deque() (GH-21073) https://github.com/python/cpython/commit/32f2eda85957365d208f499b730d30b7eb419741 -- _

[issue41085] [easy C] array.array.index() method downcasts Py_ssize_t to long

2020-06-23 Thread William Pickard
Change by William Pickard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset c41eed1a874e2f22bde45c3c89418414b7a37f46 by Victor Stinner in branch 'master': bpo-40521: Make bytes singletons per interpreter (GH-21074) https://github.com/python/cpython/commit/c41eed1a874e2f22bde45c3c89418414b7a37f46 -- __

[issue41090] Support for "Apple Silicon"

2020-06-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I only know what's on Apple website. There will be documentation, and there is developer hardware. I do have a VM running the new macOS with a version of Xcode that can compile for the new hardware, but that's where it ends for me. -- _

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 61b649296110dcb38e67db382a7e8427c5eb75d0 by Victor Stinner in branch 'master': bpo-36710: Pass tstate explicitly in abstract.c (GH-21075) https://github.com/python/cpython/commit/61b649296110dcb38e67db382a7e8427c5eb75d0 -- ___

[issue40773] DOC: Fix rendering for 'retval' on the pdb page

2020-06-23 Thread Chenyoo Hao
Change by Chenyoo Hao : -- pull_requests: +20247 pull_request: https://github.com/python/cpython/pull/21081 ___ Python tracker ___ _

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20248 pull_request: https://github.com/python/cpython/pull/21082 ___ Python tracker ___ __

[issue39699] Some CIs silence potentially useful output from make

2020-06-23 Thread Mark Dickinson
Mark Dickinson added the comment: The text "TEST CHANGE TO BE UNDONE" is currently visible here: https://docs.python.org/3/whatsnew/3.0.html It was introduced in commit 343bc06d8047e4a2e675394528dbb5155be1b3b5. Should this test change have been undone? -- nosy: +mark.dickinson

[issue41056] minor NULL pointer and sign issues reported by Coverity

2020-06-23 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle nosy_count: 3.0 -> 4.0 pull_requests: +20249 pull_request: https://github.com/python/cpython/pull/21083 ___ Python tracker ___

[issue41065] Use zip-strict in zoneinfo

2020-06-23 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset bc43f6e21244f31d25896875430174cd4ac7604c by Ram Rachum in branch 'master': bpo-41065: Use zip-strict in zoneinfo (GH-21031) https://github.com/python/cpython/commit/bc43f6e21244f31d25896875430174cd4ac7604c -- ___

[issue40133] Provide additional matchers for unittest.mock

2020-06-23 Thread Chris Withers
Chris Withers added the comment: Okay, but to be up-front about this, I don't see any place in the stdlib for any more "helpers" that could more easily be maintained on pypi and wouldn't incur further support burden for anyone looking after this part of the standard library. The only "helpe

[issue41085] [easy C] array.array.index() method downcasts Py_ssize_t to long

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: Thanks William Pickard for the bug report and the fix! -- components: +Library (Lib) -Tests, Windows versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 522691c46e2ae51faaad5bbbce7d959dd61770df by Victor Stinner in branch 'master': bpo-40521: Cleanup code of free lists (GH-21082) https://github.com/python/cpython/commit/522691c46e2ae51faaad5bbbce7d959dd61770df -- _

[issue41004] Hash collisions in IPv4Interface and IPv6Interface

2020-06-23 Thread Beuc
Change by Beuc : -- nosy: +Beuc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailm

[issue41084] Signify that a SyntaxError comes from an fstring in the error message

2020-06-23 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- keywords: +patch pull_requests: +20250 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21084 ___ Python tracker _

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +20251 pull_request: https://github.com/python/cpython/pull/21085 ___ Python tracker ___ ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20252 pull_request: https://github.com/python/cpython/pull/21086 ___ Python tracker ___ __

[issue36921] Deprecate yield from and @coroutine in asyncio

2020-06-23 Thread Josh Rosenberg
Josh Rosenberg added the comment: Was this supposed to deprecate using types.coroutine as a decorator as well? Because that's not clearly documented, which means people can still use it to make generator-based coroutines without async def. -- nosy: +josh.r __

[issue41091] Remove recommendation in curses module documentation to initialize LC_ALL and encode strings

2020-06-23 Thread Manuel Jacob
New submission from Manuel Jacob : The documentation for the curses module (https://docs.python.org/3.9/library/curses.html) has the following note: > Since version 5.4, the ncurses library decides how to interpret non-ASCII > data using the nl_langinfo function. That means that you have to ca

[issue39960] Using typename.__setattr__ in extension type with Py_TPFLAGS_HEAPTYPE is broken (hackcheck too eager?)

2020-06-23 Thread Petr Viktorin
Petr Viktorin added the comment: > do we still only support single inheritance at the C level? Not any more. Heap types may have multiple bases, and they can be created at the C level (since Python 3.2, PEP 384). > So, I think we should do something like walking up the hierarchy to find the

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2020-06-23 Thread Zackery Spytz
Zackery Spytz added the comment: Python 2 is EOL, so I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___ ___

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset f9bd05e83e32bece49de5af0c9a232325c57648a by Raymond Hettinger in branch 'master': bpo-40521: Empty frozenset is no longer a singleton (GH-21085) https://github.com/python/cpython/commit/f9bd05e83e32bece49de5af0c9a232325c57648a --

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-06-23 Thread hai shi
Change by hai shi : -- pull_requests: +20253 pull_request: https://github.com/python/cpython/pull/21087 ___ Python tracker ___ ___

[issue25257] In subject line email library inserts unwanted space after a thousands comma in a number

2020-06-23 Thread SilentGhost
Change by SilentGhost : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue41087] Argparse int / float default

2020-06-23 Thread paul j3
paul j3 added the comment: No, parameters like `type` let the developer control what his users provides. Violating that produces a runtime error, and exit. But in general argparse does not try to control values that the developer uses. There's plenty of time during development to catch err

[issue41092] Report actual size from 'os.path.getsize'

2020-06-23 Thread Stephen Finucane
New submission from Stephen Finucane : The 'os.path.getsize' API returns the apparent size of the file at *path*, that is, the number of bytes the file reports itself as consuming. However, it's often useful to get the actual size of the file, or the size of file on disk. It would be helpful

[issue41092] Report actual size from 'os.path.getsize'

2020-06-23 Thread Stephen Finucane
Change by Stephen Finucane : -- keywords: +patch pull_requests: +20254 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21088 ___ Python tracker ___

[issue41087] Argparse int / float default

2020-06-23 Thread Bryan
Bryan added the comment: This sort of ambiguity is why I like strongly typed languages and languages where timtoady is not seen often. I can guarantee you, that if argparse was implemented in Pascal (and copt most probably has been), that if type was specified and a default given, that the def

[issue41083] plistlib can't decode date from year 0

2020-06-23 Thread Michael Shields
Michael Shields added the comment: You're correct that there is no year 0, but as you see Apple does use -12-30T00:00:00Z in their plists. I did not set that in order to test plistlib; it's what I found on my system. If it's a goal that plistlib be able to parse system-generated plists a

[issue41087] Argparse int / float default

2020-06-23 Thread Vedran Čačić
Vedran Čačić added the comment: Yes, it is common sense in statically typed languages. Python is not statically typed. Many other things are also "common sense" in various paradigms, which doesn't mean they should also be in Python. -- nosy: +veky

[issue39699] Some CIs silence potentially useful output from make

2020-06-23 Thread Ammar Askar
Change by Ammar Askar : -- pull_requests: +20255 pull_request: https://github.com/python/cpython/pull/21089 ___ Python tracker ___ _

[issue39699] Some CIs silence potentially useful output from make

2020-06-23 Thread Ammar Askar
Ammar Askar added the comment: Thanks for finding this Mark, looks like this was accidentally introduced in the 3.8 backport for testing the changes: https://github.com/python/cpython/pull/18670 The master (6aa1f1ecf7142a4117eedb8c570f30da1598616c) and 3.7 (3bf9de2fb954bd1131f4f41517d7d5c31

[issue39699] Some CIs silence potentially useful output from make

2020-06-23 Thread Ammar Askar
Ammar Askar added the comment: Opened up a quick pull request to fix it: https://github.com/python/cpython/pull/21089 -- ___ Python tracker ___ __

[issue41087] Argparse int / float default

2020-06-23 Thread Bryan
Bryan added the comment: So you agree, Python lacks common sense... On Wed, 24 Jun 2020 at 03:32, Vedran Čačić wrote: > > Vedran Čačić added the comment: > > Yes, it is common sense in statically typed languages. Python is not > statically typed. Many other things are also "common sense" in

[issue41087] Argparse int / float default

2020-06-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue39699] Some CIs silence potentially useful output from make

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 6eab52ffadb2836adb59d0578c84d247f05e19b1 by Ammar Askar in branch '3.8': bpo-39699: Remove accidentally committed test change (GH-21089) https://github.com/python/cpython/commit/6eab52ffadb2836adb59d0578c84d247f05e19b1 -- ___

[issue41072] Python 3.8.3 passively introduced open source software contains CVE vulnerability

2020-06-23 Thread Steve Dower
Steve Dower added the comment: It depends on your application. Almost all of these are exposed directly, so you will be vulnerable if your application uses them in the way described by the CVE. I'm not familiar enough with the vulnerabilities in question to tell you for sure, and I doubt an

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset fe2a48c605d98ac02ab2b9593cb87ce364aeae2d by Nikita Nemkin in branch 'master': bpo-41089: Filters and other issues in Visual Studio projects (GH-21070) https://github.com/python/cpython/commit/fe2a48c605d98ac02ab2b9593cb87ce364aeae2d -- _

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +20256 pull_request: https://github.com/python/cpython/pull/21090 ___ Python tracker ___ _

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker ___ _

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Steve Dower added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue41093] BaseServer's server_forever() shutdown immediately when calling shutdown()

2020-06-23 Thread Tony
New submission from Tony : Currently calling BaseServer's shutdown() function will not make serve_forever() return immediately from it's select(). I suggest adding a new function called server_shutdown() that will make serve_forever() shutdown immediately. Then in TCPServer(BaseServer) all w

[issue41093] BaseServer's server_forever() shutdown immediately when calling shutdown()

2020-06-23 Thread Tony
Tony added the comment: By the way I have to ask, if I want this feature to be merged (this is my first PR) should I make a PR to 3.6/3.7/3.8/3.9 and master? Or should I create a PR to master only? thanks -- ___ Python tracker

[issue41054] Simplify resource compilation on Windows

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 4efc3360c9a83d5891f27ed67b4f0ab7275d2ab4 by Nikita Nemkin in branch 'master': bpo-41054: Simplify resource compilation on Windows (GH-21004) https://github.com/python/cpython/commit/4efc3360c9a83d5891f27ed67b4f0ab7275d2ab4 -- ___

[issue41054] Simplify resource compilation on Windows

2020-06-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +20257 pull_request: https://github.com/python/cpython/pull/21091 ___ Python tracker _

[issue41054] Simplify resource compilation on Windows

2020-06-23 Thread miss-islington
miss-islington added the comment: New changeset cebd43fbfd25a80404728f73edc301f9558d9410 by Miss Islington (bot) in branch '3.9': bpo-41054: Simplify resource compilation on Windows (GH-21004) https://github.com/python/cpython/commit/cebd43fbfd25a80404728f73edc301f9558d9410 --

[issue41089] Filters and other issues in Visual Studio projects

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 47cd931a61146793faa44e01516bf07b0c23380c by Steve Dower in branch '3.9': bpo-41089: Filters and other issues in Visual Studio projects (GH-21070) https://github.com/python/cpython/commit/47cd931a61146793faa44e01516bf07b0c23380c -- __

[issue41039] Simplify python3.dll build

2020-06-23 Thread Steve Dower
Steve Dower added the comment: New changeset 2c6e4e91c5a4d3f25908108f4ed32aba936df70c by Nikita Nemkin in branch 'master': bpo-41039: Simplify python3.dll build (GH-20989) https://github.com/python/cpython/commit/2c6e4e91c5a4d3f25908108f4ed32aba936df70c -- _

[issue41054] Simplify resource compilation on Windows

2020-06-23 Thread Steve Dower
Steve Dower added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue41039] Simplify python3.dll build

2020-06-23 Thread Steve Dower
Steve Dower added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue39960] Using typename.__setattr__ in extension type with Py_TPFLAGS_HEAPTYPE is broken (hackcheck too eager?)

2020-06-23 Thread Stefan Behnel
Change by Stefan Behnel : -- keywords: +patch pull_requests: +20258 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21092 ___ Python tracker ___ __

[issue39960] Using typename.__setattr__ in extension type with Py_TPFLAGS_HEAPTYPE is broken (hackcheck too eager?)

2020-06-23 Thread Stefan Behnel
Stefan Behnel added the comment: I chose to go through the MRO, which takes multiple inheritance into account. -- stage: patch review -> ___ Python tracker ___ __

[issue39960] Using typename.__setattr__ in extension type with Py_TPFLAGS_HEAPTYPE is broken (hackcheck too eager?)

2020-06-23 Thread Stefan Behnel
Change by Stefan Behnel : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue41093] BaseServer's server_forever() shutdown immediately when calling shutdown()

2020-06-23 Thread Tony
Change by Tony : -- keywords: +patch pull_requests: +20259 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21093 ___ Python tracker ___ ___

[issue40707] Popen.communicate documentation does not say how to get the return code

2020-06-23 Thread Gareth Rees
Gareth Rees added the comment: Is there anything I can do to move this forward? -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue41093] BaseServer's server_forever() shutdown immediately when calling shutdown()

2020-06-23 Thread Tony
Change by Tony : -- pull_requests: +20260 pull_request: https://github.com/python/cpython/pull/21094 ___ Python tracker ___ ___ Pyth

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : There are issues with using PySys_Audit() with non-ASCII data on non-UTF-8 locale. One example is with PYTHONSTARTUP. In pymain_run_startup() in Modules/main.c the value of the PYTHONSTARTUP environment variable is passed to PySys_Audit() as UTF-8 encod

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20262 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21095 ___ Python tracker ___

  1   2   >