[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Arka
Arka added the comment: @Serhiy No, I wasn't aware of that. @R. David Murray Thank you, David. What you said, makes sense and I agree with you. -- ___ Python tracker ___ ___

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread R. David Murray
R. David Murray added the comment: That was kind of an abrupt message, let me be more verbose: thank you for wanting to improve python, but as Serhiy pointed out we already solved the problem you are considering via PEP 519. In addition to that we consider str(x) to be the right way to get t

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread R. David Murray
R. David Murray added the comment: This would not be a pythonic API. -- nosy: +r.david.murray resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Arka
Arka added the comment: @matrixise Because the bots were saying, 'skip news', 'skip issue' labels are not found. -- ___ Python tracker ___

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Arka
Change by Arka : -- keywords: +patch pull_requests: +5411 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are you aware of PEP 519? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: and currently for the feature, the PR should be based on master and not 3.5 or 3.6. because these branch are only for the security and bugfix modes. Read the devguide at this url: https://devguide.python.org/#status-of-python-branches -- versions: +

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have seen your PR, why did you close it? -- nosy: +matrixise ___ Python tracker ___ ___ Python-

[issue32807] Add 'str' property to PathLib

2018-02-09 Thread Arka
New submission from Arka : Add 'str' property to PurePath in PathLib that calls __str__ function and returns the string representation of the path. It is easier to use than str(Path). Many existing methods accept only strings as a path. -- components: +Library (Lib) title: Add -> Add '