This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Allow use of > 256 FD's on solaris in 32 bit mode
Type: enhancement Stage:
Components: Interpreter Core Versions: Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: loewis, movement, pajs@fodder.org.uk, pitrou, ross, terry.reedy
Priority: normal Keywords:

Created on 2008-12-09 12:51 by pajs@fodder.org.uk, last changed 2022-04-11 14:56 by admin.

Messages (4)
msg77410 - (view) Author: Peter Saunders (pajs@fodder.org.uk) Date: 2008-12-09 12:51
Feature Request:

Could configure etc be modified to detect if it can use
enable_extended_FILE_stdio() to allow solaris to use > 256 FD's while
still be compiled 32 bit. This is a new feature in Solaris 10 (came in
Update 4). 

Some futher infomation on this:

http://developers.sun.com/solaris/articles/stdio_256.html  (Scroll to
"Programming Solutions")

http://docs.sun.com/app/docs/doc/819-2243/enable-extended-file-stdio-3c?a=view
msg109660 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2010-07-09 01:25
I have no idea if this is possible or applicable to 3.x, but 3.2 is the earliest version for new features.
msg109709 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-07-09 10:52
3.x doesn't use FILE pointers for the main I/O library (it uses unbuffered I/O instead). It only uses them for importing, and a couple of extension modules such as bz2 and zipimport.

It might still mean, though, that a Python program opening many files might fail importing a module afterwards.
msg228116 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-10-01 20:49
@Peter could you provide a patch for this?
History
Date User Action Args
2022-04-11 14:56:42adminsetgithub: 48859
2019-04-26 20:43:16BreamoreBoysetnosy: - BreamoreBoy
2014-10-01 20:49:17BreamoreBoysetnosy: + BreamoreBoy

messages: + msg228116
versions: + Python 3.5, - Python 3.2
2010-07-09 10:52:25pitrousetnosy: + pitrou, loewis
messages: + msg109709
2010-07-09 01:25:55terry.reedysetnosy: + terry.reedy

messages: + msg109660
versions: + Python 3.2, - Python 2.6, Python 2.5
2009-02-25 04:43:29rosssetnosy: + ross
2009-02-16 00:59:09movementsetnosy: + movement
2008-12-09 12:51:36pajs@fodder.org.uksetcomponents: + Interpreter Core, - Distutils
2008-12-09 12:51:13pajs@fodder.org.uksettype: enhancement
components: + Distutils, - Interpreter Core
2008-12-09 12:51:05pajs@fodder.org.ukcreate