[issue34822] Simplify AST for slices

2020-03-08 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > Sorry, I did not know about your PR Batuhan and fixed this bug in issue39889. No problem. -- ___ Python tracker <https://bugs.python.org/issu

[issue39902] dis.Bytecode objects should be comparable

2020-03-08 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : import dis >>> dis.Bytecode("print(1)") == dis.Bytecode("print(1)") False -- components: Library (Lib) messages: 363656 nosy: BTaskaya priority: normal severity: normal status: open title: dis.Bytecode objects should be

[issue39902] dis.Bytecode objects should be comparable

2020-03-08 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18206 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18849 ___ Python tracker <https://bugs.python.org/issu

[issue39902] dis.Bytecode objects should be comparable

2020-03-08 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Code objects themselves supports equality comparisons, >>> compile("print(1)", "", "eval") == compile("print(1)", "", >>> "eval") True So this patch basically compares t

[issue39922] Remove unused args in Python/compile.c

2020-03-10 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: IMHO if you are going to proceed with this kind of issues, it would be cool to create a meta issue and post updates/link PRs to it. You are creating an extra (and unnecessary) traffic in the "new bugs announce" list. -- nosy: +Batuh

[issue39936] Python fails to build _asyncio on module on AIX

2020-03-11 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I tried your patch on AIX 7.2, looks like you need to shift sys import to the top Traceback (most recent call last): File "/home/isidentical/cpython/./setup.py", line 16, in sys.modules['subprocess'] = _bootsubprocess NameErro

[issue39562] Asynchronous comprehensions don't work in asyncio REPL

2020-03-12 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18316 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18968 ___ Python tracker <https://bugs.python.org/issu

[issue24119] Carry comments with the AST

2020-03-12 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker <https://bugs.python.org/issue24119> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39360] python3.8 regression - ThreadPool join via __del__ hangs forever

2020-03-14 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch nosy: +BTaskaya nosy_count: 4.0 -> 5.0 pull_requests: +18354 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19009 ___ Python tracker <https://bugs.python.org/i

[issue39965] await is valid in non async functions if PyCF_ALLOW_TOP_LEVEL_AWAIT is set

2020-03-14 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker <https://bugs.python.org/issue39965> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38870] Expose ast.unparse in the ast module

2020-03-15 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +18365 pull_request: https://github.com/python/cpython/pull/19016 ___ Python tracker <https://bugs.python.org/issue38

[issue39969] Remove Param expression context from AST

2020-03-15 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : Param is an expression context that is no longer in use, we can simply remove it. This node predates the arguments node, and if I am not misguessing used inside of function signatures. -- components: Library (Lib) messages: 364238 nosy: BTaskaya

[issue39969] Remove Param expression context from AST

2020-03-15 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18369 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19020 ___ Python tracker <https://bugs.python.org/issu

[issue34882] f(a=1, *args) should be a SyntaxError

2020-03-15 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker <https://bugs.python.org/issue34882> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37860] Add deploy preview for docs

2020-03-15 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker <https://bugs.python.org/issue37860> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36287] Make ast.dump() not output optional default fields

2020-03-16 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: @serhiy.storchaka, with these ASDL signatures, I have a patch that would omit default values for both Nones and [] in case they are redundant. But this is a bit different than your approach so I wanted to ask what's your opinion about adding an

[issue36287] Make ast.dump() not output optional default fields

2020-03-16 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Actually I have a better solution for this (which I hope to share really soon if it works.) I think we can do default value initialization for both Nones (with your patch) and lists, it requires a bit of extra work but I think I can do it

[issue39981] Default values for AST Nodes

2020-03-16 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : For omitting some defaults, @serhiy.storchaka already added support to initialize some ast nodes with some default values (optional fields). An example; >>> ast.Constant().kind is None True This isn't exactly a default value, but some

[issue39981] Default values for AST Nodes

2020-03-16 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18380 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19031 ___ Python tracker <https://bugs.python.org/issu

[issue40000] Improve AST validation for Constant nodes

2020-03-18 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : When something that isn't constant found in a ast.Constant node's body, python reports errors like this >>> e = ast.Expression(body=ast.Constant(value=type)) >>> ast.fix_missing_locations(e) <_ast.Expression object a

[issue40000] Improve AST validation for Constant nodes

2020-03-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- assignee: -> BTaskaya components: +Library (Lib) type: -> enhancement versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/i

[issue39999] Fix some issues with AST node classes

2020-03-18 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > 1. Re-add removed classes Suite, Param, AugLoad and AugStore. They are not > used in Python 3, are not created by the parser and are not accepted by the > compiler. Param was used in 2.7, other classes were not used longer time. But > some

[issue40000] Improve AST validation for Constant nodes

2020-03-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18407 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19055 ___ Python tracker <https://bugs.python.org/issu

[issue39999] Fix some issues with AST node classes

2020-03-18 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I see, thanks for the explanation. -- ___ Python tracker <https://bugs.python.org/issue3> ___ ___ Python-bugs-list mailin

[issue40000] Improve AST validation for Constant nodes

2020-03-18 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: sorry to take it Victor, maybe you can get the perfect issue number when we migrate to github? -- ___ Python tracker <https://bugs.python.org/issue40

[issue39562] Asynchronous comprehensions don't work in asyncio REPL

2020-03-19 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40000] Improve AST validation for Constant nodes

2020-03-19 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue39969] Remove Param expression context from AST

2020-03-19 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > Batuhan: You maybe want to propose a fix there. It shouldn't be hard to fix > the issue. Serhiy has an open PR about adding some dummy classes that will represent recent deletions like Suite, Param and AugStore/Load. https://github.com/pyt

[issue40069] Clear .lst files for AIX

2020-03-25 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : AIX files stay even if we run make clean on the directory, I think they should be cleared -- components: Build messages: 365026 nosy: BTaskaya, David.Edelsohn priority: normal severity: normal status: open title: Clear .lst files for AIX type

[issue40069] Clear .lst files for AIX

2020-03-25 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +Michael.Felt ___ Python tracker <https://bugs.python.org/issue40069> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40069] Clear .lst files for AIX

2020-03-25 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18528 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19169 ___ Python tracker <https://bugs.python.org/issu

[issue40069] Clear .lst files for AIX

2020-03-26 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > .lst files are not created by default (by Python configure and make). They are an artifact when I configure with xlc (CC=xlc ./configure && make -j24), and as far as I know we already have some compiler-specific clear

[issue40073] AIX: python3 points to "air"

2020-03-26 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker <https://bugs.python.org/issue40073> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40080] Stripping annotations out as a new optimization mode

2020-03-26 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : Just like docstrings, annotations do nothing at runtime for the majority of the time. We can just strip out them and gain as much as the docstring optimization in bytecode size on a fully annotated repo. For comparing these two optimizations, I

[issue40080] Stripping annotations out as a new optimization mode

2020-03-26 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: As an addition, I need to clarify that each optimization applied by its own. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40080] Stripping annotations out as a new optimization mode

2020-03-26 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > Note that dataclasses will break without annotations. Yes, that is also affecting this simple tester script. There is no alternative to value-less annotated assignment. I don't think this is preferable but just for information, these are the res

[issue40089] Add _at_fork_reinit() method to locks

2020-03-27 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +Batuhan Taskaya ___ Python tracker <https://bugs.python.org/issue40089> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40096] Support _Py_NO_RETURN on XLC

2020-03-28 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : Like clang and gcc, __attribute__(noreturn) can be used in xlc too for AIX. -- messages: 365208 nosy: BTaskaya priority: normal severity: normal status: open title: Support _Py_NO_RETURN on XLC type: enhancement versions: Python 3.9

[issue40096] Support _Py_NO_RETURN on XLC

2020-03-28 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +Michael.Felt ___ Python tracker <https://bugs.python.org/issue40096> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40096] Support _Py_NO_RETURN on XLC

2020-03-28 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18567 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19204 ___ Python tracker <https://bugs.python.org/issu

[issue15987] Provide a way to compare AST nodes for equality recursively

2020-03-28 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: The solution to hashing used in PR 14970 was just using the default hashing function which is kind of a workaround to the real problem. I now concur with your comments. Will try to draft out an `ast.compare` function. -- nosy: +BTaskaya

[issue15987] Provide a way to compare AST nodes for equality recursively

2020-03-28 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +18574 pull_request: https://github.com/python/cpython/pull/19211 ___ Python tracker <https://bugs.python.org/issue15

[issue40101] lib2to3 fails on default convert functionality

2020-03-29 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : When using driver/parser without a custom convert function (like pyconvert.convert), it tries to assign used_names to the root node, which can be anything depending on the given convert function. If none given, it will be a tuple. >>> fro

[issue40001] ignore errors in SimpleCookie

2020-03-29 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya nosy_count: 2.0 -> 3.0 pull_requests: +18577 pull_request: https://github.com/python/cpython/pull/19214 ___ Python tracker <https://bugs.python.org/issu

[issue40101] lib2to3 fails on default convert functionality

2020-03-29 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18578 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19214 ___ Python tracker <https://bugs.python.org/issu

[issue40001] ignore errors in SimpleCookie

2020-03-29 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: -18577 ___ Python tracker <https://bugs.python.org/issue40001> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40001] ignore errors in SimpleCookie

2020-03-29 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: -BTaskaya ___ Python tracker <https://bugs.python.org/issue40001> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40102] Improve XLC support for function attributes

2020-03-29 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : XLC supports visibility, deprecated and aligned attributes (can be seen in this language reference https://www.ibm.com/support/pages/sites/default/files/support/swg/swgdocs.nsf/0/18b50c3c2309a37585257daf004d373e/%24FILE/langref.pdf) -- messages

[issue40102] Improve XLC support for function attributes

2020-03-29 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- assignee: -> BTaskaya ___ Python tracker <https://bugs.python.org/issue40102> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue40102] Improve XLC support for function attributes

2020-03-29 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18579 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19215 ___ Python tracker <https://bugs.python.org/issu

[issue39562] Asynchronous comprehensions don't work in asyncio REPL

2020-03-30 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Both PyCF_ALLOW_TOP_LEVEL_AWAIT and CO_FUTURE_DIVISION has same value. -- ___ Python tracker <https://bugs.python.org/issue39

[issue39562] Asynchronous comprehensions don't work in asyncio REPL

2020-03-30 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Sending a patch that would prevent this collision. -- ___ Python tracker <https://bugs.python.org/issue39562> ___ ___ Pytho

[issue39562] Asynchronous comprehensions don't work in asyncio REPL

2020-03-30 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +18590 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/19230 ___ Python tracker <https://bugs.python.org/issu

[issue37009] Threading and THREAD_SAFE for AIX

2020-03-30 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > this patch assures that the define is added to BASECFLAGS for AIX - and will > not be forgotten during builds. @Micheal.Felt I can't see an attached patch or PR, FYI. -- nosy: +BTaskaya ___ Pyt

[issue37733] Fail to build _curses module of Python 3.7.4 on AIX 7.1 using gcc

2020-03-31 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker <https://bugs.python.org/issue37733> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35815] Able to instantiate a subclass with abstract methods from __init_subclass__ of the ABC

2020-03-31 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- Removed message: https://bugs.python.org/msg334467 ___ Python tracker <https://bugs.python.org/issue35815> ___ ___ Python-bug

[issue35815] Able to instantiate a subclass with abstract methods from __init_subclass__ of the ABC

2020-03-31 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: __init_subclass__ is called way before (in the type_new, when type is in the process of getting created) the object's __new__ (object_new) (which raises that TypeError). -- ___ Python tracker &

[issue39740] Select module fails to build on Solaris 11.4

2020-04-01 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18638 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19281 ___ Python tracker <https://bugs.python.org/issu

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-01 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : test_builting works on serial run 0:00:00 load avg: 2.38 Run tests sequentially 0:00:00 load avg: 2.38 [1/1] test_builtin == Tests result: SUCCESS == 1 test OK. Total duration: 1.3 sec Tests result: SUCCESS but with more then one processes, it crashes

[issue40141] Add line and column information for keywords in the AST

2020-04-01 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker <https://bugs.python.org/issue40141> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: The ulimit results with infinity and this happens on the current master. -- ___ Python tracker <https://bugs.python.org/issue40

[issue40155] AIX: test_builtin.test_input_no_stdout_fileno() hangs

2020-04-02 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker <https://bugs.python.org/issue40155> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > I am understanding "crashing" as "segfaulting" "crashing" as in the test result but not segfaulting 0:00:00 load avg: 1.71 Run tests in parallel using 2 child processes 0:00:01 load avg: 1.70 [1/1/1] t

[issue40094] Add os.waitstatus_to_exitcode() function

2020-04-02 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker <https://bugs.python.org/issue40094> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: isidentical@gcc-solaris11:~$ cpython/python Python 3.9.0a5+ (heads/master:98ff332, Apr 2 2020, 01:20:22) [GCC 5.5.0] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> im

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I tested with both PR 19312 and PR 19308 and I still have the same crash 0:00:00 load avg: 0.80 Run tests in parallel using 2 child processes 0:00:01 load avg: 0.79 [1/1/1] test_builtin crashed (Exit code -1

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: isidentical@gcc-solaris11:~/cpython$ ./python -m test test_builtin -m test_input_no_stdout_fileno -F -j10 -v == CPython 3.9.0a5+ (heads/master:dc4e965, Apr 2 2020, 23:53:26) [GCC 5.5.0] == Solaris-2.11-sun4u-sparc-32bit big-endian == cwd: /export/home

[issue35455] Solaris thread_time doesn't work with current implementation

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: This issue is still valid under other solaris/sunos versions. @kulikjak are you still interested in resolving this issue? -- nosy: +BTaskaya resolution: not a bug -> status: closed -> open versions: +Pyth

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Victor, PR 19314 works perfectly. -- ___ Python tracker <https://bugs.python.org/issue40140> ___ ___ Python-bugs-list mailin

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > There is no more Solaris buildbot. Solaris 11.4 will be likely the last > release: Oracle no longer supports Solaris. Well, if needed I can create one but looks like it is going be an obsoleted OS

[issue40165] Hide stderror from the user if command failes

2020-04-02 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : This is an optional test that would only run if stty size returns a valid output, but if errors I dont think it makes sense to just print that error inside of test logs, there is already a noticement for skipped test. -- components: Tests

[issue40165] Hide stderror from the user if command failes

2020-04-02 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18690 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19325 ___ Python tracker <https://bugs.python.org/issu

[issue40176] unterminated string literal tokenization error messages could be better

2020-04-03 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch nosy: +BTaskaya nosy_count: 1.0 -> 2.0 pull_requests: +18710 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19346 ___ Python tracker <https://bugs.python.org/i

[issue40176] unterminated string literal tokenization error messages could be better

2020-04-04 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: >>> message = "sadsa File "", line 1 message = "sadsa ^ SyntaxError: unterminated double quote -- ___ Python tracker <ht

[issue40180] isinstance(cls_with_metaclass, non_type) raises KeyError

2020-04-04 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: What would you expect in this case? Objects/abstract.c:2429 is where the isinstance code. If only returning False would be enough, something like this (untested) would be enough --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -2436,6 +2436,10

[issue40184] Compiler warnings under sparc64

2020-04-04 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : gcc -pthread -c -Wno-unused-result -Wsign-compare -g -Og -Wall-std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include

[issue40184] Compiler warnings under sparc64

2020-04-04 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18731 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19369 ___ Python tracker <https://bugs.python.org/issu

[issue40186] test_notify_all hangs forever in sparc64

2020-04-04 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : isidentical@gcc202:~/cpython$ ./python -m test test_multiprocessing_fork -m test_notify_all -v == CPython 3.9.0a5+ (heads/bpo-40184:b2504dfd51, Apr 4 2020, 23:55:00) [GCC 9.3.0] == Linux-5.4.0-4-sparc64-smp-sparc64-with-glibc2.31 big-endian == cwd: /home

[issue40186] test_notify_all hangs forever in sparc64

2020-04-04 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: This behavior looks random, for 10 run it hangs 2 times. -- ___ Python tracker <https://bugs.python.org/issue40186> ___ ___

[issue36630] failure of test_colors_funcs in test_curses with ncurses 6.1

2020-04-04 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker <https://bugs.python.org/issue36630> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40190] Add support for _SC_AIX_REALMEM in posix.sysconf

2020-04-04 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : We already have support for linux alternatives of this (PHYS_PAGES * PAGESIZE), it would good to add AIX_REALMEM to sysconf for AIX. -- components: Library (Lib) messages: 365804 nosy: BTaskaya priority: normal severity: normal status: open title

[issue40190] Add support for _SC_AIX_REALMEM in posix.sysconf

2020-04-04 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18742 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19380 ___ Python tracker <https://bugs.python.org/issu

[issue40188] Azure Pipelines jobs failing randomly with: Unable to connect to azure.archive.ubuntu.com

2020-04-04 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch nosy: +BTaskaya nosy_count: 2.0 -> 3.0 pull_requests: +18743 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19380 ___ Python tracker <https://bugs.python.org/i

[issue40188] Azure Pipelines jobs failing randomly with: Unable to connect to azure.archive.ubuntu.com

2020-04-04 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: -patch stage: patch review -> ___ Python tracker <https://bugs.python.org/issue40188> ___ ___ Python-bugs-list mai

[issue40192] time.thread_time isn't outputting in nanoseconds in AIX

2020-04-04 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : The resolution for thread_time is really low on AIX, but fortunately there is a way to get thread time in nanoseconds with thread_cputime. -bash-4.4$ ./python Python 3.9.0a5+ (heads/master:909f4a3, Apr 4 2020, 20:15:24) [C] on aix Type "help",

[issue40192] time.thread_time isn't outputting in nanoseconds in AIX

2020-04-04 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18744 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19381 ___ Python tracker <https://bugs.python.org/issu

[issue40192] time.thread_time isn't outputting in nanoseconds in AIX

2020-04-04 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +belopolsky, p-ganssle ___ Python tracker <https://bugs.python.org/issue40192> ___ ___ Python-bugs-list mailing list Unsub

[issue40193] thread.get_native_id() support for solaris

2020-04-04 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : Solaris supports accessing the native id of thread via pthread_self() https://docs.oracle.com/cd/E19455-01/806-5257/6je9h032i/index.html#tlib-89129 -- messages: 365808 nosy: BTaskaya priority: normal severity: normal status: open title

[issue40193] thread.get_native_id() support for solaris

2020-04-04 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Looks like neither pthread_self nor thr_self gives the native id. Closing the issue... -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <https://bug

[issue40200] count 0 crash

2020-04-05 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Closing issue since it is not a bug, at least a bug of python itself. Feel free to post any questions to python-list mailing list. https://mail.python.org/mailman/listinfo/python-list -- nosy: +BTaskaya resolution: -> not a bug stage: -> re

[issue40207] Expose NCURSES_EXT_FUNCS under curses

2020-04-06 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : NCURSES_EXT_FUNCS defines the extension version number which is needed to determine if certain functions exist or not. -- components: Library (Lib) messages: 365866 nosy: BTaskaya priority: normal severity: normal status: open title: Expose

[issue40207] Expose NCURSES_EXT_FUNCS under curses

2020-04-06 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18755 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19392 ___ Python tracker <https://bugs.python.org/issu

[issue40208] Remove deprecated SymbolTable.has_exec

2020-04-06 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : SymbolTable's has_exec method deprecated 14 years ago (2006) with 2def557aba1aaa42b638f9bf95624b7e6929191c, it can be safely removed since there is no user of it. -- components: Library (Lib) messages: 365874 nosy: BTaskaya priority: n

[issue40208] Remove deprecated SymbolTable.has_exec

2020-04-06 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18758 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19396 ___ Python tracker <https://bugs.python.org/issu

[issue40211] Clarify preadv and pwritev is supported AIX 7.1 and newer.

2020-04-06 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : preadv and pwritev are supported on AIX 7.1 and newer, it would be good to clarify this in the documentation. -- assignee: docs@python components: Documentation messages: 365880 nosy: BTaskaya, docs@python, pablogsal priority: normal severity

[issue40211] Clarify preadv and pwritev is supported AIX 7.1 and newer.

2020-04-06 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18762 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19401 ___ Python tracker <https://bugs.python.org/issu

[issue39562] Asynchronous comprehensions don't work in asyncio REPL

2020-04-06 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: #define IS_COMPILER_FLAG_ENABLED(c, flag) printf("%s: %d\n", #flag, c->c_flags->cf_flags & flag) > If CO_FUTURE_DIVISION conflicts with PyCF_ALLOW_TOP_LEVEL_AWAIT, does not > CO_ITERABLE_COROUTINE conflict with PyCF_SOURCE_IS_UTF8

[issue40212] Re-enable posix_fallocate and posix_fadvise on AIX

2020-04-06 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : fallocate and fadvise was problematic in AIX because of a bug that presents at the time of 2014, which looks like resolved in 2016. I think we can safely re-enable those functions back. I've tested this patch on AIX 7.2 and it works, this patch will

[issue40212] Re-enable posix_fallocate and posix_fadvise on AIX

2020-04-06 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18765 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19403 ___ Python tracker <https://bugs.python.org/issu

[issue40212] Re-enable posix_fallocate and posix_fadvise on AIX

2020-04-06 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +Michael.Felt ___ Python tracker <https://bugs.python.org/issue40212> ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2   3   4   5   6   7   >