-
Notifications
You must be signed in to change notification settings - Fork 1
Modes for IO::Handle.open need clarification #6189
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
Comments
From @usev6Some of the newly added tests for IO::Handle.open with different Just now I found rakudo/rakudo@36f773eb01 :append was not meant as a synonym for :a :ra was not meant to stand for "read + append" :r, :a was not meant to stand for "read + append" The first one surprised me the most. But indeed :a and :append work $ rm -f foo 2>/dev/null; ./perl6-m -e '"foo".IO.open(:a)'; ls -s foo $ rm -f foo 2>/dev/null; ./perl6-m -e '"foo".IO.open(:append)'; ls -s foo Actually thrown at: ls: foo: No such file or directory What poses a problem for rakudo-j is, that :append and :create IMHO a clarification is needed. If we want the additional modes as * define that :append and :create always imply "write" * change the implementation for the JVM backend so that the newly * expand the documentation of "open" See also the discussion on #perl6-dev: |
From @usev6On Thu, 13 Apr 2017 12:21:57 -0700, bartolin@gmx.de wrote:
That was done by Zoffix++ with Raku/doc@ca2a3a0bfb |
@usev6 - Status changed from 'new' to 'open' |
From @usev6On Thu, 13 Apr 2017 12:21:57 -0700, bartolin@gmx.de wrote:
That was also done by Zoffix++ -- mainly with Raku/roast@091931a717 |
From @usev6On Sat, 10 Mar 2018 11:40:24 -0800, bartolin@gmx.de wrote:
Sorry, that comment wasn't clear. What I meant was, that the different open modes were specced in S32-io/open.t with said commit. |
From @usev6On Thu, 13 Apr 2017 12:21:57 -0700, bartolin@gmx.de wrote:
The tests for open modes are passing now on the JVM backend. I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#131145 (status was 'resolved')
Searchable as RT131145$
The text was updated successfully, but these errors were encountered: