[issue33125] Windows 10 ARM64 platform support

2019-11-15 Thread Dan
Dan added the comment: Steve, the 2.7 build I've posted includes native tk, do you need the necessary patches? -- ___ Python tracker ___ _

[issue38813] math.modf() change integer returned part as integer instead of float

2019-11-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Raymond, I think you've tricked yourself ;-) Yup. -- ___ Python tracker ___ ___ Python-bugs

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-11-15 Thread Steve Dower
Steve Dower added the comment: Thanks, Victor! That looks different from the one I was originally fixing (even though the long/short path mismatch is there), so I'll take a look. -- ___ Python tracker _

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-11-15 Thread Steve Dower
Steve Dower added the comment: New changeset 66c0f01f98fd6db0a4b1e789b9db9c7247a24ba9 by Steve Dower in branch '3.8': bpo-38453: Ensure ntpath.realpath correctly resolves relative paths (GH-16967) https://github.com/python/cpython/commit/66c0f01f98fd6db0a4b1e789b9db9c7247a24ba9 --

[issue38644] Pass explicitly tstate to function calls

2019-11-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16690 pull_request: https://github.com/python/cpython/pull/17183 ___ Python tracker ___ __

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-11-15 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +16691 pull_request: https://github.com/python/cpython/pull/17184 ___ Python tracker ___ _

[issue35453] pathlib.Path: glob and rglob should accept PathLike patterns

2019-11-15 Thread Batuhan
Batuhan added the comment: > From what I see, there is no consensus yet. @serhiy.storchaka said this isn't an issue. I can add tests about this behavior (as you mentioned) or this issue can be directly resolved as not a bug. What are you thinking @nanjekyejoannah and @serhiy.storchaka?

[issue38817] Immutable types inplace operations work incorrect in async

2019-11-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Inplace operation is expected to occur only at the time when > the second operand is evaluated. That expectation does not match the implementation and it likely isn't possible to get that to work. In-place operations on immutable objects necessarily

[issue38644] Pass explicitly tstate to function calls

2019-11-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16692 pull_request: https://github.com/python/cpython/pull/17185 ___ Python tracker ___ __

[issue38446] Ambiguous signature for builtins.__build_class__

2019-11-15 Thread Batuhan
Batuhan added the comment: This issue is fixed with PR 16735, @pablogsal can we close it? -- nosy: +BTaskaya, pablogsal ___ Python tracker ___

[issue26011] Document necesities for cmp argument of sorted

2019-11-15 Thread Batuhan
Batuhan added the comment: I agree with @josh.r, also for the key (and reverse), they are documented in py3.8. IMHO this issue can be resolved as not a bug. -- nosy: +BTaskaya ___ Python tracker ___

[issue38644] Pass explicitly tstate to function calls

2019-11-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset b5e170f127b57d5b0a4fb58f316acd6191509dce by Victor Stinner in branch 'master': bpo-38644: Add _PyEval_EvalCode() (GH-17183) https://github.com/python/cpython/commit/b5e170f127b57d5b0a4fb58f316acd6191509dce -- _

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-11-15 Thread Steve Dower
Steve Dower added the comment: New changeset 7c6130c8c36c941255365e5414c956fc919b8629 by Steve Dower in branch 'master': bpo-38453: Ensure correct short path is obtained for test (GH-17184) https://github.com/python/cpython/commit/7c6130c8c36c941255365e5414c956fc919b8629 -- ___

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-11-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +16693 pull_request: https://github.com/python/cpython/pull/17186 ___ Python tracker ___ __

[issue38644] Pass explicitly tstate to function calls

2019-11-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 51edf8aaa2e17626f9690ed29d25945fc03016b9 by Victor Stinner in branch 'master': bpo-38644: Cleanup ceval.h (GH-17185) https://github.com/python/cpython/commit/51edf8aaa2e17626f9690ed29d25945fc03016b9 --

[issue37083] Document TYPE_COMMENT in documentation reference for compound statements

2019-11-15 Thread Batuhan
Batuhan added the comment: @pablogsal, PR 13202 is merged -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue38818] Modify PyInterpreterState.eval_frame to pass tstate (PyThreadState)

2019-11-15 Thread STINNER Victor
New submission from STINNER Victor : Follow-up of bpo-36710 and bpo-38644: I would like to pass explicitly tstate (PyThreadState) to internal C functions. The problem is that PyInterpreterState.eval_frame function has no tstate parameter. I propose attached PR to add a tstate parameter. It's

[issue33740] PyByteArray_AsString C-API description lacks the assurance, that the trailing null-byte is appended.

2019-11-15 Thread Batuhan
Batuhan added the comment: IMHO there is no need/way for adding that clarification after this date (1.5 months left). -- nosy: +BTaskaya, benjamin.peterson ___ Python tracker ___

[issue38765] `ast.AST._attributes` is used by `ast.dump()` but not documented

2019-11-15 Thread Pekka Klärck
Pekka Klärck added the comment: I know attributes starting with an underscore are typically considered private, but the already mentioned `_fields` clearly isn't and, for example, `namedtuple` has several methods like `_asdict()` and `_replace()` that are documented to be part of the public A

[issue38818] Modify PyInterpreterState.eval_frame to pass tstate (PyThreadState)

2019-11-15 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +16694 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17187 ___ Python tracker ___ _

[issue38453] ntpath.realpath() does not fully resolve relative paths

2019-11-15 Thread miss-islington
miss-islington added the comment: New changeset 6f602fbd3568ed7bebadfa3c7d3de40a271216f9 by Miss Islington (bot) in branch '3.8': bpo-38453: Ensure correct short path is obtained for test (GH-17184) https://github.com/python/cpython/commit/6f602fbd3568ed7bebadfa3c7d3de40a271216f9 --

[issue26011] Document necesities for cmp argument of sorted

2019-11-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue30463] Add __slots__ to ABC convenience class

2019-11-15 Thread Chris Withers
Chris Withers added the comment: I will note that this means with: class BaseClass(ABC): pass class MyDerivedClass(BaseClass): def __init__(self, thing): self.thing = thing thing = MyDerivedClass() thing now has both __slots__ and, evidently, a dict. That's a bit weird and

[issue34979] Python throws “SyntaxError: Non-UTF-8 code start with \xe8...” when parse source file

2019-11-15 Thread susaki
susaki added the comment: I think this issue is duplicated with #14811, I will close it. The key point of this issue is that the size of `tok->buf` is fixed and equals to `BUFSIZ`(defined in stdio.h, have different value depends on OS). one line of code will be truncated If it’s size exceeds `

[issue38819] The redirect

2019-11-15 Thread Alex
New submission from Alex <2423067...@qq.com>: Hi. This bug I've found is about the redirect, you know, to redirect the standard input/output stream. It's not really a bug, you can think of it as a feature. The code is like this: import sys sys.stdout = open('redirect.txt','w') print('hello wo

[issue38814] Python3.7.5 crashes on OSX with my django project

2019-11-15 Thread Ned Deily
Ned Deily added the comment: Sorry but with a non-debug build of Python, it's not very likely someone would be able to glean much from the macOS crash stack trace here. You also seem to have a very large number of C extension modules, some apparently from Homebrew and others from other sou

[issue38819] The redirect

2019-11-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: If your goal is to temporarily redirect stdout, there are a couple ways to do it: with open('dest1.txt', 'w') as target_file: print('hello world', file=target_file) or: with open('dest1.txt', 'w') as target_file: with contextlib.r

[issue38819] The redirect

2019-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you do the same in the standard python REPL, you get the same result. So this behavior is not specific to IDLE, although one has to be slightly more careful restoring sys.stdout in IDLE. (Restoring stdout from saved stdout should work the same without o

<    1   2