Skip to content

Commit

Permalink
python: drop inreplace that was fixed upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Mar 31, 2014
1 parent 71bc2d9 commit 7071837
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Formula/python.rb
Expand Up @@ -157,16 +157,6 @@ def install
prefix=#{HOMEBREW_PREFIX}
EOF

# Work-around for that bug: http://bugs.python.org/issue18050
inreplace lib_cellar/"re.py", "import sys", <<-EOS.undent
import sys
try:
from _sre import MAXREPEAT
except ImportError:
import _sre
_sre.MAXREPEAT = 65535 # this monkey-patches all other places of "from _sre import MAXREPEAT"'
EOS

# Fixes setting Python build flags for certain software
# See: https://github.com/Homebrew/homebrew/pull/20182
# http://bugs.python.org/issue3588
Expand Down

0 comments on commit 7071837

Please sign in to comment.