Open p5pRT opened 7 years ago
The problem is with this section of the AutoLoader documentation:
http://perldoc.perl.org/AutoLoader.html#Overriding-*AutoLoader*'s-AUTOLOAD-Subroutine
It describes how to do certain things with the module\, but choses to make its example with constants\, despite the fact that AutoLoader cannot create inlinable constant functions\, due to always executing after compile time.
The attached patch adds a note of this limitation.
On Tue\, 07 Feb 2017 18:31:35 GMT\, walde.christian@gmail.com wrote:
This is a bug report for perl from walde.christian@gmail.com\, generated with the help of perlbug 1.39 running under perl 5.18.4.
----------------------------------------------------------------- [Please describe your issue here]
The problem is with this section of the AutoLoader documentation:
http://perldoc.perl.org/AutoLoader.html#Overriding-*AutoLoader*'s- AUTOLOAD-Subroutine
It describes how to do certain things with the module\, but choses to make its example with constants\, despite the fact that AutoLoader cannot create inlinable constant functions\, due to always executing after compile time.
The attached patch adds a note of this limitation.
We have a bit of a technical problem here. The AutoLoader library is found within the core distribution under 'cpan/Autoloader/'. This suggests that it is maintained upstream on cpan rather than in blead. This impression is confirmed by its entry in Porting/Maintainers.pl.
However\, when I go to https://rt.cpan.org//Dist/Display.html?Queue=AutoLoader and click on "Preferred Bug Tracker\," I'm taken back to rt.perl.org -- which implies that it's maintained in core.
So we need to clarify where this bug report should go. copying the maintainer.
Thank you very much. Jim Keenan
-- James E Keenan (jkeenan@cpan.org)
The RT System itself - Status changed from 'new' to 'open'
On Wed\, 08 Feb 2017 18:30:09 GMT\, jkeenan wrote:
On Tue\, 07 Feb 2017 18:31:35 GMT\, walde.christian@gmail.com wrote:
This is a bug report for perl from walde.christian@gmail.com\, generated with the help of perlbug 1.39 running under perl 5.18.4.
----------------------------------------------------------------- [Please describe your issue here]
The problem is with this section of the AutoLoader documentation:
http://perldoc.perl.org/AutoLoader.html#Overriding-*AutoLoader*'s- AUTOLOAD-Subroutine
It describes how to do certain things with the module\, but choses to make its example with constants\, despite the fact that AutoLoader cannot create inlinable constant functions\, due to always executing after compile time.
The attached patch adds a note of this limitation.
We have a bit of a technical problem here. The AutoLoader library is found within the core distribution under 'cpan/Autoloader/'. This suggests that it is maintained upstream on cpan rather than in blead. This impression is confirmed by its entry in Porting/Maintainers.pl.
However\, when I go to https://rt.cpan.org//Dist/Display.html?Queue=AutoLoader and click on "Preferred Bug Tracker\," I'm taken back to rt.perl.org -- which implies that it's maintained in core.
So we need to clarify where this bug report should go. copying the maintainer.
Thank you very much. Jim Keenan
I have not heard back from the listed maintainer (SMUELLER).
pumpking: guidance requested.
Thank you very much.
-- James E Keenan (jkeenan@cpan.org)
On 02/26/2017 11:41 PM\, James E Keenan via RT wrote:
On Wed\, 08 Feb 2017 18:30:09 GMT\, jkeenan wrote:
On Tue\, 07 Feb 2017 18:31:35 GMT\, walde.christian@gmail.com wrote:
This is a bug report for perl from walde.christian@gmail.com\, generated with the help of perlbug 1.39 running under perl 5.18.4.
----------------------------------------------------------------- [Please describe your issue here]
The problem is with this section of the AutoLoader documentation:
http://perldoc.perl.org/AutoLoader.html#Overriding-*AutoLoader*'s- AUTOLOAD-Subroutine
It describes how to do certain things with the module\, but choses to make its example with constants\, despite the fact that AutoLoader cannot create inlinable constant functions\, due to always executing after compile time.
The attached patch adds a note of this limitation.
We have a bit of a technical problem here. The AutoLoader library is found within the core distribution under 'cpan/Autoloader/'. This suggests that it is maintained upstream on cpan rather than in blead. This impression is confirmed by its entry in Porting/Maintainers.pl.
However\, when I go to https://rt.cpan.org//Dist/Display.html?Queue=AutoLoader and click on "Preferred Bug Tracker\," I'm taken back to rt.perl.org -- which implies that it's maintained in core.
So we need to clarify where this bug report should go. copying the maintainer.
Thank you very much. Jim Keenan I have not heard back from the listed maintainer (SMUELLER).
pumpking: guidance requested.
SMUELLER is sometimes overflowing in email. Let's give it another day or two.
On Mon\, 27 Feb 2017 06:06:29 -0800\, xsawyerx@gmail.com wrote:
On 02/26/2017 11:41 PM\, James E Keenan via RT wrote:
On Wed\, 08 Feb 2017 18:30:09 GMT\, jkeenan wrote:
On Tue\, 07 Feb 2017 18:31:35 GMT\, walde.christian@gmail.com wrote:
This is a bug report for perl from walde.christian@gmail.com\, generated with the help of perlbug 1.39 running under perl 5.18.4.
----------------------------------------------------------------- [Please describe your issue here]
The problem is with this section of the AutoLoader documentation:
http://perldoc.perl.org/AutoLoader.html#Overriding-*AutoLoader*'s- AUTOLOAD-Subroutine
It describes how to do certain things with the module\, but choses to make its example with constants\, despite the fact that AutoLoader cannot create inlinable constant functions\, due to always executing after compile time.
The attached patch adds a note of this limitation.
We have a bit of a technical problem here. The AutoLoader library is found within the core distribution under 'cpan/Autoloader/'. This suggests that it is maintained upstream on cpan rather than in blead. This impression is confirmed by its entry in Porting/Maintainers.pl.
However\, when I go to https://rt.cpan.org//Dist/Display.html?Queue=AutoLoader and click on "Preferred Bug Tracker\," I'm taken back to rt.perl.org -- which implies that it's maintained in core.
So we need to clarify where this bug report should go. copying the maintainer.
Thank you very much. Jim Keenan I have not heard back from the listed maintainer (SMUELLER).
pumpking: guidance requested.
SMUELLER is sometimes overflowing in email. Let's give it another day or two.
Now knowing the maintainer is overwhelmed with other issues at the moment\, I think we need to decide whether to move this into core or not without him. He's fine with it.
The benefit of bringing it into core is that it's widely used enough that I would consider crucial\, and will benefit from having a net of developers\, which is why I'm leaning towards that.
@xsawyerx what did you decide?
We should move AutoLoader
to core.
On 4/10/20 4:54 AM, Sawyer X wrote:
We should move |AutoLoader| to core.
When?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Perl/perl5/issues/15866#issuecomment-611982632, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2DHZ5NMBKWDIVT526AOLRL33FDANCNFSM4KU5ZP2A.
On 4/10/20 4:54 AM, Sawyer X wrote: We should move |AutoLoader| to core. When?
We're in code freeze. Hence, my recommendation: 5.33.1.
On 4/10/20 4:54 AM, Sawyer X wrote: We should move |AutoLoader| to core. When?
We're in code freeze. Hence, my recommendation: 5.33.1.
I've created https://github.com/Perl/perl5/issues/17707 to track transfer of AutoLoader to dist/
. I recommend that we move further discussion of the transfer (including its timing) to that ticket, and that we retain this ticket to focus on the issue raised, and patch submitted, by the original poster in Feb 2017.
Thank you very much. Jim Keenan
On 4/10/20 4:54 AM, Sawyer X wrote: We should move |AutoLoader| to core. When?
We're in code freeze. Hence, my recommendation: 5.33.1.
I've created #17707 to track transfer of AutoLoader to
dist/
. I recommend that we move further discussion of the transfer (including its timing) to that ticket, and that we retain this ticket to focus on the issue raised, and patch submitted, by the original poster in Feb 2017.Thank you very much. Jim Keenan
To get back to the original subject of this ticket ... Is the following patch to AutoLoader.pm's documentation valid?
+Note: Despite the example above talking about constants, there are
+currently no circumstances under which a function loaded by AutoLoader
+can be inlined as a constant. If you desire to make use of this
+optimization AutoLoader can not be used.
+
Migrated from rt.perl.org#130735 (status was 'open')
Searchable as RT130735$