From: Steffen Mueller Date: Mon, 21 Sep 2009 14:13:54 +0000 (+0200) Subject: Upgrade to Attribute::Handlers 0.87 (which is just a core sync) -- for real X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1128f77aee1154a21a84d79d5ac3cb4c706dc058;p=p5sagit%2Fp5-mst-13.2.git Upgrade to Attribute::Handlers 0.87 (which is just a core sync) -- for real --- diff --git a/ext/Attribute-Handlers/Changes b/ext/Attribute-Handlers/Changes index 13dd6f5..f91fa60 100644 --- a/ext/Attribute-Handlers/Changes +++ b/ext/Attribute-Handlers/Changes @@ -1,4 +1,4 @@ -Revision history for Perl extension Attribute-Handlers +t Revision history for Perl extension Attribute-Handlers 0.50 Sat Apr 21 16:09:31 2001 - original version; @@ -132,3 +132,24 @@ Revision history for Perl extension Attribute-Handlers 0.86 Sat Aug 8 12:41:00 CET 2009 - Add resources (bugtracker, ...) section to META.yml +0.86_01 Thu Sep 17 10:01:00 CET 2009 + - From perl change 09330df80caf214f375fcf0c04857347e3b17c69 (Zefram): + + Fix [perl #66970] Incorrect coderef in MODIFY_CODE_ATTRIBUTES + + Attribute handlers being applied to a temporary CV has actually been + reported as a bug, #66970. The attached patch fixes the bug, by + changing the order in which things happen: attributes are now applied + after the temporary CV has been merged into the existing CV or has + otherwise been added to the appropriate GV. + + The change breaks part of Attribute::Handlers. Part of A:H searches the + package to find the name of the sub to which a :ATTR attribute is being + applied, and the correct time at which to launch that search depends + crucially on the order in which the CV construction events occur. So + this patch also includes a change to A:H, to make it detect which way + things happen. The resulting A:H works either way, which is essential + for its dual-life nature. + +0.87 Mon Sep 21 15:55:00 CET 2009 + - Promote to stable release diff --git a/ext/Attribute-Handlers/lib/Attribute/Handlers.pm b/ext/Attribute-Handlers/lib/Attribute/Handlers.pm index b8625ae..ea11b8f 100644 --- a/ext/Attribute-Handlers/lib/Attribute/Handlers.pm +++ b/ext/Attribute-Handlers/lib/Attribute/Handlers.pm @@ -4,7 +4,7 @@ use Carp; use warnings; use strict; use vars qw($VERSION $AUTOLOAD); -$VERSION = '0.86'; # remember to update version in POD! +$VERSION = '0.87'; # remember to update version in POD! # $DB::single=1; my %symcache; @@ -257,8 +257,8 @@ Attribute::Handlers - Simpler definition of attribute handlers =head1 VERSION -This document describes version 0.86 of Attribute::Handlers, -released August 8, 2009. +This document describes version 0.87 of Attribute::Handlers, +released September 21, 2009. =head1 SYNOPSIS