Skip to content
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

fix for catastrophic backtracking #79

Merged
merged 4 commits into from
Feb 28, 2018
Merged

Conversation

JensTimmerman
Copy link
Contributor

No description provided.

@@ -1115,7 +1115,12 @@ def run(self):
fullname = self.distribution.get_fullname()

url = self.distribution.get_url()
gh_reg = re.search(r'^.*?://([^/]*github[^/]*)/', url)
# this is a regex with catastrophic backtracking, so limit the length of url. This takes 10 secs to process on
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line too long

@stdweird stdweird merged commit 24521c1 into hpcugent:master Feb 28, 2018
@boegel
Copy link
Member

boegel commented Feb 28, 2018

I tried pushing this update to PyPI (since not having it there breaks stuff, see #63), but it failed:

error: Upload failed (400): '[email protected];[email protected];[email protected]' is an invalid value for Author-email. Error: Invalid email address see https://packaging.python.org/specifications/core-metadata

Seems like we should be using <mail1>, <mail2> as format, see https://packaging.python.org/specifications/core-metadata/#author-email-optional.

I'll issue a PR to try and fix.

@JensTimmerman JensTimmerman deleted the pylintfix branch February 28, 2018 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants