[issue40209] read_pyfile function refactor in Lib/test/test_unparse.py

2020-04-16 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40209] read_pyfile function refactor in Lib/test/test_unparse.py

2020-04-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6a5bf15c71a1c101c28774ae714b58e8a65b130c by Hakan Çelik in branch 'master': bpo-40209: Use tokenize.open in test_unparse (GH-19399) https://github.com/python/cpython/commit/6a5bf15c71a1c101c28774ae714b58e8a65b130c -- nosy: +pablo

[issue40209] read_pyfile function refactor in Lib/test/test_unparse.py

2020-04-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You can just use open() in binary mode. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ P

[issue40209] read_pyfile function refactor in Lib/test/test_unparse.py

2020-04-06 Thread Hakan
Change by Hakan : -- keywords: +patch pull_requests: +18761 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19399 ___ Python tracker ___ __

[issue40209] read_pyfile function refactor in Lib/test/test_unparse.py

2020-04-06 Thread Hakan
New submission from Hakan : The read_pyfile function can be written more effectively with the open function in the tokenize module. -- components: Tests messages: 365875 nosy: hakancelik priority: normal severity: normal status: open title: read_pyfile function refactor in Lib/test/tes