From: Vincent Pit Date: Wed, 1 Jul 2009 08:43:28 +0000 (+0200) Subject: This is 0.07 X-Git-Tag: v0.07^0 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLexical-Types.git;a=commitdiff_plain;h=418197898e73f85448f28aa1236f205f6a3cff5d;hp=5408252b6868bb3a135da110e381643eb41bb136 This is 0.07 --- diff --git a/Changes b/Changes index 59bb24d..827161c 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,11 @@ Revision history for Lexical-Types +0.07 2009-07-01 08:45 UTC + + Chg : perl 5.8.x on MSWin32 is no longer considered as thread safe. + + Fix : Work around a bug in perl 5.10.0 and lower that cause hints to + propagate into required files. + + Fix : Clean up map entries associated to uncatched OPs. + 0.06 2009-05-01 19:00 UTC + Fix : The pragma now properly propagates into threaded eval STRING, effectively making the module thread safe. The new LT_THREADSAFE diff --git a/META.yml b/META.yml index ae2287e..d9ba723 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: Lexical-Types -version: 0.06 +version: 0.07 abstract: Extend the semantics of typed lexicals. author: - Vincent Pit @@ -25,7 +25,7 @@ no_index: directory: - t - inc -generated_by: ExtUtils::MakeMaker version 6.50 +generated_by: ExtUtils::MakeMaker version 6.52 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 diff --git a/README b/README index 196deda..fa968d5 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME Lexical::Types - Extend the semantics of typed lexicals. VERSION - Version 0.06 + Version 0.07 SYNOPSIS { package Str; } @@ -173,7 +173,8 @@ INTEGRATION CONSTANTS "LT_THREADSAFE" - True iff the module could have been built when thread-safety features. + True iff the module could have been built with thread-safety features + enabled. CAVEATS The restrictions on the type (being either a defined package name or a @@ -184,6 +185,15 @@ CAVEATS Only one mangler or prefix can be in use at the same time in a given scope. + The implementation was tweaked to work around several limitations of + vanilla "perl" pragmas : it's thread safe, and doesn't suffer from a + "perl 5.8.x-5.10.0" bug that causes all pragmas to propagate into + "require"d scopes. + + With 5.8 perls, the pragma does not propagate into "eval STRING". This + is due to a shortcoming in the way perl handles the hints hash, which is + addressed in perl 5.10. + DEPENDENCIES perl 5.8, XSLoader. diff --git a/lib/Lexical/Types.pm b/lib/Lexical/Types.pm index e4d9787..112c042 100644 --- a/lib/Lexical/Types.pm +++ b/lib/Lexical/Types.pm @@ -13,13 +13,13 @@ Lexical::Types - Extend the semantics of typed lexicals. =head1 VERSION -Version 0.06 +Version 0.07 =cut our $VERSION; BEGIN { - $VERSION = '0.06'; + $VERSION = '0.07'; } =head1 SYNOPSIS