This Week on perl5-porters (7-13 October 2002)

This Week on perl5-porters (7-13 October 2002)
  A new week, a new p5p summary. This week, the porters were busy with
  small bugs, compilation problems, and a few interesting new ideas. Read
  on.

Speeding up Unicode handling
  Jarkko Hietaniemi introduced his new idea by saying *I have a task for
  someone.* The purpose is to speed up string handling functions
  (length(), substr(), index(), etc.) on Unicode strings. Various
  technical solutions (involving different types of caching) were proposed
  in the discussion, but nobody volunteered yet to begin experimentation
  and implementation.

      http://archive.develooper.com/perl5-porters@perl.org/msg87763.html

Module signatures
  Well, this is not strictly perl-core-related, but interesting
  nonetheless. Autrijus Tang reported that Module::Signature begins to be
  usable and deployed. This module allows to PGP-sign CPAN modules, via a
  special SIGNATURE file. http://search.cpan.org/ now lists the signature
  on the module information pages, and the development version of CPANPLUS
  recognizes it optionally.

      http://search.cpan.org/author/AUTRIJUS/Module-Signature/

Taint propagation
  Jerome Quelin wondered why

      perl -Tle '$cmd="print q(foo)";$cmd.=".q(bar)" if pop; eval $cmd' foo

  fails with an *insecure dependency* error (bug #17867), while it doesn't
  fail when the regular form of "if" is used. Benjamin Goldberg explains
  that this construct is strictly equivalent to the expression

      pop and ($cmd.=".q(bar)")

  and an expression is tainted whenever one of its parts is tainted.
  Michael Schwern still thinks that's is a weird behavior, from a control
  modifier (tainting affects data, not control flow).

Versions too accurate
  The newest version patches (by J. Peacock) made a new test failure
  appear (on ext/Storable/t/code.t). Apparently, when a module is required
  from XS code, using a bare floating point value as the required version,
  the usual rounding of floats may transform the required version in a
  higher version number -- hence the require() failure.

      http://archive.develooper.com/perl5-porters@perl.org/msg87919.html

Too safe signals
  Slaven Rezic remarked that the new safe signals may cause problems, when
  one wants to timeout an operation that involves a C library function.
  Hence some code that used alarm() for this purpose may stop working with
  perl 5.8.0. (See also bug #17341.) But this code was fragile anyway,
  being at risk of the SIGALRM perl handler being called in a manner which
  could segfault.

      http://archive.develooper.com/perl5-porters@perl.org/msg87982.html
      http://perldoc.com/perl5.8.0/pod/perldelta.html#Safe-Signals

In brief
  Paul Johnson reported that the "for" statement modifier, used inside a
  "map", segfaults (bug #17771). Fixed.

  Nicholas Clark improved the error reporting and the documentation on
  "pack "w"" (compressed integers) (bug #17772).

  Nicholas Clark provided a few patches to Storable (version 2.06 should
  appear on CPAN in the near future.)

  Simon Cozens provided a patch to perldoc, to remove the annoying message
  *Superuser must not run perldoc without security audit and taint
  checks*. Applied with a few tweaks by Hugo, who added : *patches to make
  it run securely under tainting would also be welcome.*

  H.Merijn Brand reported that DB_File doesn't compile with db-4.1.24. He
  investigated the problem with Paul Marquess, but apparently it's not
  completely solved yet.

  Dan Sugalski uploaded the helpful module "Devel::Size" to CPAN, to find
  the memory usage of Perl variables.

  Tommy Wareing reported that the precompiled regular expression "qr/##/x"
  corrupts memory (bug #17776). Fixed.

  Nicholas Clark reported that "tr///" stringifies its argument, even when
  it's used to count occurrences of a character (bug #17823). Fixed.

  Brian Ingerson reported that $/ is not initialized at compile-time by
  the -0 command-line switch. Fixed.

About this summary
  This summary brought to you by Rafael Garcia-Suarez. It's also available
  via a mailing list, which subscription address is
  perl5-summary-subscribe@perl.org. Comments and corrections are, as
  always, welcome.
0
rgarciasuarez
10/14/2002 8:25:07 PM
perl.perl5.porters 48045 articles. 1 followers. Follow

0 Replies
239 Views

Similar Articles

[PageSpeed] 30

Reply:

Similar Artilces:

This Week on perl5-porters (13-19 October 2003)
This Week on perl5-porters (13-19 October 2003) What happens in the post-5.8.1 world ? Read about the plans for the (nearest than you may think) 5.8.2, 5.8.1-specific problems, and other Perl language and implementation questions. Binary Compatibility Nicholas Clark prepares himself to release perl 5.8.2, which should fix the binary compatibility issue raised last week between 5.8.0 and 5.8.1. The discussions are highly technical, since the fix should preserve binary compatibility and at the same time preserve the security feature (the hash seed randomization) which ...

This Week on perl5-porters
This Week on perl5-porters - 13-19 October 2008 "It's far from being a critical issue, and I'm not saying that magic shouldn't be enabled there. But I'd really like to see magic behave in the most predictable possible way." -- Vincent Pit, inventing a new meaning for "predictable". Topics of Interest use bytes pragma Karl Williamson, in his ongoing overhaul of Unicode handling, discovered some inconsistencies between the documentation for and implementation of the "bytes" pragma. As such, he wasn't willing ...

This Week on perl5-porters (7-13 July 2003)
This Week on perl5-porters (7-13 July 2003) In a two-release-candidate-week, there are plenty of things to summarize. Learn what happened behind the scenes : random seeding of hashing, deprecation of vstrings, signals, floats, and the other things. 5.8.1-RC1 and -RC2 As I was saying, this week, Jarkko Hietaniemi packaged *two* release candidates of the upcoming maintenance release of perl, 5.8.1. There won't be another one before two weeks, because he's on a well-deserved vacation now. That gives you plenty of time to test the RC2 with your favourite applicat...

This Week on perl5-porters (7-13 November 2005)
This Week on perl5-porters - 7-13 November 2005 This week was really, like David Landgren uses to say, a business week. Many short threads, many bug fixes, not all particularly earth-shattering, but Perl is even more solid. Feedback from Last Week's Summary About the sort/multicall patch, Robin Houston hushed to say that the ability to empty the array while you sort it and still retrieve the results has never worked. The point was that Robin added a test for this feature, which slipped into the patch sent to the list. http://xrl.us/ifnf Steven Schu...

This Week on perl5-porters
This Week on perl5-porters - 7-13 June 2008 This morning, clkao pinged me and mentioned that he couldn't get perlbug to set the From: header when sending a bug report. I promised him I'd take a look. I opened up perlbug determined to add one line and send a patch. Somehow, I never got around to adding the line CL asked for... -- Jesse Vincent, getting a finger caught in the machine. Topics of Interest RT bugtrackers, note the changes in 5.10 H.Merijn Brand wished to draw attention to the main changes in the more complex structures derived fro...

This Week on perl5-porters (21-27 October 2002)
This Week on perl5-porters (21-27 October 2002) This week was moderately busy for the Perl 5 porters. The highlights feature various crashes and considerations about Unicode string handling; not forgetting, as usual, about newly fixed bugs, and bugs yet to be fixed. Crash perl by trashing symbol tables Tassilo v. Parseval reported a way to make Perl dump core (bug #18045): emptying the %main:: symbol table, and issuing a warning. This bug has been already corrected in bleadperl (it's due to the standard error file handle being freed when it's removed from %ma...

This Week on perl5-porters (7-13 June 2004)
This Week on perl5-porters (7-13 June 2004) This week, a small summary is better than no summary at all. h2ph Rafael Garcia-Suarez finds that h2ph can't process the newest C headers from the glibc, because they include inline functions (instead of good old macros). He forced a bit of heuristics in it to decode the less convoluted C inline functions that might be there. Your mileage may vary. IO::File on windows Roderich Schupp finds that IO::File fails on open a file that is found on another volume on Windows (bug #30132). The problem comes from the Cwd and...

This Week on perl5-porters (14-20 October 2002)
This Week on perl5-porters (14-20 October 2002) This week, folks, I've written a low-fat summary. Not that I'm especially tired, but the bulk of messages in perl5-porters were bug reports and small fixes, and not really summarizable discussions. This makes arguably the summary more concise, but not less interesting, do I hope. charnames patch follow-up H.Merijn Brand submitted a new version of his patch that enhances the "charnames" pragma to allow user-defined aliases. Not yet applied. Your summarizer noticed that loading the files that define the ...

This Week on perl5-porters (7-13 April 2003)
This Week on perl5-porters (7-13 April 2003) This week : MacOS X problems, big and small patch proposals, cross-compilation and unknown errors. use base and import Casey West proposed a patch to call the import() method of a module referenced through the "use base" pragma. Graham Barr disagrees, saying that "use base" should only be used to set up inheritance, and Michael Schwern threatens to call the backward compatibility police. http://xrl.us/f4p Cross-compilation Redvers Davies complains that there's too little information about t...

This Week on perl5-porters (28th October / 3rd November 2002)
This Week on perl5-porters (28th October / 3rd November 2002) This week's summary features UTF8 and locale incompatibility problems, discovered on RedHat 8, but pertaining to UTF8 locales ; various bugs fixed ; various bugs discovered ; the "//" operator reappearing shortly ; and a new way to consider goto harmful. Problems with RedHat 8 Paul Marquess reported that the test suite for Compress::Zlib fails on the newest RedHat 8.0. This problem is due to a string holding binary data which, once written to a file, gets apparently corrupted. Gurusamy Sara...

This Week on perl5-porters (30 September / 6 October 2002)
This Week on perl5-porters (30 September / 6 October 2002) It was a busy week indeed, with long threads, interesting bugs, clever fixes, miscellaneous optimizations, some new ideas, a few jokes, mysterious failures, and, finally, a security hole. Read on. Hash::Util::lock_keys inhibits bless Andreas Koenig reported that a restricted hash (that is, a hash that has been marked as readonly), can't be blessed. In fact, no readonly variable can't be blessed, and that's a feature. As Tim Bunce said, *generally hashes are locked by constructors and a constructor ca...

This Week on perl5-porters (13--19 Feb 2001)
Current list subscribers! Do not panic! Mark-Jason Dominus has handed over the maintainance of the list to me, and I have transferred it to NetThink; apologies if this breaks your filtering. Anyway, on with the show. ---------------------------------------------------------------- The HTML version will be up in a few hours (if it isn't already) at http://www.perl.com/pub/2001/02/p5pdigest/THISWEEK-20010219.html The current report is always available at http://www.perl.com/p5pdigest.cgi An RDF file of this week's report will be available at ...

This Week on perl5-porters (9-15 September 2002)
This Week on perl5-porters (9-15 September 2002) This was not a very busy week, with people packing for YAPC::Europe, and all that... Nevertheless, the smoke tests were running, the bug reports were flying, and an appropriate amount of patches were sent. Read about printf formats, serialized tied thingies, built-in leak testing, syntax oddities, et alii. printf format documentation Allen Smith pointed out (in bug report #17075) that the documentation for printf in perlfunc is innaccurate regarding the %g and %G format specifiers. In fact, the thread goes through comm...

This Week on perl5-porters (20-26 October 2003)
This Week on perl5-porters (20-26 October 2003) This week, several threads raised concerns with tainting. Plan C for randomized hashes was successful. The language issues with constant subroutines were discussed. Bugs were found, some of which were fixed ; some others were dismissed as "features". Quite an usual week for the Perl 5 porters. Taint propagation Nicholas Clark files bug #24248, about tainting not being propagated properly. This is a regression in perl 5.8.1, that wasn't spotted by the regression tests. He provides a code example where $1 en...

Web resources about - This Week on perl5-porters (7-13 October 2002) - perl.perl5.porters

Resources last updated: 1/10/2016 3:18:20 AM