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

Use CRegExp trait for regular expressions. #1718

Merged
merged 2 commits into from May 13, 2012

Conversation

bfroehle
Copy link
Contributor

Now that we have this CRegExp trait, I suppose we should use it.

I've searched through the source and identified a few instances of configurable regular expressions in parallel/apps/launcher.py.

One immediate benefit is that IPython now validates the regular expression at config time instead of when the value is first used.

@minrk
Copy link
Member

minrk commented May 10, 2012

Makes perfect sense, thanks. I don't see how this could fail, but these are not tested quantities, so I will try to run some tests in deployment over the next few days (and possibly try to write some automated tests).

@minrk
Copy link
Member

minrk commented May 13, 2012

Works in my basic PBS/SGE environments, so merging away, thanks!

@minrk
Copy link
Member

minrk commented May 13, 2012

Test results for commit 5ba8058 merged into master
Platform: darwin

  • python2.6: OK (libraries not available: matplotlib pymongo qt tornado wx wx.aui)
  • python2.7: OK (libraries not available: wx wx.aui)
  • python3.2: OK (libraries not available: matplotlib pymongo qt wx wx.aui)

Not available for testing: python3.1

@minrk
Copy link
Member

minrk commented May 13, 2012

Test results for commit 5ba8058 merged into master
Platform: linux2

  • python2.7: OK (libraries not available: pymongo wx wx.aui)
  • python3.2: OK (libraries not available: matplotlib pymongo qt wx wx.aui)

Not available for testing:

minrk added a commit that referenced this pull request May 13, 2012
Use CRegExp trait for regular expressions in parallel launchers
@minrk minrk merged commit bcf5311 into ipython:master May 13, 2012
@minrk
Copy link
Member

minrk commented May 13, 2012

Test results for commit 5ba8058 merged into master
Platform: linux2

  • python2.7: OK (libraries not available: pymongo wx wx.aui)
  • python3.2: OK (libraries not available: matplotlib pymongo qt wx wx.aui)

Not available for testing:

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Use CRegExp trait for regular expressions in parallel launchers
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.

None yet

2 participants