[issue32696] Fix pickling exceptions with multiple arguments

2022-01-14 Thread Ziga Seilnacht
Change by Ziga Seilnacht : -- nosy: -zseil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46382] dataclass(slots=True) does not account for slots in base classes

2022-01-14 Thread Arie Bovenberg
Arie Bovenberg added the comment: There are already 2 complexities I can think of: 1. This behavior may break some people's code, if they use __slots__ to iterate over the fields of a dataclass. Solution: explicitly mention in the docs that not every field may get a slot on the new

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: Here's question to focus on: In what circumstances should a developer ever prefer PyMapping_Check() over PyType_HasFeature() with Py_TPFLAGS_MAPPING? The latter doesn't give any new, useful information: return o && Py_TYPE(o)->tp_as_mapping &&

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: > what about simply excluding TPFLAGS_MAPPING from PySequence > and TPFLAGS_Sequence from PyMapping? It will remove the types > that are 100% not sequences or mappings, as these flags > are mutually exclusive by definition. This is more plausible than

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread John Millikin
Change by John Millikin : -- nosy: -jmillikin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46385] Remove parenthetical symbols for readability and nlp

2022-01-14 Thread Steven D'Aprano
Steven D'Aprano added the comment: Please don't reopen this issue. If you really want to take it to the Python-Ideas mailing list, you can: https://mail.python.org/mailman3/lists/python-ideas.python.org/ or to Discuss: https://discuss.python.org/c/ideas/6 -- status: open -> closed

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Bar Harel
Bar Harel added the comment: I thought about it, what about simply excluding TPFLAGS_MAPPING from PySequence and TPFLAGS_Sequence from PyMapping? It will remove the types that are 100% not sequences or mappings, as these flags are mutually exclusive by definition. The result will be much

[issue46385] Remove parenthetical symbols for readability and nlp

2022-01-14 Thread Devin Harper
Devin Harper <345t...@gmail.com> added the comment: Couldn't find that mailing list sorry. There's only 1 for developers like you. Removing tuples would be backwards compatible. My plan would automatically convert tuples to lists. Just keep all the list code besides parenthetical symbols.

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Inada Naoki
Inada Naoki added the comment: collections.abc.Mapping is fixed by https://bugs.python.org/issue43977 We can be same thing if backward compatibility allows it. -- nosy: +methane ___ Python tracker

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: s/it isn't work breaking other things/it isn't worth breaking other things/ -- ___ Python tracker ___

[issue46385] Remove parenthetical symbols for readability and nlp

2022-01-14 Thread Steven D'Aprano
Steven D'Aprano added the comment: Dennis beat me to it in saying that tuples cannot be replaced by lists. But I also wanted to say that it is *not true* that removing bracket symbols would increase readability. Natural language allows parenthetical phrases -- which can be bracketed using

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: > It changes behavior for objects not being iterable/sequences > if not inheriting from `abc.collections.Sequence`. This would be a breaking change (for example, it broke the long stable sre_parse code). The utility of PySequence_Check and

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Bar Harel
Bar Harel added the comment: Another question we should ask is about duck typing. Is a sequence which doesn't inherit from abc.Sequence considered a sequence? Whatever the answer is, PySequence specifically looks for a sequence and removes duck typing out of the picture. The object will not

[issue46385] Remove parenthetical symbols for readability and nlp

2022-01-14 Thread Dennis Sweeney
Dennis Sweeney added the comment: "Removing tuples" would be highly backwards-incompatible, as millions of programs rely on tuples, and we can't break them for no reason. > Lists have everything tuples have and more. Not true: tuples are hashable, so they can be used as keys in dicts and

[issue46385] Remove parenthetical symbols for readability and nlp

2022-01-14 Thread Devin Harper
New submission from Devin Harper <345t...@gmail.com>: Parenthetical symbols like ()[]{} are unneeded if you just remove the complaining in the compiler/interpreter/programming language. It will increase readability and natural language programming( NLP). Just treat the symbols as strings and

[issue46384] Request: make lzma._(encode|decode)_filter_properties public

2022-01-14 Thread Hiroshi Miura
New submission from Hiroshi Miura : py7zr 3rd party project that use lzma module to compress/decompress 7-zip archive uses lzma._(encode|decode)_filter_properties. These methods are public at first but become private in py3.4 at commit a425c3d5a264c556d31bdd88097c79246b533ea3 Here is a

[issue45522] Allow to build Python without freelists

2022-01-14 Thread STINNER Victor
STINNER Victor added the comment: > Freelists for object structs can now be disabled. A new configure option > --without-freelists can be used to disable all freelists except empty tuple > singleton. (Contributed by Christian Heimes in bpo-45522) Can you please document the new

[issue40255] Fixing Copy on Writes from reference counting

2022-01-14 Thread STINNER Victor
STINNER Victor added the comment: I just want to say that GOOGLE_ETERNAL_REFCOUNT_SUPPORT is a cool name :-D I love "eternal refcount"! -- ___ Python tracker ___

[issue46367] multiprocessing's "spawn" doesn't actually use spawn

2022-01-14 Thread STINNER Victor
STINNER Victor added the comment: > It appears the `multiprocessing`'s "spawn" mode doesn't actually use POSIX > spawn, but instead uses fork+exec[1]. The documentation doesn't pretend to use posix_spawn(). It only says: "starts a fresh python interpreter process".

[issue20281] [doc] time.strftime %z format specifier is the same as %Z

2022-01-14 Thread miss-islington
miss-islington added the comment: New changeset f869b56fe4be416d356fffc94b8b18fe65039929 by Miss Islington (bot) in branch '3.9': bpo-20281, bpo-29964: update datetime docs to refer %z and %Z to a pre-existing footnote (GH-30354)

[issue29964] [doc] %z directive has no effect on the output of time.strptime

2022-01-14 Thread miss-islington
miss-islington added the comment: New changeset f869b56fe4be416d356fffc94b8b18fe65039929 by Miss Islington (bot) in branch '3.9': bpo-20281, bpo-29964: update datetime docs to refer %z and %Z to a pre-existing footnote (GH-30354)

[issue20281] [doc] time.strftime %z format specifier is the same as %Z

2022-01-14 Thread miss-islington
miss-islington added the comment: New changeset 93dc1654dc3c925c062e19f0ef8587aa8961ef8a by Miss Islington (bot) in branch '3.10': bpo-20281, bpo-29964: update datetime docs to refer %z and %Z to a pre-existing footnote (GH-30354)

[issue29964] [doc] %z directive has no effect on the output of time.strptime

2022-01-14 Thread miss-islington
miss-islington added the comment: New changeset 93dc1654dc3c925c062e19f0ef8587aa8961ef8a by Miss Islington (bot) in branch '3.10': bpo-20281, bpo-29964: update datetime docs to refer %z and %Z to a pre-existing footnote (GH-30354)

[issue46242] Improve error message when attempting to extend an enum with `__call__`

2022-01-14 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46247] in xml.dom.minidom, Node and DocumentLS appear to be missing __slots__

2022-01-14 Thread Éric Araujo
Change by Éric Araujo : -- versions: -Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29985] make install doesn't seem to support --quiet

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- versions: -Python 3.11, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

[issue46379] itertools.product reference implementation creates temporaries

2022-01-14 Thread Markus Wallerberger
Markus Wallerberger added the comment: > To a person well versed in recursion and in generator chains it makes sense > but not so much for anyone else. There I pretty much fundamentally disagree. I find the version in the docs much more magical in the sense that it builds up "laterally",

[issue29964] [doc] %z directive has no effect on the output of time.strptime

2022-01-14 Thread Paul Pinterits
Change by Paul Pinterits : -- nosy: -Paul Pinterits ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29985] make install doesn't seem to support --quiet

2022-01-14 Thread Ken Williams
Ken Williams added the comment: Thanks Irit - yes, the behavior with 3.9 and 3.10 is the same, and their Makefiles seem to have the same unguarded `echo` statements emitting the output. -- ___ Python tracker

[issue29964] [doc] %z directive has no effect on the output of time.strptime

2022-01-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +28811 pull_request: https://github.com/python/cpython/pull/30609 ___ Python tracker ___

[issue29964] [doc] %z directive has no effect on the output of time.strptime

2022-01-14 Thread Brett Cannon
Brett Cannon added the comment: New changeset 305588c67cdede4ef127ada90c1557bc1ef7c200 by Hugo van Kemenade in branch 'main': bpo-20281, bpo-29964: update datetime docs to refer %z and %Z to a pre-existing footnote (GH-30354)

[issue29964] [doc] %z directive has no effect on the output of time.strptime

2022-01-14 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +28809 pull_request: https://github.com/python/cpython/pull/30608 ___ Python tracker

[issue20281] [doc] time.strftime %z format specifier is the same as %Z

2022-01-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +28810 pull_request: https://github.com/python/cpython/pull/30609 ___ Python tracker ___

[issue20281] [doc] time.strftime %z format specifier is the same as %Z

2022-01-14 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +28808 pull_request: https://github.com/python/cpython/pull/30608 ___ Python tracker

[issue20281] [doc] time.strftime %z format specifier is the same as %Z

2022-01-14 Thread Brett Cannon
Brett Cannon added the comment: New changeset 305588c67cdede4ef127ada90c1557bc1ef7c200 by Hugo van Kemenade in branch 'main': bpo-20281, bpo-29964: update datetime docs to refer %z and %Z to a pre-existing footnote (GH-30354)

[issue46242] Improve error message when attempting to extend an enum with `__call__`

2022-01-14 Thread Ethan Furman
Ethan Furman added the comment: New changeset e674e48ddc2712f28cc7ecdc66a6c328066694b0 by Nikita Sobolev in branch 'main': bpo-46242: [Enum] better error message for extending `Enum` with members (GH-30357) https://github.com/python/cpython/commit/e674e48ddc2712f28cc7ecdc66a6c328066694b0

[issue43476] Enabling access to showsyntaxerror for IDLE's shell

2022-01-14 Thread Andre Roberge
Andre Roberge added the comment: As far as I am concerned, this issue can be closed. I have found a workaround which allows me to reproduce and analyze the SyntaxError that are not captured by custom exception hook. -- ___ Python tracker

[issue46382] dataclass(slots=True) does not account for slots in base classes

2022-01-14 Thread Eric V. Smith
Eric V. Smith added the comment: I'll have to do some more research. But your analysis looks correct to me, so far. -- assignee: -> eric.smith nosy: +eric.smith ___ Python tracker

[issue46380] `test_functools.TestLRU` must not use `functools` module directly

2022-01-14 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46380] `test_functools.TestLRU` must not use `functools` module directly

2022-01-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset c5640ef87511c960e339af37b486678788be910a by Nikita Sobolev in branch 'main': bpo-46380: Apply tests to both C and Python version (GH-30606) https://github.com/python/cpython/commit/c5640ef87511c960e339af37b486678788be910a --

[issue46379] itertools.product reference implementation creates temporaries

2022-01-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please do keep looking for improvements. Suggestions are always welcome. -- ___ Python tracker ___

[issue46379] itertools.product reference implementation creates temporaries

2022-01-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: Markus, thank you for the suggestion but I'm going to decline. When this rough equivalent was first created, we looked at several recipes and chose this one as being one of the least magical. Intentionally, we did not use the variant you've proposed.

[issue46379] itertools.product reference implementation creates temporaries

2022-01-14 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46380] `test_functools.TestLRU` must not use `functools` module directly

2022-01-14 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46133] Feature request: allow mechanism for creator of exec-generated code to provide source to pdb

2022-01-14 Thread Matt B
Matt B added the comment: Please treat this as a feature request to add the ability for pdb (and internals) to ingest sources for exec-generated code. -- ___ Python tracker

[issue46133] Feature request: allow mechanism for creator of exec-generated code to provide source to pdb

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- nosy: -iritkatriel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46133] Feature request: allow mechanism for creator of exec-generated code to provide source to pdb

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- stage: resolved -> versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___

[issue46133] Feature request: allow mechanism for creator of exec-generated code to provide source to pdb

2022-01-14 Thread Matt B
Change by Matt B : -- resolution: not a bug -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46133] Feature request: allow mechanism for creator of exec-generated code to provide source to pdb

2022-01-14 Thread Matt B
Change by Matt B : -- status: closed -> open title: Unclear whether one can (or how to) provide source to exec-generated code -> Feature request: allow mechanism for creator of exec-generated code to provide source to pdb type: behavior -> enhancement

[issue46017] Tutorial incorrectly refers to skits rather than sketches.

2022-01-14 Thread Irit Katriel
Irit Katriel added the comment: I asked a Monty Python expert and he said I should close this. -- nosy: +iritkatriel stage: -> resolved status: open -> closed ___ Python tracker

[issue46317] Pathlib.rename isn't robust

2022-01-14 Thread Barney Gale
Barney Gale added the comment: shutil.move() accepts a `copy_function` argument: shutil.move(src, dst, copy_function=copy2) It's possible to set `copy_function=copy` to skip copying file metadata. -- ___ Python tracker

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-01-14 Thread Christian Heimes
Change by Christian Heimes : -- dependencies: +_zoneinfo module_free has invalid function signature ___ Python tracker ___ ___

[issue46383] _zoneinfo module_free has invalid function signature

2022-01-14 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +28807 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30607 ___ Python tracker

[issue46383] _zoneinfo module_free has invalid function signature

2022-01-14 Thread Christian Heimes
New submission from Christian Heimes : The zoneinfo C extension has the "freefunc m_free" function with signature "static void module_free(void)". The signature of freefunc is "void (*freefunc)(void *)". It takes a void * argument, but module_free() does not. The signature mismatch is not a

[issue46317] Pathlib.rename isn't robust

2022-01-14 Thread Oz Tiram
Oz Tiram added the comment: @barney, I am not sure that I understand your question. I think adding another method `Pathlib.Path` and `Pathlib._Accessor` is my preferred way. The would be something like: class _NormalAccessor(_Accessor): ... self.move = shutil.move

[issue40255] Fixing Copy on Writes from reference counting

2022-01-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: [data] I finally dug up the old YouTube doc at work with their findings. Mostly just posting this here for future public reference if anyone wants. Nothing surprising. When youtube experimented with a modified 2.7 adding "eternal refcounts" in 2015, they

[issue46382] dataclass(slots=True) does not account for slots in base classes

2022-01-14 Thread Arie Bovenberg
New submission from Arie Bovenberg : @dataclass(slots=True) adds slots to dataclasses. It adds a slot per field. However, it doesn't account for slots already present in base classes: >>> class Base: ... __slots__ = ('a', ) ... >>> @dataclass(slots=True) ... class Foo(Base): ... a:

[issue46317] Pathlib.rename isn't robust

2022-01-14 Thread Barney Gale
Barney Gale added the comment: Sounds good. Would you expose the `copy_function` argument in pathlib, or do something else (like `metadata=True`)? -- nosy: +barneygale ___ Python tracker

[issue45737] assertLogs to optionally not disable existing handlers

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- versions: -Python 3.10, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list

[issue45569] Drop support for 15-bit PyLong digits?

2022-01-14 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset 025cbe7a9b5d3058ce2eb8015d3650e396004545 by Mark Dickinson in branch 'main': bpo-45569: Change PYLONG_BITS_IN_DIGIT default to 30 (GH-30497) https://github.com/python/cpython/commit/025cbe7a9b5d3058ce2eb8015d3650e396004545 --

[issue46133] Unclear whether one can (or how to) provide source to exec-generated code

2022-01-14 Thread Irit Katriel
Irit Katriel added the comment: The source code is read from a file. If there is no file you get OSError, as the docstring states. -- nosy: +iritkatriel resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue37295] Possible optimizations for math.comb()

2022-01-14 Thread Tim Peters
Tim Peters added the comment: Another trick, building on the last one: computing factorial(k) isn't cheap, in time or space, and neither is dividing by it. But we know it will entirely cancel out. Indeed, for each outer loop iteration, prod(p) is divisible by the current k. But, unlike as

[issue46367] multiprocessing's "spawn" doesn't actually use spawn

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +vstinner versions: -Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46381] Improve documentation of CFLAGS_NODIST, LDFLAGS_NODIST

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- versions: -Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue28206] signal.Signals not documented

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue46381] Improve documentation of CFLAGS_NODIST, LDFLAGS_NODIST

2022-01-14 Thread Matthias Köppe
New submission from Matthias Köppe : The documentation of - https://docs.python.org/3.11/using/configure.html#envvar-CFLAGS - https://docs.python.org/3.11/using/configure.html#envvar-CFLAGS_NODIST - https://docs.python.org/3.11/using/configure.html#envvar-LDFLAGS -

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Aviram
Aviram added the comment: I submitted a draft patch. Using TPFlags alone doesn't cut it as some types are excluded (bytes, str, bytearray) in sequence and same for mapping. I'm thinking of checking for those cases specifically as those are very very specific casings. Would love some input.

[issue29985] make install doesn't seem to support --quiet

2022-01-14 Thread Irit Katriel
Irit Katriel added the comment: Ken, the output you posted is for 3.7 and 3.8. Is this reproducible on 3.9+? (3.8 and lower are no longer maintained). -- nosy: +iritkatriel ___ Python tracker

[issue41403] Uncaught AttributeError in unittest.mock._get_target

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list

[issue46377] TimedRotatingFileHandler "midnight" misleading when interval > 1

2022-01-14 Thread Mike Schiessl
Mike Schiessl added the comment: Yes, enforcing interval == 1 or interval == None (which pulls the TimedRotatingFileHandler class __init__ default value which is also 1) works perfectly with midnight. I do not see any urge on that topic - as I personally now know the issue :D - but I

[issue46363] Two typos in versions 3.7 document translation of zh_CN

2022-01-14 Thread Irit Katriel
Irit Katriel added the comment: I copied the issue there: https://github.com/python/python-docs-zh-cn/issues/238 -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- type: behavior -> enhancement versions: -Python 3.10, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___

[issue46377] TimedRotatingFileHandler "midnight" misleading when interval > 1

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- type: behavior -> enhancement versions: -Python 3.10, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___

[issue46045] NetBSD: do not use POSIX semaphores

2022-01-14 Thread Thomas Klausner
Thomas Klausner added the comment: ping - this patch needs a review -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46053] NetBSD: ossaudio support incomplete

2022-01-14 Thread Thomas Klausner
Thomas Klausner added the comment: ping - this patch needs a review -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31472] "Emulating callable objects" documentation misleading

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46380] `test_functools.TestLRU` must not use `functools` module directly

2022-01-14 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +28806 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30606 ___ Python tracker ___

[issue46380] `test_functools.TestLRU` must not use `functools` module directly

2022-01-14 Thread Nikita Sobolev
New submission from Nikita Sobolev : Right now there are two tests in Lib/test/test_functools.py that use `functools.lru_cache` directly: 1. https://github.com/python/cpython/blame/73140de97cbeb01bb6c9af1da89ecb9355921e91/Lib/test/test_functools.py#L1417 2.

[issue23183] timeit CLI best of 3: undocumented output format

2022-01-14 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23183] timeit CLI best of 3: undocumented output format

2022-01-14 Thread miss-islington
miss-islington added the comment: New changeset 9badf6895a9bc1b01b2d6b2fb35419e7c5523ce6 by Miss Islington (bot) in branch '3.9': bpo-23183: Document the timeit output (GH-30359) https://github.com/python/cpython/commit/9badf6895a9bc1b01b2d6b2fb35419e7c5523ce6 --

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-01-14 Thread Christian Heimes
Christian Heimes added the comment: New changeset ee1a8b336d30476e9635a6826f61a99fc3604159 by Christian Heimes in branch 'main': bpo-40280: Block more syscalls that are causing crashes in tests (GH-30601) https://github.com/python/cpython/commit/ee1a8b336d30476e9635a6826f61a99fc3604159

[issue23183] timeit CLI best of 3: undocumented output format

2022-01-14 Thread miss-islington
miss-islington added the comment: New changeset 26039d1e0a1da897d28688895126eb8bbd16f2c9 by Miss Islington (bot) in branch '3.10': bpo-23183: Document the timeit output (GH-30359) https://github.com/python/cpython/commit/26039d1e0a1da897d28688895126eb8bbd16f2c9 --

[issue46379] itertools.product reference implementation creates temporaries

2022-01-14 Thread Alex Waygood
Alex Waygood added the comment: (I'm removing 3.6 and 3.7 from the "versions" field, since those two branches are now only accepting patches if it relates to security.) -- nosy: +AlexWaygood, rhettinger versions: -Python 3.7, Python 3.8 ___

[issue33178] Add support for BigEndianUnion and LittleEndianUnion in ctypes

2022-01-14 Thread David Goncalves
David Goncalves added the comment: Any core developers available to review this PR? -- ___ Python tracker ___ ___ Python-bugs-list

[issue46379] itertools.product reference implementation creates temporaries

2022-01-14 Thread Markus Wallerberger
Change by Markus Wallerberger : -- keywords: +patch pull_requests: +28804 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30605 ___ Python tracker

[issue46379] itertools.product reference implementation creates temporaries

2022-01-14 Thread Markus Wallerberger
New submission from Markus Wallerberger : The reference implementation of itertools.product creates large temporaries, which we need to remind people of at the top of the code block. However, using generator magic, we don't need to do this and can even simplify the code in the process!

[issue23183] timeit CLI best of 3: undocumented output format

2022-01-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +28803 pull_request: https://github.com/python/cpython/pull/30604 ___ Python tracker ___

[issue23183] timeit CLI best of 3: undocumented output format

2022-01-14 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +28802 pull_request: https://github.com/python/cpython/pull/30603 ___ Python tracker

[issue23183] timeit CLI best of 3: undocumented output format

2022-01-14 Thread Irit Katriel
Irit Katriel added the comment: New changeset 73140de97cbeb01bb6c9af1da89ecb9355921e91 by Hugo van Kemenade in branch 'main': bpo-23183: Document the timeit output (GH-30359) https://github.com/python/cpython/commit/73140de97cbeb01bb6c9af1da89ecb9355921e91 --

[issue46287] UNC path normalisation issues on Windows

2022-01-14 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg410068 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32696] Fix pickling exceptions with multiple arguments

2022-01-14 Thread Zefir-13000
Change by Zefir-13000 : -- nosy: +Zefir-13000 nosy_count: 11.0 -> 12.0 pull_requests: +28801 pull_request: https://github.com/python/cpython/pull/30602 ___ Python tracker ___

[issue40280] Consider supporting emscripten/webassembly as a build target

2022-01-14 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28800 pull_request: https://github.com/python/cpython/pull/30601 ___ Python tracker ___

[issue46377] TimedRotatingFileHandler "midnight" misleading when interval > 1

2022-01-14 Thread Vinay Sajip
Vinay Sajip added the comment: Unfortunately, you can't rely on people always doing "the sensible thing", for any number of good reasons. If a particular set of parameter values didn't cause failure, it is probably used somewhere. Anyway, your problem goes away if interval == 1, right? If

[issue46378] Experiment with LLVM BOLT binary optimizer

2022-01-14 Thread Dong-hee Na
New submission from Dong-hee Na : Just experiment how it will be worth :) Thread: https://github.com/faster-cpython/ideas/issues/224 -- assignee: corona10 messages: 410570 nosy: corona10 priority: normal severity: normal status: open title: Experiment with LLVM BOLT binary optimizer

[issue46369] get_type_hints does not evaluate ForwardRefs inside NewType

2022-01-14 Thread Andreas H.
Andreas H. added the comment: Allright. B) sounds good to me. I dont think I have time today, so please feel to tackle the issue. If not I can look at it the next week. -- ___ Python tracker

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Aviram
Change by Aviram : -- keywords: +patch pull_requests: +28799 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30600 ___ Python tracker ___

[issue46362] os.path.abspath() needs more normalization on Windows

2022-01-14 Thread Steve Dower
Steve Dower added the comment: New changeset 71c0b859ae16ee748cbb050a1f4de93c04e04f83 by neonene in branch 'main': bpo-46362: Ensure abspath() tests pass through environment variables to subprocess (GH-30595) https://github.com/python/cpython/commit/71c0b859ae16ee748cbb050a1f4de93c04e04f83

[issue46377] TimedRotatingFileHandler "midnight" misleading when interval > 1

2022-01-14 Thread Mike Schiessl
Mike Schiessl added the comment: i've just checked PR and you're right, something with the PR went wrong. Anyway, midnight (at least from the wording) specifies the "atTime". (which should be midnight). Again, if there's (by mistake) an interval bigger than 1 set(which in my mind makes

[issue46376] PyMapping_Check returns 1 for list

2022-01-14 Thread Bar Harel
Bar Harel added the comment: Do note, the relevant functions are in the Stable ABI, and their promise will slightly change, yet modifying the current functions instead of creating new ones may still be beneficial. -- ___ Python tracker

  1   2   >