[svn:parrot] r48949 - in trunk: . src/dynpmc src/pmc t/pmc
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Sun Sep 12 01:05:04 UTC 2010
Author: NotFound
Date: Sun Sep 12 01:05:04 2010
New Revision: 48949
URL: https://trac.parrot.org/parrot/changeset/48949
Log:
delete deprecated mehtod is_tty in handle PMCs, TT #1689
Modified:
trunk/DEPRECATED.pod
trunk/src/dynpmc/gziphandle.pmc
trunk/src/pmc/stringhandle.pmc
trunk/t/pmc/stringhandle.t
Modified: trunk/DEPRECATED.pod
==============================================================================
--- trunk/DEPRECATED.pod Sun Sep 12 00:49:45 2010 (r48948)
+++ trunk/DEPRECATED.pod Sun Sep 12 01:05:04 2010 (r48949)
@@ -134,12 +134,6 @@
L<https://trac.parrot.org/parrot/ticket/1655>
-=item Method is_tty in PMCs derived from Handle [eligible in 2.7]
-
-Use isatty instead.
-
-L<https://trac.parrot.org/parrot/ticket/1689>
-
=item Method getpid on ParrotInterpreter [experimental]
Used to test the experimental function Parrot_getpid
Modified: trunk/src/dynpmc/gziphandle.pmc
==============================================================================
--- trunk/src/dynpmc/gziphandle.pmc Sun Sep 12 00:49:45 2010 (r48948)
+++ trunk/src/dynpmc/gziphandle.pmc Sun Sep 12 01:05:04 2010 (r48949)
@@ -216,21 +216,6 @@
/*
-=item C<METHOD is_tty()>
-
-GzipHandles are never tty's, returns false.
-
-=cut
-
-*/
- METHOD is_tty() {
- Parrot_warn_deprecated(INTERP,
- "'is_tty' is deprecated, use 'isatty' instead - TT #1689");
- RETURN(INTVAL 0);
- }
-
-/*
-
=back
=head2 Basic Methods
Modified: trunk/src/pmc/stringhandle.pmc
==============================================================================
--- trunk/src/pmc/stringhandle.pmc Sun Sep 12 00:49:45 2010 (r48948)
+++ trunk/src/pmc/stringhandle.pmc Sun Sep 12 01:05:04 2010 (r48949)
@@ -216,21 +216,6 @@
/*
-=item C<METHOD is_tty()>
-
-StringHandles are never tty's, returns false.
-
-=cut
-
-*/
- METHOD is_tty() {
- Parrot_warn_deprecated(INTERP,
- "'is_tty' is deprecated, use 'isatty' instead - TT #1689");
- RETURN(INTVAL 0);
- }
-
-/*
-
=item C<METHOD close()>
Reset some core data for the StringHandle, but don't delete the string data, as
Modified: trunk/t/pmc/stringhandle.t
==============================================================================
--- trunk/t/pmc/stringhandle.t Sun Sep 12 00:49:45 2010 (r48948)
+++ trunk/t/pmc/stringhandle.t Sun Sep 12 01:05:04 2010 (r48949)
@@ -665,15 +665,11 @@
.local int i
sh = new ['StringHandle']
- # See TT #1689
- i = sh.'is_tty'()
- say i
i = sh.'isatty'()
say i
.end
CODE
0
-0
OUTPUT
pir_output_is( <<"CODE", <<"OUTPUT", "readall() - utf8 on closed stringhandle" );
More information about the parrot-commits
mailing list