[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2020-01-01 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2020-01-01 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 0e0e4acaabdcf8efb60cf75f08301022ac4422a4 by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (GH-17773) (GH-17786) https://github.com/python/cpython/commit/0e0e4acaabdcf8efb60

[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2020-01-01 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 1d5a7e5694bd9104f56f4f28357c2d13afd58a29 by Vinay Sajip (Miss Islington (bot)) in branch '3.8': bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (GH-17773) (GH-17785) https://github.com/python/cpython/commit/1d5a7e5694bd9104f56

[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2020-01-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +17217 pull_request: https://github.com/python/cpython/pull/17785 ___ Python tracker ___ __

[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2020-01-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +17218 pull_request: https://github.com/python/cpython/pull/17786 ___ Python tracker ___ __

[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2020-01-01 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 46abfc1416ff8e450999611ef8f231ff871ab133 by Vinay Sajip in branch 'master': bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (GH-17773) https://github.com/python/cpython/commit/46abfc1416ff8e450999611ef8f231ff871ab133

[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2019-12-31 Thread Vinay Sajip
Change by Vinay Sajip : -- versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2019-12-31 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +17206 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17773 ___ Python tracker ___

[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2019-12-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the details. Attached is a complete script. Looking at the source code, anything that looks like a tuple is converted into a tuple. namedtuple produces factory function that itself is a subclass of tuple. It led me to this interesting is

[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2019-12-28 Thread Henrique
Henrique added the comment: Sorry for not sending a proper reproducible script when submitting the issue. End of the day and quite frustrated with the bug, anyway, I attached a full script that will show the error. This is the custom handler I used: class MyHandler(logging.StreamHandler):

[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2019-12-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Can you please attach a sample script with the handler used to illustrate the issue? -- nosy: +vinay.sajip, xtreak ___ Python tracker _

[issue39142] logging.config.dictConfig will convert namedtuple to ConvertingTuple

2019-12-27 Thread Henrique
New submission from Henrique : While passing { "version": 1, "disable_existing_loggers": False, "formatters": { "verbose": {"format": "%(levelname)s %(asctime)s %(module)s %(message)s"} }, "handlers": { "stackdriver": { "class": "google.cloud.log