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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ports/python_modules/ipython/build.sh ('k') | ports/python_modules/ipython/pkg_info » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff -r f628d005a84e IPython/external/pexpect/_pexpect.py
2 --- a/IPython/external/pexpect/_pexpect.py Wed Dec 25 03:31:05 2013 +0000
3 +++ b/IPython/external/pexpect/_pexpect.py Mon Dec 30 16:24:58 2013 +0000
4 @@ -70,7 +70,7 @@
5 import select
6 import re
7 import struct
8 - import resource
9 + #import resource
10 import types
11 import pty
12 import tty
13 @@ -568,7 +568,8 @@
14 # This is a serious limitation, but not a show stopper.
15 pass
16 # Do not allow child to inherit open file descriptors from parent.
17 - max_fd = resource.getrlimit(resource.RLIMIT_NOFILE)[0]
18 + #max_fd = resource.getrlimit(resource.RLIMIT_NOFILE)[0]
19 + max_fd = 1024
20 for i in range (3, max_fd):
21 try:
22 os.close (i)
OLDNEW
« 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