-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alpha objective 2a: restricting to 'use v7' should not be done. #263
Comments
On 9/2/20 12:43 PM, Todd Rinaldo wrote:
A windows bug cropped up which basically boiled down to the fact that
we're erroring when one does |require 7.000000|.
This should be allowed and it is a mistake that we have not adopted the
patch in this branch.
The error message that should not exist in perl is:
|C:\perl\t>"C:\perl\perl.exe" -IC:\perl\perl.exe -le "require 7.000000;
print qq{VER_OK}" use v7; is the only supported syntax for Perl 7. at -e
line 1. |
@atoomic <https://github.com/atoomic> already has a patch for this. it
just needs to go into the strict branch. We also need to remove all of
the work arounds we've put into this branch to overcome this.
Can you list those workarounds?
|
On 9/2/20 12:46 PM, ℕicolas ℝ. wrote:
This a change in the behavior introduced as part of objective 01 #152
<#152>
This should not target the objective 02 for strict #153
<#153>,
I suggest we perform that change at the beginning of warnings objective
#154 <#154>
What we can do is after we merge alpha-dev-02-strict into alpha, we can
fork an alpha-dev-02a-repair branch in which we address this problem,
create merge candidates as needed, and when they are ready, merge one
into alpha and only then fork an 'alpha-dev-03-warnings' branch.
jimk
|
@toddr, how we proceed depends, IMO, in large part on what those "workarounds" you mentioned earlier actually are. If I understand you correctly, this commit:
... which is currently in the If that is correct, then what I recommend we do is to (i) extract that commit from that branch; (ii) fork a new branch off But recommendations (i) thru (iv) assume the workarounds are inconsequential. So we need to know where we have done those workarounds and what we have to undo. Thank you very much. |
@toddr we're close to wrapping up our work on Objective 2 and merging our working branch back into Thank you very much. |
I've got a branch with these changes |
On 9/4/20 4:05 PM, ℕicolas ℝ. wrote:
I've got a branch with these changes |alpha-dev-02-strict+v7|
still need to adjust a few failures
So that's what you've been up to ;-)
However, I still don't understand the problem well enough to compose an
"Objective 2a" ticket for this. I'd like to do this so that six months
down the road we understand why we did it.
jimk
|
The main issue is that during |
Fix #263 Do not restrict 'use v7' to 'v7'. With this change we are now also accepting: `use v7.0`, `use v7.x`...
The Pull Request #265 fixes the concern there |
This should be reverted.
|
Can you describe why? Thank you very much. |
Yes. the change seems to have clearly been made to support use v7. I suspect there are more like this. It was made in a1869a7 though which might include all of them. |
With the completion of Objective 2, "strict-by-default" tonight, we are ready to begin work on Objective 2a. I have created the following branch in our repository to hold our work on this objective: @atoomic, @toddr: Please commit whatever work you've been doing toward this objective into this new branch. Thank you very much. |
Fix #263 Do not restrict 'use v7' to 'v7'. With this change we are now also accepting: `use v7.0`, `use v7.x`...
On 9/21/20 7:19 PM, ℕicolas ℝ. wrote:
@jkeenan <https://github.com/jkeenan> I pushed two commits to this
branch in order to relax the |use vX| syntax to satisfy this micro
objective.
Thanks. I'll create a Merge Candidate and perform outside testing
within the next 24 hours.
jimk
|
On 9/21/20 7:19 PM, ℕicolas ℝ. wrote:
@jkeenan <https://github.com/jkeenan> I pushed two commits to this
branch in order to relax the |use vX| syntax to satisfy this micro
objective.
|
@toddr, In satisfaction of Objective 2a, are you okay with these two commits? Thank you very much. |
looks right. |
I have tagged this branch as "alpha-02a-MC-1" at commit fbf85d4. Please conduct any outside testing that you can. Thank you very much. |
Fix #263 Do not restrict 'use v7' to 'v7'. With this change we are now also accepting: `use v7.0`, `use v7.x`...
I have merged this branch into Thank you very much. |
A windows bug cropped up which basically boiled down to the fact that we're erroring when one does
require 7.000000
.This should be allowed and it is a mistake that we have not adopted the patch in this branch.
The error message that should not exist in perl is:
@atoomic already has a patch for this. it just needs to go into the strict branch. We also need to remove all of the work arounds we've put into this branch to overcome this.
The text was updated successfully, but these errors were encountered: