[issue44475] Dataclass Causes Infinite Recursion when using type of bytes

2021-06-21 Thread Andrew C
New submission from Andrew C : Hello, When given a `Field` on a Dataclass, the `__repr__` throws an infinite recursive error when the data type is bytes. In the `Field` class, the __repr__ is as follows: ``` def __repr__(self): return ( 'Field(' f'name

[issue43109] When using Apple Clang, --with-lto builds should not check for llvm-ar

2021-02-02 Thread Andrew C. Morrow
New submission from Andrew C. Morrow : When building with `--with-lto`, an explicit check for `llvm-ar` is performed as part of the configure step. However, Apple does not ship `llvm-ar` as part of Xcode, so when building with Apple Clang this check fails and prevents using `--with-lto

[issue42989] Bug

2021-01-21 Thread Andrew C
New submission from Andrew C : if playerChoice == "2": reports the ":" as a "syntax error" -- components: Windows messages: 385427 nosy: ASCRong, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Bug type:

[issue35111] Make Custom Object Classes JSON Serializable

2018-10-31 Thread andrew c
andrew c added the comment: Bob, I understand what you are saying, but having a built-in is way easier than encoder/decoders. You can still have both actually. Even if you didn't have two way, a one way would be amazingly helpful. For large development systems, a __json__ method would

[issue35111] Make Custom Object Classes JSON Serializable

2018-10-30 Thread andrew c
New submission from andrew c : When creating a custom class that doesn't inherit from the accepted classes, there is no way to serialize it using json.dumps or json.dump. I propose that __fromjson__ and __tojson__ that when present will be used by the Python's default encoder. This issue

[issue3353] make built-in tokenizer available via Python C API

2014-06-22 Thread Andrew C
Andrew C added the comment: The previously posted patch has become outdated due to signature changes staring with revision 89f4293 on Nov 12, 2009. Attached is an updated patch. Can it also be confirmed what are the outstanding items for this patch to be applied? Based on the previous logs

[issue3353] make built-in tokenizer available via Python C API

2014-06-22 Thread Andrew C
Changes by Andrew C andrew.carr...@gmail.com: Added file: http://bugs.python.org/file35730/82706ea73ada.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3353