[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] BUG: required modules not raising error when failing to import was Re: [pygame] Surfarray.array_alpha() bugfix, py2exe/py2app segfault
- To: pygame-users@xxxxxxxx
- Subject: [pygame] BUG: required modules not raising error when failing to import was Re: [pygame] Surfarray.array_alpha() bugfix, py2exe/py2app segfault
- From: René Dudfield <renesd@xxxxxxxxx>
- Date: Wed, 4 Feb 2009 14:16:47 +1100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 03 Feb 2009 22:16:50 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=uWX9FQb9n+IUYCv+ehZAdAHBjLVXhA8oOG1iedUbeLE=; b=bJj5pdIQJD8lPESlcpC3ypfk6pbx0tVf2Dk7iDMxssl98FPmPrrWF0D9v6dVEiQiF/ m36u/dS5rAMsHAt4LHzQODNur8C0ZmXUHWwNQ2ZPFb/xJxT6b4AfhHa5lDDnX6qpuM4z tlXImijm83BYhSJ1nyfF5gx+twddr3KlIAmuI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=s5YyWfU6Wqu4xCZNuOebyVYqfBhGxmzZq7nG3E657+3lvuizMUarEFfEBAMcSjWJFt 142GaNWnu9kxqVn/6YW1mNqOTvkOSUs5jK0ezUlPYYyWsIVsFWSLaso0xOvO1j5VoBQc x47SOH30FmBYbGTANMu6gDt9LBRVOQ1dYXO2g=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
ah yes, good one.
On Wed, Feb 4, 2009 at 2:07 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
> Simple. The bufferproxy module is not included in the executables. I would
> also check for surflock.
>
> The moral of the story, when critical modules are missing, they should not
> be quietly ignored. An exception has to be raised. Brian Fisher did this
> with _numericsurfarray when Numeric is missing. It simply fails to import. I
> did the same for _numericsndarray. Now it needs to be done for Pygame
> extention modules that rely on other Pygame modules.
>