[issue28308] Accelerate 'string'.format(value, ...) by using formatted string literals

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

[issue34822] Simplify AST for slices

2020-02-14 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Serhiy, any plans to bump this patch to 3.9 and continue / merge? In general the benefits looks great, but on the other hand this might cause some breakage which I guess as @nascheme is OK in AST. -- nosy: +BTaskaya, pablogsal

[issue38131] compile(mode='eval') uninformative error message

2020-02-14 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +benjamin.peterson, pablogsal ___ Python tracker <https://bugs.python.org/issue38131> ___ ___ Python-bugs-list mailin

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

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

[issue39159] Ideas for making ast.literal_eval() usable

2020-02-14 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > 1) We should document possible exceptions that need to be caught. So far, > I've found TypeError, MemoryError, SyntaxError, ValueError. Also, an addition to these errors is RecursionError >>> t = ast.Tuple(elts=[], ctx=ast.Load())

[issue39537] Change line number table format

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

[issue39638] Keep ASDL signatures for AST nodes

2020-02-15 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : It would be super convenient to keep ASDL declarations in AST nodes. There are multiple benefits of it; 1 -> When debugging or playing with the AST, time to time you may require to know what kind of things a field gets or is that field an optional

[issue39639] Remote Suite node from AST

2020-02-15 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : AST is containing a node from past that is explained as "not really an actual node but useful in Jython's typesystem.". There is no usage of it anywhere in the CPython repo, just some code in ast_optimizer, symbol table and compiler to

[issue39639] Remove Suite node from AST

2020-02-15 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- priority: normal -> low title: Remote Suite node from AST -> Remove Suite node from AST ___ Python tracker <https://bugs.python.org/i

[issue39639] Remove Suite node from AST

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

[issue39638] Keep ASDL signatures for AST nodes

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

[issue39654] pyclbr: remove old references to class browser & add explain readmodule

2020-02-16 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : This is something revealed during issue 39411. As @terry.reedy commented pyclbr's scope is extended to functions and classes instead of just classes. -- nosy: +BTaskaya, terry.reedy ___ Python tracker &

[issue39686] add dump_json to ast module

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

[issue39686] add dump_json to ast module

2020-02-19 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > The proposed enhancement would provide a complementary function, `dump_json` > as in a json representation of the ast. IMHO this is not a feature that has a general usage. If you want, as far as I can see, there are some packages for doing that i

[issue39715] Implement __repr__ methods for AST classes

2020-02-21 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: What kind of repr do you have in your mind? If the repr you are thinking contains field information, it would be no-go. Fields of AST objects can contain other objects and fields of that objects can contain more objects (this goes up to the recursion limit

[issue20291] Argument Clinic should understand *args and **kwargs parameters

2020-02-24 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch nosy: +BTaskaya nosy_count: 9.0 -> 10.0 pull_requests: +18009 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18609 ___ Python tracker <https://bugs.p

[issue39741] Argument Clinic name conflict

2020-02-24 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : Argument clinic uses some extra variables (like args, or noptargs, nargs etc.) for parsing. But there is a catch about these names, the generated code becomes wrong if there are any usages of them inside the signature. Encountered with this problem while

[issue39741] Argument Clinic name conflict

2020-02-24 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: After preparing the patch and transforming all arguments with a __clinic_ prefix, I saw there are some actions that are taken by relying on the parser code. An example; https://github.com/python/cpython/blob/8af4712a16e4b7d1b60f1faec13cd7a88da95f6a/Objects

[issue39784] Tuple comprehension

2020-02-28 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: This change needs to be discussed first on Python-ideas, and ideally needs a PEP (and a sponsor). So you should post it on Python-ideas mailing list or discuss.python.org Ideas section. -- nosy: +Batuhan Taskaya

[issue39784] Tuple comprehension

2020-02-28 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: This change needs to be discussed first on Python-ideas, and ideally needs a PEP (and a sponsor). So you should post it on Python-ideas mailing list or discuss.python.org Ideas section. -- nosy: +BTaskaya

[issue39784] Tuple comprehension

2020-02-28 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- Removed message: https://bugs.python.org/msg362898 ___ Python tracker <https://bugs.python.org/issue39784> ___ ___ Python-bug

[issue39793] make_msgid fail on FreeBSD 12.1-RELEASE-p1 with different domains

2020-02-29 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : $ ./python -m test test_email 0:00:00 load avg: 0.25 Run tests sequentially 0:00:00 load avg: 0.25 [1/1] test_email test test_email failed -- Traceback (most recent call last): File "/usr/home/isidentical/cpython/Lib/test/test_email/test_email.py&q

[issue39793] make_msgid fail on FreeBSD 12.1-RELEASE-p1 with different domains

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

[issue39798] Update and Improve README.AIX

2020-02-29 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : I was building python on AIX but the old README.AIX file didn't help much. It would be super cool to someone who is familiar with AIX update and improve that file with all new additions and current issues about AIX. -- components: Build mes

[issue38527] configure script fails to detect "float word ordering" on Solaris

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

[issue39793] make_msgid fail on FreeBSD 12.1-RELEASE-p1 with different domains

2020-02-29 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > but that sure looks like a broken system. These are all aliases to the same name. -- ___ Python tracker <https://bugs.python.org/issu

[issue39740] Select module fails to build on Solaris 11.4

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

[issue39802] Ensure {get, set}_escdelay and {get, set}_tabsize only implemented when the extensions are activated

2020-02-29 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : Python can't build curses on Solaris because of extensions aren't activated /export/home/isidentical/cpython/Modules/_cursesmodule.c: In function ‘_curses_get_escdelay_impl’: /export/home/isidentical/cpython/Modules/_cursesmodule.c:3272

[issue39802] Ensure {get, set}_escdelay and {get, set}_tabsize only implemented when the extensions are activated

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

[issue39802] Ensure {get, set}_escdelay and {get, set}_tabsize only implemented when the extensions are activated

2020-02-29 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +jcea versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue39802> ___ ___ Python-bugs-list mailin

[issue38870] Expose ast.unparse in the ast module

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

[issue35632] support unparse for Suite ast

2020-03-04 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I just removed Suite node in GH-18513, so I guess this can be closed. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue39854] f-strings with format specifiers have wrong col_offset

2020-03-04 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: This looks like a duplicate of issue 35212 -- nosy: +BTaskaya, pablogsal ___ Python tracker <https://bugs.python.org/issue39

[issue39520] AST Unparser can't unparse ext slices correctly

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

[issue39760] ast.FormattedValue.format_spec unnecessarily wrapped in JoinedStr

2020-03-04 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya versions: +Python 3.9 -Python 3.8 ___ Python tracker <https://bugs.python.org/issue39760> ___ ___ Python-bug

[issue34822] Simplify AST for slices

2020-03-07 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Yes, there is an already PR about that the bug. Related PR: https://github.com/python/cpython/pull/17892 -- ___ Python tracker <https://bugs.python.org/issue34

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

2020-03-08 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Related issue: issue 39638 -- ___ Python tracker <https://bugs.python.org/issue36287> ___ ___ Python-bugs-list mailin

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

2020-03-08 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > It is not so easy for fields like "type_ignores". They are mutable lists, so > this approach cannot be applied to them. What about keeping ASDL signatures in the nodes (). If we know the type of a field (can be parsed in runtime) we can i

[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:

<    1   2   3   4   5   6   7   8   9   >