Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.
...math background and interest in scientific problems do not hold. We also expect that Scheme, a language that excels in exposing the fundamental building blocks of computation for pedagogical purposes, would be inappropriate for a mass audience. It is interesting to note, however, that one of the key parts of the TeachScheme project is a development environment. While the audiences and approach are different, our project and TeachScheme share a sense that the development environment i...
...Math" distribution, which is intended as a restricted subset of Python (i.e. not all modules included in distro). Open and unclear request about the website/project WTactics.org. Carl Trachte identified a likely problematic derivative with pugce. This should be addressed, but has not currently. Doug Napoleone identified a probably dilutive derived logo by psycopg. I need to followup with them to resolve this. Find some PSF member or other helpful Pythonista to produce dark background logo...
...math >>> math.pi.__init__(3.0) >>> print math.pi 3.0 >>> I could have fixed this problem in other ways, for example by adding an "already initialized" flag or only allowing __init__ to be called on subclass instances, but those solutions are inelegant. Instead, I added __new__, which is a perfectly general mechanism that can be used by built-in and user-defined classes, for immutable and mutable objects. Here are some rules for __new__: __new__ is a static...
...math >>> math.pi.__init__(3.0) >>> print math.pi 3.0 >>> I could have fixed this problem in other ways, for example by adding an "already initialized" flag or only allowing __init__ to be called on subclass instances, but those solutions are inelegant. Instead, I added __new__, which is a perfectly general mechanism that can be used by built-in and user-defined classes, for immutable and mutable objects. Here are some rules for __new__: __new__ is a static method. When d...
...math.log() now takes an optional base argument so that its API matches math.log(). Bug #957381: distutils bdist_rpm no longer fails on recent RPM versions that generate a -debuginfo.rpm os.path.devnull has been added for all supported platforms. Fixed #877165: distutils now picks the right C++ compiler command on cygwin and mingw32. urllib.urlopen().readline() now handles HTTP/0.9 correctly. refactored site.py into functions. Also wrote regression tests for the module. The distutils install com...
...mathematical flavor) or web-programming topics such as HTML and JavaScript. Unfortunately, both of these approaches have serious limitations. If a course is excessively formal and mathematical, it may only appeal to computer science majors and students of a technical mindset. On the other hand, Web-programming courses, while capitalizing greatly on the popularity of the Internet, tend to narrowly focus on specific technologies such as HTML, Perl, or JavaScript. As a result students learn ...
...math.degrees() and math.radians(). math.log() now takes an optional argument: math.log(x[, base]). ftplib.retrlines() now tests for callback is None rather than testing for False. Was causing an error when given a callback object which was callable but also returned len() as zero. The change may create new breakage if the caller relied on the undocumented behavior and called with callback set to [] or some other False value not identical to None. random.gauss() uses a piece of hidden state...
If you didn't find what you need, try your search in the Python language documentation.