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
LTA IO::Handle.encoding can have a value, but no valid decoder is setup #2039
Comments
Blocked by R#2039 rakudo/rakudo#2039 as without explicitly calling .encoding on handle creation the character read/write methods explode.
Spec[^1] blocked by R#2039 rakudo/rakudo#2039 [^1] Raku/roast@3cefe0dc59
…before we assume no work is needed. This likely won't be needed when R#2039 #2039 is fixed to setup the decoder right when encoding is set on creation.
Per 6.d-prep list[^1], these are now named .WRITE/.READ/.EOF. The spec[^2] for these is currently blocked by R#2039 #2039 [^1] https://github.com/perl6/6.d-prep/blob/master/TODO/FEATURES.md#spec-iohandles-write-internal-read-internal-eof-internal [^2] Raku/roast@3cefe0dc59
…before we assume no work is needed. This likely won't be needed when R#2039 #2039 is fixed to setup the decoder right when encoding is set on creation.
|
Tried fixing it by setting up the encoder in A correcter approach might be to not set any options in http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-07-11#l201 All of these issues likely apply to |
There are several indications[^1][^2][^3] that we might want to remove .new in the future entirely or at least not set up the encoding until the open call, and this test would interfere with that. [1] http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-07-11#l201 [2] rakudo/rakudo#2039 R#2039 [3] rakudo/rakudo#2049 R#2049 [4] rakudo/rakudo#2050 R#2050
There are several indications[^1][^2][^3] that we might want to restrict functionalities of unopened handles. Remove these proptests to ensure they don't interfere with that plan in the future [1] http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-07-11#l201 [2] rakudo/rakudo#2039 R#2039 [3] rakudo/rakudo#2049 R#2049 [4] rakudo/rakudo#2050 R#2050
There are several indications[^1][^2][^3] that we might want to restrict functionalities of unopened handles. Remove these proptests to ensure they don't interfere with that plan in the future [1] http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-07-11#l201 [2] rakudo/rakudo#2039 R#2039 [3] rakudo/rakudo#2049 R#2049 [4] rakudo/rakudo#2050 R#2050
We likely will want to limit what .new can take in the future. rakudo/rakudo#2039 https://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-07-11#l201
Blocked by R#2039 rakudo/rakudo#2039 as without explicitly calling .encoding on handle creation the character read/write methods explode.
There are several indications[^1][^2][^3] that we might want to remove .new in the future entirely or at least not set up the encoding until the open call, and this test would interfere with that. [1] http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-07-11#l201 [2] rakudo/rakudo#2039 R#2039 [3] rakudo/rakudo#2049 R#2049 [4] rakudo/rakudo#2050 R#2050
There are several indications[^1][^2][^3] that we might want to restrict functionalities of unopened handles. Remove these proptests to ensure they don't interfere with that plan in the future [1] http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-07-11#l201 [2] rakudo/rakudo#2039 R#2039 [3] rakudo/rakudo#2049 R#2049 [4] rakudo/rakudo#2050 R#2050
There are several indications[^1][^2][^3] that we might want to restrict functionalities of unopened handles. Remove these proptests to ensure they don't interfere with that plan in the future [1] http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-07-11#l201 [2] rakudo/rakudo#2039 R#2039 [3] rakudo/rakudo#2049 R#2049 [4] rakudo/rakudo#2050 R#2050
We likely will want to limit what .new can take in the future. rakudo/rakudo#2039 https://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-07-11#l201
http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-07-09#l155
This issue has more significance for subclasses of
IO::Handlethat might not utilize.opencalls.The text was updated successfully, but these errors were encountered: