Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Unified Diff: ports/python_modules/ipython/nacl.patch

Issue 138913004: Build system for statically-linked Python. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Final update with merge against current naclports.py Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/python_modules/ipython/build.sh ('k') | ports/python_modules/ipython/pkg_info » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/python_modules/ipython/nacl.patch
===================================================================
new file mode 100644
--- /dev/null
+++ b/ports/python_modules/ipython/nacl.patch
@@ -0,0 +1,22 @@
+diff -r f628d005a84e IPython/external/pexpect/_pexpect.py
+--- a/IPython/external/pexpect/_pexpect.py Wed Dec 25 03:31:05 2013 +0000
++++ b/IPython/external/pexpect/_pexpect.py Mon Dec 30 16:24:58 2013 +0000
+@@ -70,7 +70,7 @@
+ import select
+ import re
+ import struct
+- import resource
++ #import resource
+ import types
+ import pty
+ import tty
+@@ -568,7 +568,8 @@
+ # This is a serious limitation, but not a show stopper.
+ pass
+ # Do not allow child to inherit open file descriptors from parent.
+- max_fd = resource.getrlimit(resource.RLIMIT_NOFILE)[0]
++ #max_fd = resource.getrlimit(resource.RLIMIT_NOFILE)[0]
++ max_fd = 1024
+ for i in range (3, max_fd):
+ try:
+ os.close (i)
« no previous file with comments | « ports/python_modules/ipython/build.sh ('k') | ports/python_modules/ipython/pkg_info » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698