Zachary Ware added the comment:
The platform-specific modules have been removed.
--
nosy: +zach.ware
resolution: -> out of date
stage: -> resolved
status: open -> closed
superseder: -> Remove Lib/plat-*/* files
___
Python tracker
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: -skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
___
___
Python-bugs-list
Stefan Krah added the comment:
See also #19554.
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
___
___
Python-bugs-list
Ramchandra Apte maniandra...@gmail.com added the comment:
+1 for this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
___
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 6159311f0f44 by Victor Stinner in branch 'default':
Issue #12619: Expose socket.SO_BINDTODEVICE constant
http://hg.python.org/cpython/rev/6159311f0f44
--
___
Python
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: -petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
___
___
Python-bugs-list
Jakub Wilk jw...@jwilk.net added the comment:
* STINNER Victor rep...@bugs.python.org, 2011-10-19, 22:55:
FYI, in Debian we have at least:
one package using the CDROM module,
Is it cdsuite? (http://offog.org/code/cdsuite.html)
No, Freevo http://freevo.sourceforge.net/.
3 packages using the IN
STINNER Victor victor.stin...@haypocalc.com added the comment:
For Freevo: yes, it uses the CDROM module. But this module doesn't look to be
perfect because Freevo has a fallback for FreeBSD and another for... Linux
(because of missing CDROM.CDROM_DRIVE_STATUS?):
-
Charles-François Natali neolo...@free.fr added the comment:
Related : #1565071 and #3990 . There is no reason to keep plat-xxx files if
cannot be managed properly.
+1
--
___
Python tracker rep...@bugs.python.org
Marc-Andre Lemburg m...@egenix.com added the comment:
I don't see why these modules should be auto-generated. The constants
in the modules hardly ever change and are also not affected by architecture
differences (e.g. Mac OS X, Solaris, etc.) AFAICT.
If you think they need to be auto-generated,
STINNER Victor victor.stin...@haypocalc.com added the comment:
you should make a case by example
Did you read comments of this issue and my email thread on python-dev? There
are differents examples:
- LONG_MAX is 9223372036854775807 even on 32 bits system
- On Mac OS X, FAT programs
Martin v. Löwis mar...@v.loewis.de added the comment:
Victor, please accept that this entire infrastructure was originally added
because there was a need for it, and the need did not go away. It's probably
relevant only for a minority of applications, but you would make this
minority's lifes
Antoine Pitrou pit...@free.fr added the comment:
If they don't hurt, why remove them?
Bogus constants don't hurt?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
___
Jakub Wilk jw...@jwilk.net added the comment:
FYI, in Debian we have at least:
one package using the CDROM module,
3 packages using the IN module,
14 packages using the DLFCN module.
--
___
Python tracker rep...@bugs.python.org
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
you should make a case by example
Did you read comments of this issue and my email thread on python-dev?
No.
There are differents examples:
-
STINNER Victor victor.stin...@haypocalc.com added the comment:
I created the issue #13226 to provide RTLD_* constants on all platforms (not
only on Linux and sunos5).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
STINNER Victor victor.stin...@haypocalc.com added the comment:
There are differents examples:
- LONG_MAX is 9223372036854775807 even on 32 bits system
- On Mac OS X, FAT programs contains 32 and 64 binaries, whereas
constants are changed for 32 or 64 bits
That's because the h2py.py
STINNER Victor victor.stin...@haypocalc.com added the comment:
FYI, in Debian we have at least:
one package using the CDROM module,
Is it cdsuite? (http://offog.org/code/cdsuite.html)
3 packages using the IN module,
I found policykit (it uses IN.INT_MAX). What are the 2 others? Which
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Regeneration of platform-specific modules fixes concerns about their
outdateness and architecture differences (32-bit vs 64-bit, big endian vs
little endian).
Regeneration of given module could be performed only
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Related : #1565071 and #3990 . There is no reason to keep plat-xxx files if
cannot be managed properly.
--
nosy: +rpetrov
___
Python tracker rep...@bugs.python.org
Ned Deily n...@acm.org added the comment:
What do you do for platforms like OS X where we support one set of binary files
that contain multi-architecture C-files that can run as Intel-64, Intel-32 or
PPC-32 on the same machine at user option at run time? For example, the
Apple-suppled system
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
Removed file: http://bugs.python.org/file22726/python-regenerate_platdir.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
Added file: http://bugs.python.org/file23423/python-regenerate_platdir.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
STINNER Victor victor.stin...@haypocalc.com added the comment:
is auto-generation wanted?
For example, Lib/plat-linux/IN.py was regenerated at Nov 23 12:09:28 2002
(revision c2604d69aa5d) for the last time, and nobody complained. These modules
are inconsistent. For example, the IN module
Martin v. Löwis mar...@v.loewis.de added the comment:
-1 on auto-building. The header needed may not be available on the build
platform, if it is not normally needed to build Python.
--
___
Python tracker rep...@bugs.python.org
Changes by Jesus Rivero neurog...@gentoo.org:
--
nosy: +Neurogeek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
___
___
Python-bugs-list
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
I suggest that platform-specific modules be automatically regenerated during
installation. I'm attaching a patch.
--
files: python-regenerate_platdir.patch
keywords: patch
messages: 140952
nosy: Arfrever,
Éric Araujo mer...@netwok.org added the comment:
(Autotools/make newbie here) Why during install and not build?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
___
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
I don't care when they will be regenerated.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
___
Matthias Klose d...@debian.org added the comment:
is auto-generation wanted?
are you sure that you can't end up with bad syntax?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
___
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
The new patch creates platform-specific modules at build time and verifies
their syntax.
--
Added file: http://bugs.python.org/file22726/python-regenerate_platdir.patch
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
Removed file: http://bugs.python.org/file22723/python-regenerate_platdir.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12619
32 matches
Mail list logo