[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] [report] modules Pygame imports
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] [report] modules Pygame imports
- From: "René Dudfield" <renesd@xxxxxxxxx>
- Date: Tue, 9 Dec 2008 12:17:39 +1100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Mon, 08 Dec 2008 20:18:19 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=UYjsgyk0/K3wRvpm6+8ucrkAk+Bt91pHpBBC0LjCQXQ=; b=UNaYcA+y203pih6HyTy7iOjzYvpFuX1tK3/O4VQVI8oG1aOTfH3JuSpy8UqNHL+Xgt WfJwR/d2V9TmRkYOZBCkvSuDCQep2YhX38XD3JEUZZIya3BOeDqM7yvjTbwwlOB/GXyg 1/95+DVkuBI0s+c4PVd42rDvpdDAR23skLfB8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FzczRgt3gU9DRLOXTLsv8w85fma0isQ1oYWkdRCkABcY299oXthwwKa7N5U51bujY1 NtHB9y3qKOCHqXlx4P70fUoWvzzKmVDKi612yHYyrI3JqOAsgqzD1cRJtyrTEflP/75U F099e6pQcbhjHyK5ySRNp8CPm5kJIazlKPwWA=
- In-reply-to: <493DC233.3020404@xxxxxxxxx>
- References: <493DC233.3020404@xxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Could be a useful script to run the tests through :)
On Tue, Dec 9, 2008 at 11:56 AM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
> Hi,
>
> Some Pygame 1.9 import information for those who are curious. Please feel
> free to ignore. I ran a module usage tool (experimental) on Pygame to see
> what is imported. These results are for "import pygame" on Windows with
> numpy installed.
>
> == modules imported but no attributes accessed ==
>
> pygame package: _numpysndarray, _numpysurfarray, bufferproxy, cdrom,
> colordict, cursors, display, draw, fastevent, font, image, imageext,
> joystick, key, mixer, mixer_music, mouse, movie, rwobject, scrap, sndarray,
> sprite, surfarray, surflock, transform
>
> numpy package: add_newdocs, core._internal, core._sort, core.scalarmath,
> ctypeslib, lib.format, lib.scimath, linalg.lapack_lite, testing.decorators
>
> other modules: imp, math, string
>
> == modules imported and accessed ==
>
> pygame package: base, color, constants, event, overlay, pixelarray, rect,
> surface, time, version
>
> numpy package: __config__, _import_tools, core, core.arrayprint,
> core.defchararray, core.defmatrix, core.fromnumeric, core.info, core.memmap,
> core.multiarray,
> core.numeric, core.numerictypes, core.records, core.umath, fft, fft.fftpack,
> fft.fftpack_lite, fft.helper, fft.info, lib, lib._compiled_base,
> lib._datasource, lib.arraysetops, lib.arrayterator, lib.financial,
> lib.function_base, lib.getlimits, lib.index_tricks, lib.info, lib.io,
> lib.machar, lib.polynomial, lib.shape_base, lib.stride_tricks,
> lib.twodim_base, lib.type_check, lib.ufunclike, lib.utils, linalg,
> linalg.info, linalg.linalg, ma, ma.core, ma.extras, random, random.info,
> random.mtrand, testing, testing.nosetester, testing.numpytest,
> testing.parametric, testing.utils, version
>
> other modules: __future__, _sre, cPickle, cStringIO, itertools, re, shutil,
> sre, sre_compile, sre_constants, sre_parse, strop, unittest
>
>
> There are limitations in the report. In determining module accesses
> behind-the-scenes extension modules accesses may be missed. Also side
> effects are not considered. Also usage information is not very useful unless
> compiled for an actual application. But it is still a sizable list.
>
> I can make the reporting tool available if anyone wants to try it on their
> game.
>
> --
> Lenard Lindstrom
> <len-l@xxxxxxxxx>
>
>