[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-24 Thread miss-islington
miss-islington added the comment: New changeset 29aa8085e95e106f4b9e312169d4af87e9b5e3e2 by Miss Islington (bot) in branch '3.9': bpo-41094: Additional fix for PYTHONSTARTUP. (GH-21119) https://github.com/python/cpython/commit/29aa8085e95e106f4b9e312169d4af87e9b5e3e2 -- ___

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-24 Thread miss-islington
miss-islington added the comment: New changeset 1dda40c1d2681a8f03a567b72698d88ced6bbd6c by Miss Islington (bot) in branch '3.8': bpo-41094: Additional fix for PYTHONSTARTUP. (GH-21119) https://github.com/python/cpython/commit/1dda40c1d2681a8f03a567b72698d88ced6bbd6c -- ___

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +20288 pull_request: https://github.com/python/cpython/pull/21125 ___ Python tracker ___ __

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +20287 pull_request: https://github.com/python/cpython/pull/21124 ___ Python tracker ___ __

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a7dc71470156680f1fd5243290c6d377824b7ef4 by Serhiy Storchaka in branch 'master': bpo-41094: Additional fix for PYTHONSTARTUP. (GH-21119) https://github.com/python/cpython/commit/a7dc71470156680f1fd5243290c6d377824b7ef4 -- __

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-24 Thread miss-islington
miss-islington added the comment: New changeset 1813d318fd4e517042415fa4f59fe8668c17a235 by Miss Islington (bot) in branch '3.8': bpo-41094: Fix decoding errors with audit when open files. (GH-21095) https://github.com/python/cpython/commit/1813d318fd4e517042415fa4f59fe8668c17a235 -

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-24 Thread miss-islington
miss-islington added the comment: New changeset 7329c8c7a263015c5dae04fc9fb7ec9d58508c76 by Miss Islington (bot) in branch '3.9': bpo-41094: Fix decoding errors with audit when open files. (GH-21095) https://github.com/python/cpython/commit/7329c8c7a263015c5dae04fc9fb7ec9d58508c76 -

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +20284 pull_request: https://github.com/python/cpython/pull/21121 ___ Python tracker ___ __

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +20283 pull_request: https://github.com/python/cpython/pull/21120 ___ Python tracker ___ __

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +20282 pull_request: https://github.com/python/cpython/pull/21119 ___ Python tracker ___

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The problem is that they pass successfully on my local Windows, but fail on CI. -- ___ Python tracker ___ _

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I made a mistake in tests (they do not test with non-ASCII data), but fixed tests fail on Windows. -- ___ Python tracker ___ _

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread miss-islington
Change by miss-islington : -- pull_requests: +20275 pull_request: https://github.com/python/cpython/pull/21108 ___ Python tracker ___ __

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +20274 pull_request: https://github.com/python/cpython/pull/21107 ___ Python tracker _

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6c6810d98979add7a89391c3c38990d0859f7a29 by Serhiy Storchaka in branch 'master': bpo-41094: Fix decoding errors with audit when open files. (GH-21095) https://github.com/python/cpython/commit/6c6810d98979add7a89391c3c38990d0859f7a29

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Steve Dower
Steve Dower added the comment: SGTM. Thanks for the PR! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +20262 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21095 ___ Python tracker ___

[issue41094] Audit does not work with non-ASCII data on non-UTF-8 locale

2020-06-23 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : There are issues with using PySys_Audit() with non-ASCII data on non-UTF-8 locale. One example is with PYTHONSTARTUP. In pymain_run_startup() in Modules/main.c the value of the PYTHONSTARTUP environment variable is passed to PySys_Audit() as UTF-8 encod