Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue28308>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Batuhan Taskaya :
--
nosy: +benjamin.peterson, pablogsal
___
Python tracker
<https://bugs.python.org/issue38131>
___
___
Python-bugs-list mailin
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue39562>
___
___
Python-bugs-list mailing list
Unsubscribe:
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())
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue39537>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
&
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue39686>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
Change by Batuhan Taskaya :
--
Removed message: https://bugs.python.org/msg362898
___
Python tracker
<https://bugs.python.org/issue39784>
___
___
Python-bug
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
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
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
Change by Batuhan Taskaya :
--
nosy: +BTaskaya, jcea
___
Python tracker
<https://bugs.python.org/issue38527>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Batuhan Taskaya :
--
nosy: +BTaskaya, jcea
___
Python tracker
<https://bugs.python.org/issue39740>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Batuhan Taskaya :
--
nosy: +jcea
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue39802>
___
___
Python-bugs-list mailin
Change by Batuhan Taskaya :
--
pull_requests: +18126
pull_request: https://github.com/python/cpython/pull/18768
___
Python tracker
<https://bugs.python.org/issue38
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
Batuhan Taskaya added the comment:
This looks like a duplicate of issue 35212
--
nosy: +BTaskaya, pablogsal
___
Python tracker
<https://bugs.python.org/issue39
Change by Batuhan Taskaya :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
versions: +Python 3.9 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue39760>
___
___
Python-bug
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
Batuhan Taskaya added the comment:
Related issue: issue 39638
--
___
Python tracker
<https://bugs.python.org/issue36287>
___
___
Python-bugs-list mailin
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
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
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
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
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
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
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
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
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue24119>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue39965>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Batuhan Taskaya :
--
pull_requests: +18365
pull_request: https://github.com/python/cpython/pull/19016
___
Python tracker
<https://bugs.python.org/issue38
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
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
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue34882>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue37860>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
Change by Batuhan Taskaya :
--
assignee: -> BTaskaya
components: +Library (Lib)
type: -> enhancement
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/i
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
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
Batuhan Taskaya added the comment:
I see, thanks for the explanation.
--
___
Python tracker
<https://bugs.python.org/issue3>
___
___
Python-bugs-list mailin
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
Change by Batuhan Taskaya :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Batuhan Taskaya :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
Change by Batuhan Taskaya :
--
nosy: +Michael.Felt
___
Python tracker
<https://bugs.python.org/issue40069>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue40073>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
Change by Batuhan Taskaya :
--
nosy: +Batuhan Taskaya
___
Python tracker
<https://bugs.python.org/issue40089>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Batuhan Taskaya :
--
nosy: +Michael.Felt
___
Python tracker
<https://bugs.python.org/issue40096>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Change by Batuhan Taskaya :
--
pull_requests: +18574
pull_request: https://github.com/python/cpython/pull/19211
___
Python tracker
<https://bugs.python.org/issue15
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
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
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
Change by Batuhan Taskaya :
--
pull_requests: -18577
___
Python tracker
<https://bugs.python.org/issue40001>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Batuhan Taskaya :
--
nosy: -BTaskaya
___
Python tracker
<https://bugs.python.org/issue40001>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Batuhan Taskaya :
--
assignee: -> BTaskaya
___
Python tracker
<https://bugs.python.org/issue40102>
___
___
Python-bugs-list mailing list
Unsubscrib
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
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
Batuhan Taskaya added the comment:
Sending a patch that would prevent this collision.
--
___
Python tracker
<https://bugs.python.org/issue39562>
___
___
Pytho
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
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
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue37733>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Batuhan Taskaya :
--
Removed message: https://bugs.python.org/msg334467
___
Python tracker
<https://bugs.python.org/issue35815>
___
___
Python-bug
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
&
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
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
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue40141>
___
___
Python-bugs-list mailing list
Unsubscribe:
Batuhan Taskaya added the comment:
The ulimit results with infinity and this happens on the current master.
--
___
Python tracker
<https://bugs.python.org/issue40
Change by Batuhan Taskaya :
--
nosy: +BTaskaya
___
Python tracker
<https://bugs.python.org/issue40155>
___
___
Python-bugs-list mailing list
Unsubscribe:
401 - 500 of 891 matches
Mail list logo