Skip to content
Snippets Groups Projects
Commit ea9bffec authored by Matthias Klose's avatar Matthias Klose
Browse files

package version python-defaults-2.3.5-4

parent dc9108bc
No related branches found
No related tags found
No related merge requests found
python-defaults (2.3.5-4) unstable; urgency=low
* Add a package python-minimal. This package still depends on python2.3,
will depend on python2.4-minimal when changing the default python version.
* Add two dependency packages python-all and python-all-dev. These
packages are used as build dependencies to determine the set of
python version and implementations, which should be / currently are
supported. Currently it depends on python2.3 and python2.4. Future
versions may add an updated version of jython and ironpython.
* Update FAQ.
-- Matthias Klose <doko@debian.org> Thu, 12 Jan 2006 00:32:32 +0100
python-defaults (2.3.5-3) unstable; urgency=low
* Add python-dbg package.
......
......@@ -3,7 +3,7 @@ Section: python
Priority: optional
Maintainer: Matthias Klose <doko@debian.org>
Build-Depends-Indep: debhelper (>= 4), libhtml-tree-perl, debiandoc-sgml, python-docutils
Standards-Version: 3.6.1
Standards-Version: 3.6.2
Package: python
Architecture: all
......@@ -22,6 +22,22 @@ Description: An interactive high-level object-oriented language (default version
This package is a dependency package, which depends on Debian's default
Python version (currently v2.3).
Package: python-minimal
Architecture: all
Essential: yes
Priority: required
Depends: python2.3 (>= 2.3.4-18)
Conflicts: python (<< 2.3.5-4)
Replaces: python (<< 2.3.5-4)
Description: A minimal subset of the Python language (default version)
This package contains the interpreter and some essential modules. It's used
in the boot process for some basic tasks.
See /usr/share/doc/python-minimal/README.Debian for a list of the modules
contained in this package.
.
NOTE: There is no python2.3-minimal package yet, this package will depend
on the python2.4-minimal package after a change of default python version.
Package: python-tk
Architecture: all
Depends: python (>= 2.3), python (<< 2.4), python2.3-tk (>= 2.3.4-18)
......@@ -119,3 +135,27 @@ Depends: python (>= 2.3), python2.3-dbg (>= 2.3.4-18)
Description: Debug Build of the Python Interpreter (version 2.3)
Python interpreter configured with --pydebug. Dynamically loaded modules are
searched in /usr/lib/python2.3/lib-dynload/debug first.
Package: python-all
Architecture: all
Priority: optional
Depends: python2.3, python2.4
Description: Package depending on all supported Python runtime versions
The package currently depends on python2.3 and python2.4, in the future,
dependencies on jython (Python for a JVM) and ironpython (Python for Mono)
may be added.
.
This package is used as a build dependency for other packages to
avoid hardcoded dependencies on specific Python runtimes.
Package: python-all-dev
Architecture: all
Priority: optional
Depends: python-all (>= 2.3), python2.3-dev, python2.4-dev
Description: Package depending on all supported Python development packages
The package currently depends on python2.3-dev and python2.4-dev, in the
future, dependencies on jython (Python for a JVM) and ironpython (Python
for Mono) may be added.
.
This package is used as a build dependency for other packages to
avoid hardcoded dependencies on specific Python development packages.
......@@ -3,7 +3,7 @@ Section: python
Priority: optional
Maintainer: Matthias Klose <doko@debian.org>
Build-Depends-Indep: debhelper (>= 4), libhtml-tree-perl, debiandoc-sgml, python-docutils
Standards-Version: 3.6.1
Standards-Version: 3.6.2
Package: python
Architecture: all
......@@ -22,6 +22,22 @@ Description: An interactive high-level object-oriented language (default version
This package is a dependency package, which depends on Debian's default
Python version (currently v@VER@).
Package: python-minimal
Architecture: all
Essential: yes
Priority: required
Depends: @PVER@ (>= @PREVVER@)
Conflicts: python (<< 2.3.5-4)
Replaces: python (<< 2.3.5-4)
Description: A minimal subset of the Python language (default version)
This package contains the interpreter and some essential modules. It's used
in the boot process for some basic tasks.
See /usr/share/doc/python-minimal/README.Debian for a list of the modules
contained in this package.
.
NOTE: There is no python2.3-minimal package yet, this package will depend
on the python2.4-minimal package after a change of default python version.
Package: python-tk
Architecture: all
Depends: python (>= @VER@), python (<< @NVER@), @PVER@-tk (>= @PREVVER@)
......@@ -119,3 +135,27 @@ Depends: python (>= @VER@), python@VER@-dbg (>= @PREVVER@)
Description: Debug Build of the Python Interpreter (version @VER@)
Python interpreter configured with --pydebug. Dynamically loaded modules are
searched in /usr/lib/python@VER@/lib-dynload/debug first.
Package: python-all
Architecture: all
Priority: optional
Depends: python2.3, python2.4
Description: Package depending on all supported Python runtime versions
The package currently depends on python2.3 and python2.4, in the future,
dependencies on jython (Python for a JVM) and ironpython (Python for Mono)
may be added.
.
This package is used as a build dependency for other packages to
avoid hardcoded dependencies on specific Python runtimes.
Package: python-all-dev
Architecture: all
Priority: optional
Depends: python-all (>= @VER@), python2.3-dev, python2.4-dev
Description: Package depending on all supported Python development packages
The package currently depends on python2.3-dev and python2.4-dev, in the
future, dependencies on jython (Python for a JVM) and ironpython (Python
for Mono) may be added.
.
This package is used as a build dependency for other packages to
avoid hardcoded dependencies on specific Python development packages.
......@@ -16,4 +16,4 @@ Python Frequently Asked Question Lists
This is a local copy of the online FAQ located at
http://python.org/doc/faq.
The copy was fetched and generated in February 2005.
The copy was fetched and generated in January 2006.
......@@ -5,8 +5,8 @@ Content-type: text/x-rst
Extending/Embedding FAQ
====================================
:Date: $Date: 2004/04/08 15:05:47 $
:Version: $Revision: 1.4 $
:Date: $Date: 2004-04-08 17:05:47 +0200 (Thu, 08 Apr 2004) $
:Version: $Revision: 7294 $
:Web site: http://www.python.org/
.. contents::
......
......@@ -5,8 +5,8 @@ Content-type: text/x-rst
General Python FAQ
====================================
:Date: $Date: 2004/10/20 17:10:37 $
:Version: $Revision: 1.21 $
:Date: $Date: 2005-12-17 03:21:20 +0100 (Sat, 17 Dec 2005) $
:Version: $Revision: 8684 $
:Web site: http://www.python.org/
.. contents::
......@@ -90,7 +90,7 @@ interfaces (system calls, filesystems, TCP/IP sockets). Look at the
table of contents for `the Library Reference
<http://docs.python.org/lib/>`_ to get an idea of what's available.
A wide variety of third-party extensions are also available.
Consult `the Python Package Index <http://www.python.org/pypi>`_ to find
Consult `the Python Package Index <http://cheeseshop.python.org/pypi>`_ to find
packages of interest to you.
......@@ -307,7 +307,7 @@ managed for stability; only fixes for known problems are included in a
bugfix release, and it's guaranteed that interfaces will remain the
same throughout a series of bugfix releases.
The `2.3.3 release <../../2.3.3/>`_ is the most stable
The `2.4.1 release <../../2.4.1/>`_ is the most stable
version at this point in time.
......@@ -618,7 +618,7 @@ two numbers is less than a certain threshold::
...
Please see the chapter on
`floating point arithmetic <http://docs.python.org/tut/node15.html>`_
`floating point arithmetic <http://docs.python.org/tut/node16.html>`_
in the Python tutorial for more information.
......@@ -674,7 +674,9 @@ have declarations and it would be a pity having to introduce them just for
this purpose. Using the explicit "self.var" solves this nicely. Similarly,
for using instance variables, having to write "self.var" means that
references to unqualified names inside a method don't have to search the
instance's directories.
instance's directories. To put it another way, local variables and
instance variables live in two different namespaces, and you need to
tell Python which namespace to use.
Why can't I use an assignment in an expression?
......
......@@ -5,8 +5,8 @@ Content-type: text/x-rst
Graphic User Interface FAQ
====================================
:Date: $Date: 2003/09/05 00:00:23 $
:Version: $Revision: 1.5 $
:Date: $Date: 2003-09-05 02:00:23 +0200 (Fri, 05 Sep 2003) $
:Version: $Revision: 6607 $
:Web site: http://www.python.org/
.. contents::
......
......@@ -5,8 +5,8 @@ Content-type: text/x-rst
Python Library and Extension FAQ
====================================
:Date: $Date: 2003/11/02 09:39:28 $
:Version: $Revision: 1.12 $
:Date: $Date: 2005-12-17 03:21:20 +0100 (Sat, 17 Dec 2005) $
:Version: $Revision: 8684 $
:Web site: http://www.python.org/
.. contents::
......@@ -22,7 +22,7 @@ Check `the Library Reference <http://www.python.org/doc/lib/>`_ to see
if there's a relevant standard library module. (Eventually you'll
learn what's in the standard library and will able to skip this step.)
Search the `Python Package Index <http://www.python.org/pypi>`_.
Search the `Python Package Index <http://cheeseshop.python.org/pypi>`_.
Next, check the `Vaults of Parnassus <http://www.vex.net/parnassus/>`_,
an older index of packages.
......
......@@ -5,8 +5,8 @@ Content-type: text/x-rst
Programming FAQ
====================================
:Date: $Date: 2004/07/30 21:38:58 $
:Version: $Revision: 1.19 $
:Date: $Date: 2005-12-22 06:00:52 +0100 (Thu, 22 Dec 2005) $
:Version: $Revision: 8721 $
:Web site: http://www.python.org/
.. contents::
......@@ -161,8 +161,7 @@ shouldn't pay the costs of reduced clarity (increased development
time, greater likelihood of bugs) unless the resulting performance
benefit is worth it.
Skip Montanaro has a page of tips for speeding up Python code at
http://manatee.mojam.com/~skip/python/fastpython.html.
There is a page on the wiki devoted to `performance tips <http://wiki.python.org/moin/PythonSpeed/PerformanceTips>`_.
Guido van Rossum has written up an anecdote related to optimization at
http://www.python.org/doc/essays/list2str.html.
......@@ -227,7 +226,7 @@ Consider using the string formatting operations
``string % tuple`` and ``string % dictionary``.
Be sure to use the ``list.sort()`` builtin method to do sorting, and see
the `sorting mini-HOWTO <http://www.amk.ca/python/howto/sorting/>`_ for examples of moderately advanced usage.
the `sorting mini-HOWTO <http://wiki.python.org/moin/HowTo/Sorting>`_ for examples of moderately advanced usage.
``list.sort()`` beats other techniques for sorting in all but the most
extreme circumstances.
......@@ -1323,6 +1322,10 @@ A method defined as ``meth(self, a, b, c)`` should be called as
definition occurs; the called method will think it is called as
``meth(x, a, b, c)``.
See also
`Why must 'self' be used explicitly in method definitions and calls?
<general.html#why-must-self-be-used-explicitly-in-method-definitions-and-calls>`_
How do I check if an object is an instance of a given class or of a subclass of it?
-------------------------------------------------------------------------------------------
......
......@@ -5,8 +5,8 @@ Content-type: text/x-rst
Python Windows FAQ
====================================
:Date: $Date: 2003/12/05 03:27:09 $
:Version: $Revision: 1.4 $
:Date: $Date: 2005-07-26 15:21:45 +0200 (Tue, 26 Jul 2005) $
:Version: $Revision: 8295 $
:Web site: http://www.python.org/
.. contents::
......@@ -200,8 +200,8 @@ How do I make python scripts executable?
On Windows 2000, the standard Python installer already associates the
.py extension with a file type (Python.File) and gives that file type
an open command that runs the interpreter (D:\Program
Files\Python\python.exe "%1" %*). This is enough to make scripts
an open command that runs the interpreter (D:\\Program
Files\\Python\\python.exe "%1" %*). This is enough to make scripts
executable from the command prompt as 'foo.py'. If you'd rather be
able to execute the script by simple typing 'foo' with no extension
you need to add .py to the PATHEXT environment variable.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment