[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.120,2.121
Greg Stein
gstein@lyra.org
Wed, 15 Dec 1999 19:11:53 -0800 (PST)
But this means that your tables no long reside in "const" space. Yet More
Per-Process Memory...
It would be nice to have those tables marked as "const".
-g
On Wed, 15 Dec 1999, Fred L. Drake wrote:
> Update of /projects/cvsroot/python/dist/src/Modules
> In directory weyr:/home/fdrake/projects/python/Modules
>
> Modified Files:
> posixmodule.c
> Log Message:
>
> Rip out the code to check the ordering of the tables used to map
> strings to integers for the *conf*() functions.
>
> Added code to sort the tables at module initialization. Three
> dictionaries, confstr_names, sysconf_names, and pathconf_names, are
> added to the module as well. These map known configuration setting
> names to the numeric value which is used to represent the setting in
> the system call. This code is always called.
--
Greg Stein, http://www.lyra.org/