<commit_before># $Id$

=head1 Deprecation in Parrot

This is a list of currently deprecated features of Parrot.  Every deprecation
has an associated RT ticket.  Each item indicates the last release it's
guaranteed to appear in.  Items marked with a release of ??? are still
deprecated, but a firm deadline for their removal has not yet been established.

When deprecated items are removed, all usage of the feature in the
repository should be updated or removed; including documentation.

=head1 PMC syntax

=over 4

=item * C<METHOD> [post 0.5.2]

The current C<METHOD> syntax will be deleted and the current C<PCCMETHOD>
syntax will replace it under the name C<METHOD>. See RT #48565.

=item * C<PCCINVOKE> [post 0.5.2]

The syntax for passing named arguments to C<PCCINVOKE> will change from
:named['key'] to :named('key') to better match PDD 3. See RT #42292.

=back

=head1 vtable entries

=over 4

=item * C<get_attr> [post 0.5.2]

See RT #48583.

=item * C<set_attr> [post 0.5.2]

See RT #48585.

=item * C<type_keyed> [post 0.5.2]

See RT #48577.

=item * C<type_keyed_int> [post 0.5.2]

See RT #48579.

=item * C<type_keyed_str> [post 0.5.2]

See RT #48581.

=item * C<get_bool_keyed> [post 0.5.2]

See RT #48571.

=item * C<get_bool_keyed_int> [post 0.5.2]

See RT #48573.

=item * C<get_bool_keyed_str> [post 0.5.2]

See RT #48575.

=item * C<type> [post 0.5.2]

See RT #48567.

=item * C<subtype> [post 0.5.2]

See RT #48569.

=item * C<new_from_string> [post 0.5.0]

See RT #47011.

=item * C<class_type> [post 0.5.1]

See RT #48142.

=item * C<pmc_namespace>  [post 0.5.1]

See RT# 48144. Replaced by C<get_namespace>.

=item * C<DYNSELF> [post 0.5.2]

Replaced by C<SELF>. (Old behavior of C<SELF> changes to C<STATICSELF>.)

=back

=head1 opcodes

=over 4

=item * C<getattribute_p_p_i>, C<setattribute_p_p_i> [post 0.5.1]

See RT # 48729. These were already deprecated, but not fully removed.

=item * C<classoffset> [post 0.5.1]

See RT # 48727. This was already deprecated, but not fully removed.

=item * C<pioctl> [post 0.5.1]

See RT #48589.

=item * C<store_global> [post 0.5.0]

See RT #48016. Replace usage with set_[hll,root]_global variants.

=item * C<find_global> [post 0.5.0]

See RT #48018. Replace usage with get_[hll,root]_global variants.

=item * C<new>(out PMC, in INT, in STR) [post 0.5.0]

See RT #47011.

=item * C<instantiate> [post 0.5.0]

See RT #48022.

=item * C<getclass> [post 0.5.0]

See RT #47972. Future use should use the C<get_class> opcode.

=item * C<get_mro> [post 0.5.0]

See RT #47976.

=item * C<getfd> [post 0.5.1]

See RT #48310.

=item * C<pmcinfo> [post 0.5.2]

See RT #42375.

=back

=head1 Class Features

=over 4

=item * Integer Type IDs [post 0.5.0]

See RT #48024. Instead of C<$P0 = new Integer> or C<$P0 = new .Integer>,
use the following syntax, which works for both PMCs and objects.

  $P0 = new 'Integer'

=item * PMC union struct [post 0.5.0]

See RT #48014. This will be removed once all core PMCs have been updated.

=back

=head1 Exceptions

=over 4

=item * Keyed access to exception attributes [post 0.5.1]

See RT #48012. Attributes on exception objects will no longer be accessible
by integer or string key, use C<getattribute> and C<setattribute> instead.

=back

=head1 PIR syntax

=over 4
<commit_msg>Removed section about new Integer or new .Integer needing to be converted to new 'Integer' as this has just been cleaned up.  This should now close ticket RT#48024<commit_after># $Id$

=head1 Deprecation in Parrot

This is a list of currently deprecated features of Parrot.  Every deprecation
has an associated RT ticket.  Each item indicates the last release it's
guaranteed to appear in.  Items marked with a release of ??? are still
deprecated, but a firm deadline for their removal has not yet been established.

When deprecated items are removed, all usage of the feature in the
repository should be updated or removed; including documentation.

=head1 PMC syntax

=over 4

=item * C<METHOD> [post 0.5.2]

The current C<METHOD> syntax will be deleted and the current C<PCCMETHOD>
syntax will replace it under the name C<METHOD>. See RT #48565.

=item * C<PCCINVOKE> [post 0.5.2]

The syntax for passing named arguments to C<PCCINVOKE> will change from
:named['key'] to :named('key') to better match PDD 3. See RT #42292.

=back

=head1 vtable entries

=over 4

=item * C<get_attr> [post 0.5.2]

See RT #48583.

=item * C<set_attr> [post 0.5.2]

See RT #48585.

=item * C<type_keyed> [post 0.5.2]

See RT #48577.

=item * C<type_keyed_int> [post 0.5.2]

See RT #48579.

=item * C<type_keyed_str> [post 0.5.2]

See RT #48581.

=item * C<get_bool_keyed> [post 0.5.2]

See RT #48571.

=item * C<get_bool_keyed_int> [post 0.5.2]

See RT #48573.

=item * C<get_bool_keyed_str> [post 0.5.2]

See RT #48575.

=item * C<type> [post 0.5.2]

See RT #48567.

=item * C<subtype> [post 0.5.2]

See RT #48569.

=item * C<new_from_string> [post 0.5.0]

See RT #47011.

=item * C<class_type> [post 0.5.1]

See RT #48142.

=item * C<pmc_namespace>  [post 0.5.1]

See RT# 48144. Replaced by C<get_namespace>.

=item * C<DYNSELF> [post 0.5.2]

Replaced by C<SELF>. (Old behavior of C<SELF> changes to C<STATICSELF>.)

=back

=head1 opcodes

=over 4

=item * C<getattribute_p_p_i>, C<setattribute_p_p_i> [post 0.5.1]

See RT # 48729. These were already deprecated, but not fully removed.

=item * C<classoffset> [post 0.5.1]

See RT # 48727. This was already deprecated, but not fully removed.

=item * C<pioctl> [post 0.5.1]

See RT #48589.

=item * C<store_global> [post 0.5.0]

See RT #48016. Replace usage with set_[hll,root]_global variants.

=item * C<find_global> [post 0.5.0]

See RT #48018. Replace usage with get_[hll,root]_global variants.

=item * C<new>(out PMC, in INT, in STR) [post 0.5.0]

See RT #47011.

=item * C<instantiate> [post 0.5.0]

See RT #48022.

=item * C<getclass> [post 0.5.0]

See RT #47972. Future use should use the C<get_class> opcode.

=item * C<get_mro> [post 0.5.0]

See RT #47976.

=item * C<getfd> [post 0.5.1]

See RT #48310.

=item * C<pmcinfo> [post 0.5.2]

See RT #42375.

=back

=head1 Class Features

=over 4

=item * PMC union struct [post 0.5.0]

See RT #48014. This will be removed once all core PMCs have been updated.

=back

=head1 Exceptions

=over 4

=item * Keyed access to exception attributes [post 0.5.1]

See RT #48012. Attributes on exception objects will no longer be accessible
by integer or string key, use C<getattribute> and C<setattribute> instead.

=back

=head1 PIR syntax

=over 4

{'fraction_non_alphanumeric': 0.12164442399140972, 'fraction_numerical': 0.07639208467556374, 'mean_word_length': 3.7280638143582308, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4842036', 'n_tokens_mistral': 2878, 'n_tokens_neox': 2587, 'n_words': 927}