Skip to content

Add sys.getfilesystemencoding, sys.getfilesystemencodeerrors #960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2019

Conversation

youknowone
Copy link
Member

@youknowone youknowone commented May 11, 2019

Related features: os.fsencode() os.fsdecode() (with this PR + #901)

@codecov-io
Copy link

codecov-io commented May 11, 2019

Codecov Report

Merging #960 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #960      +/-   ##
=========================================
+ Coverage   64.98%     65%   +0.01%     
=========================================
  Files          96      96              
  Lines       16755   16763       +8     
  Branches     3734    3734              
=========================================
+ Hits        10888   10896       +8     
  Misses       3348    3348              
  Partials     2519    2519
Impacted Files Coverage Δ
vm/src/sysmodule.rs 67.46% <100%> (+3.46%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f113342...3675ce8. Read the comment docs.

@youknowone youknowone force-pushed the sys-getfilesystemencode branch 3 times, most recently from 3c368c7 to 9df7ba0 Compare May 12, 2019 13:09
@windelbouwman
Copy link
Contributor

@youknowone this change looks okay to me I guess, do we really need this? Is this cpython specific logic? In any case, if you could resolve the conflict, I could merge this work.

@youknowone youknowone force-pushed the sys-getfilesystemencode branch from 9df7ba0 to 3675ce8 Compare May 29, 2019 12:21
@youknowone
Copy link
Member Author

Fixed. The behavior can be changed but the functions are defined in pep-529
https://www.python.org/dev/peps/pep-0529/

@windelbouwman windelbouwman merged commit d70caf7 into RustPython:master May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants