summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2009-09-21 16:13:54 +0200
committerSteffen Mueller <smueller@cpan.org>2009-09-21 16:13:54 +0200
commit1128f77aee1154a21a84d79d5ac3cb4c706dc058 (patch)
treedf9cc2264ac1bbf19ccb66374fced7cc27551c19 /ext
parent9373cb24bc4ca30048542b574f8448aca481be99 (diff)
downloadperl-1128f77aee1154a21a84d79d5ac3cb4c706dc058.tar.gz
Upgrade to Attribute::Handlers 0.87 (which is just a core sync) -- for real
Diffstat (limited to 'ext')
-rw-r--r--ext/Attribute-Handlers/Changes23
-rw-r--r--ext/Attribute-Handlers/lib/Attribute/Handlers.pm6
2 files changed, 25 insertions, 4 deletions
diff --git a/ext/Attribute-Handlers/Changes b/ext/Attribute-Handlers/Changes
index 13dd6f5677..f91fa607a8 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 b8625ae0f4..ea11b8f7ed 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