#1506: PMC attribute allocation flags design and evolution
--------------------------+-------------------------------------------------
Reporter: NotFound | Owner: NotFound
Type: experimental | Status: new
Priority: minor | Milestone:
Component: none | Version: 2.1.0
Severity: low | Keywords: pmc auto_attrs manual_attrs
Lang: | Patch:
Platform: |
--------------------------+-------------------------------------------------
Some months ago we introduced the PMC flag auto_attrs and his supporting
code to automatically allocate and deallocate memory for the PMC
attributes. The idea was that the switch to automatic allocation can be
error prone and must be done in small steps, keeping the old way as
default.
Now that the auto_attrs feature is firmly stablished is time for the next
step. r44537 introduces the manual_attrs flag, and emits a warning when
none of auto_attrs or manual_attrs is used.
The next step will be to replace that warning with an error, maybe with an
earlier stage that just checks the condition during make test. We must
decide a release number to put that change in effect and set a deprecation
notice.
After that and other deprecation cycle we can declare auto_attrs as the
default and relax the checks.
This ticket summarizes comments and decisions dispersed in #parrotsketch
and #parrot logs, and will be updated to document further design decisions
and related changes in the implementation.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1506>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets