[issue34805] Explicitly specify `MyClass.__subclasses__()` returns classes in definition order

2019-09-13 Thread Luna Chen
Luna Chen added the comment: Yes I am! :) Should I start looking into this? -- ___ Python tracker <https://bugs.python.org/issue34805> ___ ___ Python-bugs-list m

[issue35509] Unable to inherit from logging.Formatter

2018-12-18 Thread Luna Chen
Luna Chen added the comment: Hi Chih-Hsuan Yen, I have noticed in your `__init__` method, you have `super().__init__(self)`, I'm just wondering if the `self` argument is intentional, as the `Foo` object is to become the format itself? Because inheritance seems to work fine for me

[issue35509] Unable to inherit from logging.Formatter

2018-12-18 Thread Luna Chen
Luna Chen added the comment: Hi Chih-Hsuan Yen, I will check this out and let you know the outcome. Thanks! :) -- ___ Python tracker <https://bugs.python.org/issue35

[issue16516] argparse types (and actions) must be hashable

2018-12-01 Thread Luna Chen
Luna Chen added the comment: Hi bradengroom, I have reviewed your PR, it's just a small thing! If you could update your PR, it would be amazing! Thank you! -- nosy: +BNMetrics ___ Python tracker <https://bugs.python.org/issue16

[issue35251] FTPHandler.ftp_open documentation error

2018-11-18 Thread Luna Chen
Luna Chen added the comment: Hi there Lysandros, I'm happy to investigate into this and send a PR. I think we will need some test cases for this as well. Please let me know! :) -- nosy: +BNMetrics ___ Python tracker <https://bugs.python.

[issue34805] Explicitly specify `MyClass.__subclasses__()` returns classes in definition order

2018-11-06 Thread Luna Chen
Luna Chen added the comment: Hi Pekka Klärck, I would like to work on this issue and make a PR if you haven't done it yet. Thanks!:) -- nosy: +BNMetrics ___ Python tracker <https://bugs.python.org/issue34

[issue29341] Missing accepting path-like object in docstrings of os module functions

2018-11-02 Thread Luna Chen
Change by Luna Chen : -- pull_requests: +9608 ___ Python tracker <https://bugs.python.org/issue29341> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29341] Missing accepting path-like object in docstrings of os module functions

2018-11-02 Thread Luna Chen
Change by Luna Chen : -- pull_requests: +9607 ___ Python tracker <https://bugs.python.org/issue29341> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29341] Missing accepting path-like object in docstrings of os module functions

2018-10-25 Thread Luna Chen
Change by Luna Chen : -- keywords: +patch pull_requests: +9434 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue29341> ___ _

[issue29341] Missing accepting path-like object in docstrings of os module functions

2018-10-23 Thread Luna Chen
Luna Chen added the comment: Farhaan Bukhsh: you said you wanted to work on this but that was over a month ago, so I presume you've directed your attention elsewhere, and I'd like to give this a try. -- nosy: +BNMetrics -thatiparthy ___ Python

[issue35002] Potential bug in ConfigParser.read() in python3.6, before os.Pathlike was introduced

2018-10-16 Thread Luna Chen
Change by Luna Chen : -- resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35002] Potential bug in ConfigParser.read() in python3.6, before os.Pathlike was introduced

2018-10-16 Thread Luna Chen
Luna Chen added the comment: Hi Berker, Yes this workaround is mostly for python3.6.0. I have noticed my PR won't let me get to that version it seems. :( This bug seems to be present for python 3.5 as well. Would you recommend adding the fix to 3.5 instead or just simply close it? Thanks

[issue35002] Potential bug in ConfigParser.read() in python3.6, before os.Pathlike was introduced

2018-10-16 Thread Luna Chen
Change by Luna Chen : -- keywords: +patch pull_requests: +9274 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35002> ___ ___ Python-

[issue35002] Potential bug in ConfigParser.read() in python3.6, before os.Pathlike was introduced

2018-10-16 Thread Luna Chen
New submission from Luna Chen : In `configparser.ConfigParser.read()`, it allows us to pass in either a single filepath or a list of filepath. As python3 supports pathlib Path. We can potentially pass in a `PosixPath` to `configparser.ConfigParser.read()`, especially when passing in a list

[issue34844] logging.Formatter enhancement - Checking on style and fmt fields

2018-10-04 Thread Luna Chen
Change by Luna Chen : -- keywords: +patch pull_requests: +9088 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34844> ___ ___ Python-

[issue34844] logging.Formatter enhancement - Checking on style and fmt fields

2018-10-01 Thread Luna Chen
Luna Chen added the comment: Thank you Vinay! I think you have some good points! :) I'm going to make the following changes - re-raise the keyError into ValueError in XXXStyle.format - add validate() methods to XXXstyle class, and call them in logging.Formatter Best regards, Luna Chen

[issue34844] logging.Formatter enhancement - Checking on style and fmt fields

2018-09-29 Thread Luna Chen
Change by Luna Chen : -- title: logging.Formatter enhancement - Checking on style and -> logging.Formatter enhancement - Checking on style and fmt fields ___ Python tracker <https://bugs.python.org/issu

[issue34844] logging.Formatter enhancement - Checking on style and

2018-09-29 Thread Luna Chen
New submission from Luna Chen : Issue: Currently logging.Formatter does not check if the format passed in is valid style or if the field is valid when creating the logging.Formatter object. It would be nice to have such check in the constructor of the logging.Formatter. Here are 2 scenarios