Merge lp:~jtaylor/ubuntu/precise/python-numpy/merge-1.6 into lp:ubuntu/precise/python-numpy

Proposed by Julian Taylor
Status: Merged
Merge reported by: Julian Taylor
Merged at revision: not available
Proposed branch: lp:~jtaylor/ubuntu/precise/python-numpy/merge-1.6
Merge into: lp:ubuntu/precise/python-numpy
Diff against target: 142289 lines
To merge this branch: bzr merge lp:~jtaylor/ubuntu/precise/python-numpy/merge-1.6
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+92671@code.launchpad.net

Description of the change

merge numpy 1.6 from debian experimental into precise.
this merge would start the numpy transition, approved by mathias klose and barry warsaw.

numpy 1.6 is quite backward compatible with 1.5, only a few deprecated functions where removed.
A grep of the rdepends only showed two (maybe three) packages that need fixing:
veusz (fix available in unstable), nitime (looks like a simple fix), statsmodels (only used in testsuite, which succeeds so its probably no used)

18 packages using the C-api need rebuilding to be on the save side of abi compatibility and to get them to use the new features of dh_numpy.
http://people.canonical.com/~ubuntu-archive/transitions/numpy.html
They have been test rebuilt successfully.
The arch all packages do not need a rebuild.

I added the multiarch fix from this merge: https://code.launchpad.net/~jtaylor/ubuntu/precise/python-numpy/multiarch-fix-818867
Also the gfortran -shared patch was dropped, it is not needed anymore due to debhelper changes, one could readded it though to be on the safe side.

To post a comment you must log in.
Revision history for this message
Jani Monoses (jani) wrote :

This seems to have uploaded, can you close it so it does not show up the the sponsoring needed list?
Thanks

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed directory '.pc/02_build_dotblas.patch'
2=== removed directory '.pc/02_build_dotblas.patch/numpy'
3=== removed directory '.pc/02_build_dotblas.patch/numpy/core'
4=== removed file '.pc/02_build_dotblas.patch/numpy/core/setup.py'
5--- .pc/02_build_dotblas.patch/numpy/core/setup.py 2010-12-24 00:14:25 +0000
6+++ .pc/02_build_dotblas.patch/numpy/core/setup.py 1970-01-01 00:00:00 +0000
7@@ -1,840 +0,0 @@
8-import imp
9-import os
10-import sys
11-import shutil
12-from os.path import join
13-from numpy.distutils import log
14-from distutils.dep_util import newer
15-from distutils.sysconfig import get_config_var
16-import warnings
17-import re
18-
19-from setup_common import *
20-
21-# Set to True to enable multiple file compilations (experimental)
22-try:
23- os.environ['NPY_SEPARATE_COMPILATION']
24- ENABLE_SEPARATE_COMPILATION = True
25-except KeyError:
26- ENABLE_SEPARATE_COMPILATION = False
27-
28-# XXX: ugly, we use a class to avoid calling twice some expensive functions in
29-# config.h/numpyconfig.h. I don't see a better way because distutils force
30-# config.h generation inside an Extension class, and as such sharing
31-# configuration informations between extensions is not easy.
32-# Using a pickled-based memoize does not work because config_cmd is an instance
33-# method, which cPickle does not like.
34-try:
35- import cPickle as _pik
36-except ImportError:
37- import pickle as _pik
38-import copy
39-
40-class CallOnceOnly(object):
41- def __init__(self):
42- self._check_types = None
43- self._check_ieee_macros = None
44- self._check_complex = None
45-
46- def check_types(self, *a, **kw):
47- if self._check_types is None:
48- out = check_types(*a, **kw)
49- self._check_types = _pik.dumps(out)
50- else:
51- out = copy.deepcopy(_pik.loads(self._check_types))
52- return out
53-
54- def check_ieee_macros(self, *a, **kw):
55- if self._check_ieee_macros is None:
56- out = check_ieee_macros(*a, **kw)
57- self._check_ieee_macros = _pik.dumps(out)
58- else:
59- out = copy.deepcopy(_pik.loads(self._check_ieee_macros))
60- return out
61-
62- def check_complex(self, *a, **kw):
63- if self._check_complex is None:
64- out = check_complex(*a, **kw)
65- self._check_complex = _pik.dumps(out)
66- else:
67- out = copy.deepcopy(_pik.loads(self._check_complex))
68- return out
69-
70-PYTHON_HAS_UNICODE_WIDE = True
71-
72-def pythonlib_dir():
73- """return path where libpython* is."""
74- if sys.platform == 'win32':
75- return os.path.join(sys.prefix, "libs")
76- else:
77- return get_config_var('LIBDIR')
78-
79-def is_npy_no_signal():
80- """Return True if the NPY_NO_SIGNAL symbol must be defined in configuration
81- header."""
82- return sys.platform == 'win32'
83-
84-def is_npy_no_smp():
85- """Return True if the NPY_NO_SMP symbol must be defined in public
86- header (when SMP support cannot be reliably enabled)."""
87- # Python 2.3 causes a segfault when
88- # trying to re-acquire the thread-state
89- # which is done in error-handling
90- # ufunc code. NPY_ALLOW_C_API and friends
91- # cause the segfault. So, we disable threading
92- # for now.
93- if sys.version[:5] < '2.4.2':
94- nosmp = 1
95- else:
96- # Perhaps a fancier check is in order here.
97- # so that threads are only enabled if there
98- # are actually multiple CPUS? -- but
99- # threaded code can be nice even on a single
100- # CPU so that long-calculating code doesn't
101- # block.
102- try:
103- nosmp = os.environ['NPY_NOSMP']
104- nosmp = 1
105- except KeyError:
106- nosmp = 0
107- return nosmp == 1
108-
109-def win32_checks(deflist):
110- from numpy.distutils.misc_util import get_build_architecture
111- a = get_build_architecture()
112-
113- # Distutils hack on AMD64 on windows
114- print('BUILD_ARCHITECTURE: %r, os.name=%r, sys.platform=%r' % \
115- (a, os.name, sys.platform))
116- if a == 'AMD64':
117- deflist.append('DISTUTILS_USE_SDK')
118-
119- # On win32, force long double format string to be 'g', not
120- # 'Lg', since the MS runtime does not support long double whose
121- # size is > sizeof(double)
122- if a == "Intel" or a == "AMD64":
123- deflist.append('FORCE_NO_LONG_DOUBLE_FORMATTING')
124-
125-def check_math_capabilities(config, moredefs, mathlibs):
126- def check_func(func_name):
127- return config.check_func(func_name, libraries=mathlibs,
128- decl=True, call=True)
129-
130- def check_funcs_once(funcs_name):
131- decl = dict([(f, True) for f in funcs_name])
132- st = config.check_funcs_once(funcs_name, libraries=mathlibs,
133- decl=decl, call=decl)
134- if st:
135- moredefs.extend([fname2def(f) for f in funcs_name])
136- return st
137-
138- def check_funcs(funcs_name):
139- # Use check_funcs_once first, and if it does not work, test func per
140- # func. Return success only if all the functions are available
141- if not check_funcs_once(funcs_name):
142- # Global check failed, check func per func
143- for f in funcs_name:
144- if check_func(f):
145- moredefs.append(fname2def(f))
146- return 0
147- else:
148- return 1
149-
150- #use_msvc = config.check_decl("_MSC_VER")
151-
152- if not check_funcs_once(MANDATORY_FUNCS):
153- raise SystemError("One of the required function to build numpy is not"
154- " available (the list is %s)." % str(MANDATORY_FUNCS))
155-
156- # Standard functions which may not be available and for which we have a
157- # replacement implementation. Note that some of these are C99 functions.
158-
159- # XXX: hack to circumvent cpp pollution from python: python put its
160- # config.h in the public namespace, so we have a clash for the common
161- # functions we test. We remove every function tested by python's
162- # autoconf, hoping their own test are correct
163- if sys.version_info[:2] >= (2, 5):
164- for f in OPTIONAL_STDFUNCS_MAYBE:
165- if config.check_decl(fname2def(f),
166- headers=["Python.h", "math.h"]):
167- OPTIONAL_STDFUNCS.remove(f)
168-
169- check_funcs(OPTIONAL_STDFUNCS)
170-
171- # C99 functions: float and long double versions
172- check_funcs(C99_FUNCS_SINGLE)
173- check_funcs(C99_FUNCS_EXTENDED)
174-
175-def check_complex(config, mathlibs):
176- priv = []
177- pub = []
178-
179- # Check for complex support
180- st = config.check_header('complex.h')
181- if st:
182- priv.append('HAVE_COMPLEX_H')
183- pub.append('NPY_USE_C99_COMPLEX')
184-
185- for t in C99_COMPLEX_TYPES:
186- st = config.check_type(t, headers=["complex.h"])
187- if st:
188- pub.append(('NPY_HAVE_%s' % type2def(t), 1))
189-
190- def check_prec(prec):
191- flist = [f + prec for f in C99_COMPLEX_FUNCS]
192- decl = dict([(f, True) for f in flist])
193- if not config.check_funcs_once(flist, call=decl, decl=decl,
194- libraries=mathlibs):
195- for f in flist:
196- if config.check_func(f, call=True, decl=True,
197- libraries=mathlibs):
198- priv.append(fname2def(f))
199- else:
200- priv.extend([fname2def(f) for f in flist])
201-
202- check_prec('')
203- check_prec('f')
204- check_prec('l')
205-
206- return priv, pub
207-
208-def check_ieee_macros(config):
209- priv = []
210- pub = []
211-
212- macros = []
213-
214- def _add_decl(f):
215- priv.append(fname2def("decl_%s" % f))
216- pub.append('NPY_%s' % fname2def("decl_%s" % f))
217-
218- # XXX: hack to circumvent cpp pollution from python: python put its
219- # config.h in the public namespace, so we have a clash for the common
220- # functions we test. We remove every function tested by python's
221- # autoconf, hoping their own test are correct
222- _macros = ["isnan", "isinf", "signbit", "isfinite"]
223- if sys.version_info[:2] >= (2, 6):
224- for f in _macros:
225- py_symbol = fname2def("decl_%s" % f)
226- already_declared = config.check_decl(py_symbol,
227- headers=["Python.h", "math.h"])
228- if already_declared:
229- if config.check_macro_true(py_symbol,
230- headers=["Python.h", "math.h"]):
231- pub.append('NPY_%s' % fname2def("decl_%s" % f))
232- else:
233- macros.append(f)
234- else:
235- macros = _macros[:]
236- # Normally, isnan and isinf are macro (C99), but some platforms only have
237- # func, or both func and macro version. Check for macro only, and define
238- # replacement ones if not found.
239- # Note: including Python.h is necessary because it modifies some math.h
240- # definitions
241- for f in macros:
242- st = config.check_decl(f, headers = ["Python.h", "math.h"])
243- if st:
244- _add_decl(f)
245-
246- return priv, pub
247-
248-def check_types(config_cmd, ext, build_dir):
249- private_defines = []
250- public_defines = []
251-
252- # Expected size (in number of bytes) for each type. This is an
253- # optimization: those are only hints, and an exhaustive search for the size
254- # is done if the hints are wrong.
255- expected = {}
256- expected['short'] = [2]
257- expected['int'] = [4]
258- expected['long'] = [8, 4]
259- expected['float'] = [4]
260- expected['double'] = [8]
261- expected['long double'] = [8, 12, 16]
262- expected['Py_intptr_t'] = [4, 8]
263- expected['PY_LONG_LONG'] = [8]
264- expected['long long'] = [8]
265-
266- # Check we have the python header (-dev* packages on Linux)
267- result = config_cmd.check_header('Python.h')
268- if not result:
269- raise SystemError(
270- "Cannot compile 'Python.h'. Perhaps you need to "\
271- "install python-dev|python-devel.")
272- res = config_cmd.check_header("endian.h")
273- if res:
274- private_defines.append(('HAVE_ENDIAN_H', 1))
275- public_defines.append(('NPY_HAVE_ENDIAN_H', 1))
276-
277- # Check basic types sizes
278- for type in ('short', 'int', 'long'):
279- res = config_cmd.check_decl("SIZEOF_%s" % sym2def(type), headers = ["Python.h"])
280- if res:
281- public_defines.append(('NPY_SIZEOF_%s' % sym2def(type), "SIZEOF_%s" % sym2def(type)))
282- else:
283- res = config_cmd.check_type_size(type, expected=expected[type])
284- if res >= 0:
285- public_defines.append(('NPY_SIZEOF_%s' % sym2def(type), '%d' % res))
286- else:
287- raise SystemError("Checking sizeof (%s) failed !" % type)
288-
289- for type in ('float', 'double', 'long double'):
290- already_declared = config_cmd.check_decl("SIZEOF_%s" % sym2def(type),
291- headers = ["Python.h"])
292- res = config_cmd.check_type_size(type, expected=expected[type])
293- if res >= 0:
294- public_defines.append(('NPY_SIZEOF_%s' % sym2def(type), '%d' % res))
295- if not already_declared and not type == 'long double':
296- private_defines.append(('SIZEOF_%s' % sym2def(type), '%d' % res))
297- else:
298- raise SystemError("Checking sizeof (%s) failed !" % type)
299-
300- # Compute size of corresponding complex type: used to check that our
301- # definition is binary compatible with C99 complex type (check done at
302- # build time in npy_common.h)
303- complex_def = "struct {%s __x; %s __y;}" % (type, type)
304- res = config_cmd.check_type_size(complex_def, expected=2*expected[type])
305- if res >= 0:
306- public_defines.append(('NPY_SIZEOF_COMPLEX_%s' % sym2def(type), '%d' % res))
307- else:
308- raise SystemError("Checking sizeof (%s) failed !" % complex_def)
309-
310-
311- for type in ('Py_intptr_t',):
312- res = config_cmd.check_type_size(type, headers=["Python.h"],
313- library_dirs=[pythonlib_dir()],
314- expected=expected[type])
315-
316- if res >= 0:
317- private_defines.append(('SIZEOF_%s' % sym2def(type), '%d' % res))
318- public_defines.append(('NPY_SIZEOF_%s' % sym2def(type), '%d' % res))
319- else:
320- raise SystemError("Checking sizeof (%s) failed !" % type)
321-
322- # We check declaration AND type because that's how distutils does it.
323- if config_cmd.check_decl('PY_LONG_LONG', headers=['Python.h']):
324- res = config_cmd.check_type_size('PY_LONG_LONG', headers=['Python.h'],
325- library_dirs=[pythonlib_dir()],
326- expected=expected['PY_LONG_LONG'])
327- if res >= 0:
328- private_defines.append(('SIZEOF_%s' % sym2def('PY_LONG_LONG'), '%d' % res))
329- public_defines.append(('NPY_SIZEOF_%s' % sym2def('PY_LONG_LONG'), '%d' % res))
330- else:
331- raise SystemError("Checking sizeof (%s) failed !" % 'PY_LONG_LONG')
332-
333- res = config_cmd.check_type_size('long long',
334- expected=expected['long long'])
335- if res >= 0:
336- #private_defines.append(('SIZEOF_%s' % sym2def('long long'), '%d' % res))
337- public_defines.append(('NPY_SIZEOF_%s' % sym2def('long long'), '%d' % res))
338- else:
339- raise SystemError("Checking sizeof (%s) failed !" % 'long long')
340-
341- if not config_cmd.check_decl('CHAR_BIT', headers=['Python.h']):
342- raise RuntimeError(
343- "Config wo CHAR_BIT is not supported"\
344- ", please contact the maintainers")
345-
346- return private_defines, public_defines
347-
348-def check_mathlib(config_cmd):
349- # Testing the C math library
350- mathlibs = []
351- mathlibs_choices = [[],['m'],['cpml']]
352- mathlib = os.environ.get('MATHLIB')
353- if mathlib:
354- mathlibs_choices.insert(0,mathlib.split(','))
355- for libs in mathlibs_choices:
356- if config_cmd.check_func("exp", libraries=libs, decl=True, call=True):
357- mathlibs = libs
358- break
359- else:
360- raise EnvironmentError("math library missing; rerun "
361- "setup.py after setting the "
362- "MATHLIB env variable")
363- return mathlibs
364-
365-def visibility_define(config):
366- """Return the define value to use for NPY_VISIBILITY_HIDDEN (may be empty
367- string)."""
368- if config.check_compiler_gcc4():
369- return '__attribute__((visibility("hidden")))'
370- else:
371- return ''
372-
373-def configuration(parent_package='',top_path=None):
374- from numpy.distutils.misc_util import Configuration,dot_join
375- from numpy.distutils.system_info import get_info, default_lib_dirs
376-
377- config = Configuration('core',parent_package,top_path)
378- local_dir = config.local_path
379- codegen_dir = join(local_dir,'code_generators')
380-
381- if is_released(config):
382- warnings.simplefilter('error', MismatchCAPIWarning)
383-
384- # Check whether we have a mismatch between the set C API VERSION and the
385- # actual C API VERSION
386- check_api_version(C_API_VERSION, codegen_dir)
387-
388- generate_umath_py = join(codegen_dir,'generate_umath.py')
389- n = dot_join(config.name,'generate_umath')
390- generate_umath = imp.load_module('_'.join(n.split('.')),
391- open(generate_umath_py,'U'),generate_umath_py,
392- ('.py','U',1))
393-
394- header_dir = 'include/numpy' # this is relative to config.path_in_package
395-
396- cocache = CallOnceOnly()
397-
398- def generate_config_h(ext, build_dir):
399- target = join(build_dir,header_dir,'config.h')
400- d = os.path.dirname(target)
401- if not os.path.exists(d):
402- os.makedirs(d)
403-
404- if newer(__file__,target):
405- config_cmd = config.get_config_cmd()
406- log.info('Generating %s',target)
407-
408- # Check sizeof
409- moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
410-
411- # Check math library and C99 math funcs availability
412- mathlibs = check_mathlib(config_cmd)
413- moredefs.append(('MATHLIB',','.join(mathlibs)))
414-
415- check_math_capabilities(config_cmd, moredefs, mathlibs)
416- moredefs.extend(cocache.check_ieee_macros(config_cmd)[0])
417- moredefs.extend(cocache.check_complex(config_cmd, mathlibs)[0])
418-
419- # Signal check
420- if is_npy_no_signal():
421- moredefs.append('__NPY_PRIVATE_NO_SIGNAL')
422-
423- # Windows checks
424- if sys.platform=='win32' or os.name=='nt':
425- win32_checks(moredefs)
426-
427- # Inline check
428- inline = config_cmd.check_inline()
429-
430- # Check whether we need our own wide character support
431- if not config_cmd.check_decl('Py_UNICODE_WIDE', headers=['Python.h']):
432- PYTHON_HAS_UNICODE_WIDE = True
433- else:
434- PYTHON_HAS_UNICODE_WIDE = False
435-
436- if ENABLE_SEPARATE_COMPILATION:
437- moredefs.append(('ENABLE_SEPARATE_COMPILATION', 1))
438-
439- # Get long double representation
440- if sys.platform != 'darwin':
441- rep = check_long_double_representation(config_cmd)
442- if rep in ['INTEL_EXTENDED_12_BYTES_LE',
443- 'INTEL_EXTENDED_16_BYTES_LE',
444- 'IEEE_QUAD_LE', 'IEEE_QUAD_BE',
445- 'IEEE_DOUBLE_LE', 'IEEE_DOUBLE_BE',
446- 'DOUBLE_DOUBLE_BE']:
447- moredefs.append(('HAVE_LDOUBLE_%s' % rep, 1))
448- else:
449- raise ValueError("Unrecognized long double format: %s" % rep)
450-
451- # Py3K check
452- if sys.version_info[0] == 3:
453- moredefs.append(('NPY_PY3K', 1))
454-
455- # Generate the config.h file from moredefs
456- target_f = open(target, 'w')
457- for d in moredefs:
458- if isinstance(d,str):
459- target_f.write('#define %s\n' % (d))
460- else:
461- target_f.write('#define %s %s\n' % (d[0],d[1]))
462-
463- # define inline to our keyword, or nothing
464- target_f.write('#ifndef __cplusplus\n')
465- if inline == 'inline':
466- target_f.write('/* #undef inline */\n')
467- else:
468- target_f.write('#define inline %s\n' % inline)
469- target_f.write('#endif\n')
470-
471- # add the guard to make sure config.h is never included directly,
472- # but always through npy_config.h
473- target_f.write("""
474-#ifndef _NPY_NPY_CONFIG_H_
475-#error config.h should never be included directly, include npy_config.h instead
476-#endif
477-""")
478-
479- target_f.close()
480- print('File:',target)
481- target_f = open(target)
482- print(target_f.read())
483- target_f.close()
484- print('EOF')
485- else:
486- mathlibs = []
487- target_f = open(target)
488- for line in target_f.readlines():
489- s = '#define MATHLIB'
490- if line.startswith(s):
491- value = line[len(s):].strip()
492- if value:
493- mathlibs.extend(value.split(','))
494- target_f.close()
495-
496- # Ugly: this can be called within a library and not an extension,
497- # in which case there is no libraries attributes (and none is
498- # needed).
499- if hasattr(ext, 'libraries'):
500- ext.libraries.extend(mathlibs)
501-
502- incl_dir = os.path.dirname(target)
503- if incl_dir not in config.numpy_include_dirs:
504- config.numpy_include_dirs.append(incl_dir)
505-
506- return target
507-
508- def generate_numpyconfig_h(ext, build_dir):
509- """Depends on config.h: generate_config_h has to be called before !"""
510- target = join(build_dir,header_dir,'_numpyconfig.h')
511- d = os.path.dirname(target)
512- if not os.path.exists(d):
513- os.makedirs(d)
514- if newer(__file__,target):
515- config_cmd = config.get_config_cmd()
516- log.info('Generating %s',target)
517-
518- # Check sizeof
519- ignored, moredefs = cocache.check_types(config_cmd, ext, build_dir)
520-
521- if is_npy_no_signal():
522- moredefs.append(('NPY_NO_SIGNAL', 1))
523-
524- if is_npy_no_smp():
525- moredefs.append(('NPY_NO_SMP', 1))
526- else:
527- moredefs.append(('NPY_NO_SMP', 0))
528-
529- mathlibs = check_mathlib(config_cmd)
530- moredefs.extend(cocache.check_ieee_macros(config_cmd)[1])
531- moredefs.extend(cocache.check_complex(config_cmd, mathlibs)[1])
532-
533- if ENABLE_SEPARATE_COMPILATION:
534- moredefs.append(('NPY_ENABLE_SEPARATE_COMPILATION', 1))
535-
536- # Check wether we can use inttypes (C99) formats
537- if config_cmd.check_decl('PRIdPTR', headers = ['inttypes.h']):
538- moredefs.append(('NPY_USE_C99_FORMATS', 1))
539-
540- # visibility check
541- hidden_visibility = visibility_define(config_cmd)
542- moredefs.append(('NPY_VISIBILITY_HIDDEN', hidden_visibility))
543-
544- # Add the C API/ABI versions
545- moredefs.append(('NPY_ABI_VERSION', '0x%.8X' % C_ABI_VERSION))
546- moredefs.append(('NPY_API_VERSION', '0x%.8X' % C_API_VERSION))
547-
548- # Add moredefs to header
549- target_f = open(target, 'w')
550- for d in moredefs:
551- if isinstance(d,str):
552- target_f.write('#define %s\n' % (d))
553- else:
554- target_f.write('#define %s %s\n' % (d[0],d[1]))
555-
556- # Define __STDC_FORMAT_MACROS
557- target_f.write("""
558-#ifndef __STDC_FORMAT_MACROS
559-#define __STDC_FORMAT_MACROS 1
560-#endif
561-""")
562- target_f.close()
563-
564- # Dump the numpyconfig.h header to stdout
565- print('File: %s' % target)
566- target_f = open(target)
567- print(target_f.read())
568- target_f.close()
569- print('EOF')
570- config.add_data_files((header_dir, target))
571- return target
572-
573- def generate_api_func(module_name):
574- def generate_api(ext, build_dir):
575- script = join(codegen_dir, module_name + '.py')
576- sys.path.insert(0, codegen_dir)
577- try:
578- m = __import__(module_name)
579- log.info('executing %s', script)
580- h_file, c_file, doc_file = m.generate_api(os.path.join(build_dir, header_dir))
581- finally:
582- del sys.path[0]
583- config.add_data_files((header_dir, h_file),
584- (header_dir, doc_file))
585- return (h_file,)
586- return generate_api
587-
588- generate_numpy_api = generate_api_func('generate_numpy_api')
589- generate_ufunc_api = generate_api_func('generate_ufunc_api')
590-
591- config.add_include_dirs(join(local_dir, "src", "private"))
592- config.add_include_dirs(join(local_dir, "src"))
593- config.add_include_dirs(join(local_dir))
594- # Multiarray version: this function is needed to build foo.c from foo.c.src
595- # when foo.c is included in another file and as such not in the src
596- # argument of build_ext command
597- def generate_multiarray_templated_sources(ext, build_dir):
598- from numpy.distutils.misc_util import get_cmd
599-
600- subpath = join('src', 'multiarray')
601- sources = [join(local_dir, subpath, 'scalartypes.c.src'),
602- join(local_dir, subpath, 'arraytypes.c.src')]
603-
604- # numpy.distutils generate .c from .c.src in weird directories, we have
605- # to add them there as they depend on the build_dir
606- config.add_include_dirs(join(build_dir, subpath))
607-
608- cmd = get_cmd('build_src')
609- cmd.ensure_finalized()
610-
611- cmd.template_sources(sources, ext)
612-
613- # umath version: this function is needed to build foo.c from foo.c.src
614- # when foo.c is included in another file and as such not in the src
615- # argument of build_ext command
616- def generate_umath_templated_sources(ext, build_dir):
617- from numpy.distutils.misc_util import get_cmd
618-
619- subpath = join('src', 'umath')
620- sources = [join(local_dir, subpath, 'loops.c.src'),
621- join(local_dir, subpath, 'umathmodule.c.src')]
622-
623- # numpy.distutils generate .c from .c.src in weird directories, we have
624- # to add them there as they depend on the build_dir
625- config.add_include_dirs(join(build_dir, subpath))
626-
627- cmd = get_cmd('build_src')
628- cmd.ensure_finalized()
629-
630- cmd.template_sources(sources, ext)
631-
632-
633- def generate_umath_c(ext,build_dir):
634- target = join(build_dir,header_dir,'__umath_generated.c')
635- dir = os.path.dirname(target)
636- if not os.path.exists(dir):
637- os.makedirs(dir)
638- script = generate_umath_py
639- if newer(script,target):
640- f = open(target,'w')
641- f.write(generate_umath.make_code(generate_umath.defdict,
642- generate_umath.__file__))
643- f.close()
644- return []
645-
646- config.add_data_files('include/numpy/*.h')
647- config.add_include_dirs(join('src', 'npymath'))
648- config.add_include_dirs(join('src', 'multiarray'))
649- config.add_include_dirs(join('src', 'umath'))
650-
651- config.numpy_include_dirs.extend(config.paths('include'))
652-
653- deps = [join('src','npymath','_signbit.c'),
654- join('include','numpy','*object.h'),
655- 'include/numpy/fenv/fenv.c',
656- 'include/numpy/fenv/fenv.h',
657- join(codegen_dir,'genapi.py'),
658- ]
659-
660- # Don't install fenv unless we need them.
661- if sys.platform == 'cygwin':
662- config.add_data_dir('include/numpy/fenv')
663-
664- config.add_extension('_sort',
665- sources=[join('src','_sortmodule.c.src'),
666- generate_config_h,
667- generate_numpyconfig_h,
668- generate_numpy_api,
669- ],
670- )
671-
672- # npymath needs the config.h and numpyconfig.h files to be generated, but
673- # build_clib cannot handle generate_config_h and generate_numpyconfig_h
674- # (don't ask). Because clib are generated before extensions, we have to
675- # explicitly add an extension which has generate_config_h and
676- # generate_numpyconfig_h as sources *before* adding npymath.
677-
678- subst_dict = dict([("sep", os.path.sep), ("pkgname", "numpy.core")])
679- def get_mathlib_info(*args):
680- # Another ugly hack: the mathlib info is known once build_src is run,
681- # but we cannot use add_installed_pkg_config here either, so we only
682- # updated the substition dictionary during npymath build
683- config_cmd = config.get_config_cmd()
684-
685- # Check that the toolchain works, to fail early if it doesn't
686- # (avoid late errors with MATHLIB which are confusing if the
687- # compiler does not work).
688- st = config_cmd.try_link('int main(void) { return 0;}')
689- if not st:
690- raise RuntimeError("Broken toolchain: cannot link a simple C program")
691- mlibs = check_mathlib(config_cmd)
692-
693- posix_mlib = ' '.join(['-l%s' % l for l in mlibs])
694- msvc_mlib = ' '.join(['%s.lib' % l for l in mlibs])
695- subst_dict["posix_mathlib"] = posix_mlib
696- subst_dict["msvc_mathlib"] = msvc_mlib
697-
698- config.add_installed_library('npymath',
699- sources=[join('src', 'npymath', 'npy_math.c.src'),
700- join('src', 'npymath', 'ieee754.c.src'),
701- join('src', 'npymath', 'npy_math_complex.c.src'),
702- get_mathlib_info],
703- install_dir='lib')
704- config.add_npy_pkg_config("npymath.ini.in", "lib/npy-pkg-config",
705- subst_dict)
706- config.add_npy_pkg_config("mlib.ini.in", "lib/npy-pkg-config",
707- subst_dict)
708-
709- multiarray_deps = [
710- join('src', 'multiarray', 'arrayobject.h'),
711- join('src', 'multiarray', 'arraytypes.h'),
712- join('src', 'multiarray', 'buffer.h'),
713- join('src', 'multiarray', 'calculation.h'),
714- join('src', 'multiarray', 'common.h'),
715- join('src', 'multiarray', 'convert_datatype.h'),
716- join('src', 'multiarray', 'convert.h'),
717- join('src', 'multiarray', 'conversion_utils.h'),
718- join('src', 'multiarray', 'ctors.h'),
719- join('src', 'multiarray', 'descriptor.h'),
720- join('src', 'multiarray', 'getset.h'),
721- join('src', 'multiarray', 'hashdescr.h'),
722- join('src', 'multiarray', 'iterators.h'),
723- join('src', 'multiarray', 'mapping.h'),
724- join('src', 'multiarray', 'methods.h'),
725- join('src', 'multiarray', 'multiarraymodule.h'),
726- join('src', 'multiarray', 'numpymemoryview.h'),
727- join('src', 'multiarray', 'number.h'),
728- join('src', 'multiarray', 'numpyos.h'),
729- join('src', 'multiarray', 'refcount.h'),
730- join('src', 'multiarray', 'scalartypes.h'),
731- join('src', 'multiarray', 'sequence.h'),
732- join('src', 'multiarray', 'shape.h'),
733- join('src', 'multiarray', 'ucsnarrow.h'),
734- join('src', 'multiarray', 'usertypes.h')]
735-
736- multiarray_src = [join('src', 'multiarray', 'multiarraymodule.c'),
737- join('src', 'multiarray', 'hashdescr.c'),
738- join('src', 'multiarray', 'arrayobject.c'),
739- join('src', 'multiarray', 'numpymemoryview.c'),
740- join('src', 'multiarray', 'buffer.c'),
741- join('src', 'multiarray', 'numpyos.c'),
742- join('src', 'multiarray', 'conversion_utils.c'),
743- join('src', 'multiarray', 'flagsobject.c'),
744- join('src', 'multiarray', 'descriptor.c'),
745- join('src', 'multiarray', 'iterators.c'),
746- join('src', 'multiarray', 'mapping.c'),
747- join('src', 'multiarray', 'number.c'),
748- join('src', 'multiarray', 'getset.c'),
749- join('src', 'multiarray', 'sequence.c'),
750- join('src', 'multiarray', 'methods.c'),
751- join('src', 'multiarray', 'ctors.c'),
752- join('src', 'multiarray', 'convert_datatype.c'),
753- join('src', 'multiarray', 'convert.c'),
754- join('src', 'multiarray', 'shape.c'),
755- join('src', 'multiarray', 'item_selection.c'),
756- join('src', 'multiarray', 'calculation.c'),
757- join('src', 'multiarray', 'common.c'),
758- join('src', 'multiarray', 'usertypes.c'),
759- join('src', 'multiarray', 'scalarapi.c'),
760- join('src', 'multiarray', 'refcount.c'),
761- join('src', 'multiarray', 'arraytypes.c.src'),
762- join('src', 'multiarray', 'scalartypes.c.src')]
763-
764- if PYTHON_HAS_UNICODE_WIDE:
765- multiarray_src.append(join('src', 'multiarray', 'ucsnarrow.c'))
766-
767- umath_src = [join('src', 'umath', 'umathmodule.c.src'),
768- join('src', 'umath', 'funcs.inc.src'),
769- join('src', 'umath', 'loops.c.src'),
770- join('src', 'umath', 'ufunc_object.c')]
771-
772- umath_deps = [generate_umath_py,
773- join(codegen_dir,'generate_ufunc_api.py')]
774-
775- if not ENABLE_SEPARATE_COMPILATION:
776- multiarray_deps.extend(multiarray_src)
777- multiarray_src = [join('src', 'multiarray', 'multiarraymodule_onefile.c')]
778- multiarray_src.append(generate_multiarray_templated_sources)
779-
780- umath_deps.extend(umath_src)
781- umath_src = [join('src', 'umath', 'umathmodule_onefile.c')]
782- umath_src.append(generate_umath_templated_sources)
783- umath_src.append(join('src', 'umath', 'funcs.inc.src'))
784-
785- config.add_extension('multiarray',
786- sources = multiarray_src +
787- [generate_config_h,
788- generate_numpyconfig_h,
789- generate_numpy_api,
790- join(codegen_dir,'generate_numpy_api.py'),
791- join('*.py')],
792- depends = deps + multiarray_deps,
793- libraries=['npymath'])
794-
795- config.add_extension('umath',
796- sources = [generate_config_h,
797- generate_numpyconfig_h,
798- generate_umath_c,
799- generate_ufunc_api,
800- ] + umath_src,
801- depends = deps + umath_deps,
802- libraries=['npymath'],
803- )
804-
805- config.add_extension('scalarmath',
806- sources=[join('src','scalarmathmodule.c.src'),
807- generate_config_h,
808- generate_numpyconfig_h,
809- generate_numpy_api,
810- generate_ufunc_api],
811- )
812-
813- # Configure blasdot
814- blas_info = get_info('blas_opt',0)
815- #blas_info = {}
816- def get_dotblas_sources(ext, build_dir):
817- if blas_info:
818- if ('NO_ATLAS_INFO',1) in blas_info.get('define_macros',[]):
819- return None # dotblas needs ATLAS, Fortran compiled blas will not be sufficient.
820- return ext.depends[:1]
821- return None # no extension module will be built
822-
823- config.add_extension('_dotblas',
824- sources = [get_dotblas_sources],
825- depends=[join('blasdot','_dotblas.c'),
826- join('blasdot','cblas.h'),
827- ],
828- include_dirs = ['blasdot'],
829- extra_info = blas_info
830- )
831-
832- config.add_extension('umath_tests',
833- sources = [join('src','umath', 'umath_tests.c.src')])
834-
835- config.add_extension('multiarray_tests',
836- sources = [join('src', 'multiarray', 'multiarray_tests.c.src')])
837-
838- config.add_data_dir('tests')
839- config.add_data_dir('tests/data')
840-
841- config.make_svn_version_py()
842-
843- return config
844-
845-if __name__=='__main__':
846- from numpy.distutils.core import setup
847- setup(configuration=configuration)
848
849=== removed directory '.pc/03_force_f2py_version.patch'
850=== removed directory '.pc/03_force_f2py_version.patch/numpy'
851=== removed directory '.pc/03_force_f2py_version.patch/numpy/f2py'
852=== removed file '.pc/03_force_f2py_version.patch/numpy/f2py/setup.py'
853--- .pc/03_force_f2py_version.patch/numpy/f2py/setup.py 2010-12-24 00:14:25 +0000
854+++ .pc/03_force_f2py_version.patch/numpy/f2py/setup.py 1970-01-01 00:00:00 +0000
855@@ -1,127 +0,0 @@
856-#!/usr/bin/env python
857-"""
858-setup.py for installing F2PY
859-
860-Usage:
861- python setup.py install
862-
863-Copyright 2001-2005 Pearu Peterson all rights reserved,
864-Pearu Peterson <pearu@cens.ioc.ee>
865-Permission to use, modify, and distribute this software is given under the
866-terms of the NumPy License.
867-
868-NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
869-$Revision: 1.32 $
870-$Date: 2005/01/30 17:22:14 $
871-Pearu Peterson
872-"""
873-
874-__version__ = "$Id: setup.py,v 1.32 2005/01/30 17:22:14 pearu Exp $"
875-
876-import os
877-import sys
878-from distutils.dep_util import newer
879-from numpy.distutils import log
880-from numpy.distutils.core import setup
881-from numpy.distutils.misc_util import Configuration
882-
883-from __version__ import version
884-
885-def configuration(parent_package='',top_path=None):
886- config = Configuration('f2py', parent_package, top_path)
887-
888- config.add_data_dir('docs')
889- config.add_data_dir('tests')
890-
891- config.add_data_files('src/fortranobject.c',
892- 'src/fortranobject.h',
893- 'f2py.1'
894- )
895-
896- config.make_svn_version_py()
897-
898- def generate_f2py_py(build_dir):
899- f2py_exe = 'f2py'+os.path.basename(sys.executable)[6:]
900- if f2py_exe[-4:]=='.exe':
901- f2py_exe = f2py_exe[:-4] + '.py'
902- if 'bdist_wininst' in sys.argv and f2py_exe[-3:] != '.py':
903- f2py_exe = f2py_exe + '.py'
904- target = os.path.join(build_dir,f2py_exe)
905- if newer(__file__,target):
906- log.info('Creating %s', target)
907- f = open(target,'w')
908- f.write('''\
909-#!/usr/bin/env %s
910-# See http://cens.ioc.ee/projects/f2py2e/
911-import os, sys
912-for mode in ["g3-numpy", "2e-numeric", "2e-numarray", "2e-numpy"]:
913- try:
914- i=sys.argv.index("--"+mode)
915- del sys.argv[i]
916- break
917- except ValueError: pass
918-os.environ["NO_SCIPY_IMPORT"]="f2py"
919-if mode=="g3-numpy":
920- sys.stderr.write("G3 f2py support is not implemented, yet.\\n")
921- sys.exit(1)
922-elif mode=="2e-numeric":
923- from f2py2e import main
924-elif mode=="2e-numarray":
925- sys.argv.append("-DNUMARRAY")
926- from f2py2e import main
927-elif mode=="2e-numpy":
928- from numpy.f2py import main
929-else:
930- sys.stderr.write("Unknown mode: " + repr(mode) + "\\n")
931- sys.exit(1)
932-main()
933-'''%(os.path.basename(sys.executable)))
934- f.close()
935- return target
936-
937- config.add_scripts(generate_f2py_py)
938-
939- log.info('F2PY Version %s', config.get_version())
940-
941- return config
942-
943-if __name__ == "__main__":
944-
945- config = configuration(top_path='')
946- version = config.get_version()
947- print('F2PY Version',version)
948- config = config.todict()
949-
950- if sys.version[:3]>='2.3':
951- config['download_url'] = "http://cens.ioc.ee/projects/f2py2e/2.x"\
952- "/F2PY-2-latest.tar.gz"
953- config['classifiers'] = [
954- 'Development Status :: 5 - Production/Stable',
955- 'Intended Audience :: Developers',
956- 'Intended Audience :: Science/Research',
957- 'License :: OSI Approved :: NumPy License',
958- 'Natural Language :: English',
959- 'Operating System :: OS Independent',
960- 'Programming Language :: C',
961- 'Programming Language :: Fortran',
962- 'Programming Language :: Python',
963- 'Topic :: Scientific/Engineering',
964- 'Topic :: Software Development :: Code Generators',
965- ]
966- setup(version=version,
967- description = "F2PY - Fortran to Python Interface Generaton",
968- author = "Pearu Peterson",
969- author_email = "pearu@cens.ioc.ee",
970- maintainer = "Pearu Peterson",
971- maintainer_email = "pearu@cens.ioc.ee",
972- license = "BSD",
973- platforms = "Unix, Windows (mingw|cygwin), Mac OSX",
974- long_description = """\
975-The Fortran to Python Interface Generator, or F2PY for short, is a
976-command line tool (f2py) for generating Python C/API modules for
977-wrapping Fortran 77/90/95 subroutines, accessing common blocks from
978-Python, and calling Python functions from Fortran (call-backs).
979-Interfacing subroutines/data from Fortran 90/95 modules is supported.""",
980- url = "http://cens.ioc.ee/projects/f2py2e/",
981- keywords = ['Fortran','f2py'],
982- **config)
983
984=== removed directory '.pc/10_use_local_python.org_object.inv_sphinx.diff'
985=== removed directory '.pc/10_use_local_python.org_object.inv_sphinx.diff/doc'
986=== removed directory '.pc/10_use_local_python.org_object.inv_sphinx.diff/doc/source'
987=== removed file '.pc/10_use_local_python.org_object.inv_sphinx.diff/doc/source/conf.py'
988--- .pc/10_use_local_python.org_object.inv_sphinx.diff/doc/source/conf.py 2010-12-24 00:14:25 +0000
989+++ .pc/10_use_local_python.org_object.inv_sphinx.diff/doc/source/conf.py 1970-01-01 00:00:00 +0000
990@@ -1,269 +0,0 @@
991-# -*- coding: utf-8 -*-
992-
993-import sys, os, re
994-
995-# Check Sphinx version
996-import sphinx
997-if sphinx.__version__ < "1.0.1":
998- raise RuntimeError("Sphinx 1.0.1 or newer required")
999-
1000-needs_sphinx = '1.0'
1001-
1002-# -----------------------------------------------------------------------------
1003-# General configuration
1004-# -----------------------------------------------------------------------------
1005-
1006-# Add any Sphinx extension module names here, as strings. They can be extensions
1007-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
1008-
1009-sys.path.insert(0, os.path.abspath('../sphinxext'))
1010-
1011-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.pngmath', 'numpydoc',
1012- 'sphinx.ext.intersphinx', 'sphinx.ext.coverage',
1013- 'sphinx.ext.doctest', 'sphinx.ext.autosummary',
1014- 'plot_directive']
1015-
1016-# Add any paths that contain templates here, relative to this directory.
1017-templates_path = ['_templates']
1018-
1019-# The suffix of source filenames.
1020-source_suffix = '.rst'
1021-
1022-# The master toctree document.
1023-#master_doc = 'index'
1024-
1025-# General substitutions.
1026-project = 'NumPy'
1027-copyright = '2008-2009, The Scipy community'
1028-
1029-# The default replacements for |version| and |release|, also used in various
1030-# other places throughout the built documents.
1031-#
1032-import numpy
1033-# The short X.Y version (including .devXXXX, rcX, b1 suffixes if present)
1034-version = re.sub(r'(\d+\.\d+)\.\d+(.*)', r'\1\2', numpy.__version__)
1035-version = re.sub(r'(\.dev\d+).*?$', r'\1', version)
1036-# The full version, including alpha/beta/rc tags.
1037-release = numpy.__version__
1038-print version, release
1039-
1040-# There are two options for replacing |today|: either, you set today to some
1041-# non-false value, then it is used:
1042-#today = ''
1043-# Else, today_fmt is used as the format for a strftime call.
1044-today_fmt = '%B %d, %Y'
1045-
1046-# List of documents that shouldn't be included in the build.
1047-#unused_docs = []
1048-
1049-# The reST default role (used for this markup: `text`) to use for all documents.
1050-default_role = "autolink"
1051-
1052-# List of directories, relative to source directories, that shouldn't be searched
1053-# for source files.
1054-exclude_dirs = []
1055-
1056-# If true, '()' will be appended to :func: etc. cross-reference text.
1057-add_function_parentheses = False
1058-
1059-# If true, the current module name will be prepended to all description
1060-# unit titles (such as .. function::).
1061-#add_module_names = True
1062-
1063-# If true, sectionauthor and moduleauthor directives will be shown in the
1064-# output. They are ignored by default.
1065-#show_authors = False
1066-
1067-# The name of the Pygments (syntax highlighting) style to use.
1068-pygments_style = 'sphinx'
1069-
1070-
1071-# -----------------------------------------------------------------------------
1072-# HTML output
1073-# -----------------------------------------------------------------------------
1074-
1075-# The style sheet to use for HTML and HTML Help pages. A file of that name
1076-# must exist either in Sphinx' static/ path, or in one of the custom paths
1077-# given in html_static_path.
1078-html_style = 'scipy.css'
1079-
1080-# The name for this set of Sphinx documents. If None, it defaults to
1081-# "<project> v<release> documentation".
1082-html_title = "%s v%s Manual (DRAFT)" % (project, version)
1083-
1084-# The name of an image file (within the static path) to place at the top of
1085-# the sidebar.
1086-html_logo = 'scipyshiny_small.png'
1087-
1088-# Add any paths that contain custom static files (such as style sheets) here,
1089-# relative to this directory. They are copied after the builtin static files,
1090-# so a file named "default.css" will overwrite the builtin "default.css".
1091-html_static_path = ['_static']
1092-
1093-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
1094-# using the given strftime format.
1095-html_last_updated_fmt = '%b %d, %Y'
1096-
1097-# If true, SmartyPants will be used to convert quotes and dashes to
1098-# typographically correct entities.
1099-#html_use_smartypants = True
1100-
1101-# Custom sidebar templates, maps document names to template names.
1102-html_sidebars = {
1103- 'index': 'indexsidebar.html'
1104-}
1105-
1106-# Additional templates that should be rendered to pages, maps page names to
1107-# template names.
1108-html_additional_pages = {
1109- 'index': 'indexcontent.html',
1110-}
1111-
1112-# If false, no module index is generated.
1113-html_use_modindex = True
1114-
1115-# If true, the reST sources are included in the HTML build as _sources/<name>.
1116-#html_copy_source = True
1117-
1118-# If true, an OpenSearch description file will be output, and all pages will
1119-# contain a <link> tag referring to it. The value of this option must be the
1120-# base URL from which the finished HTML is served.
1121-#html_use_opensearch = ''
1122-
1123-# If nonempty, this is the file name suffix for HTML files (e.g. ".html").
1124-#html_file_suffix = '.html'
1125-
1126-# Output file base name for HTML help builder.
1127-htmlhelp_basename = 'numpy'
1128-
1129-# Pngmath should try to align formulas properly
1130-pngmath_use_preview = True
1131-
1132-
1133-# -----------------------------------------------------------------------------
1134-# LaTeX output
1135-# -----------------------------------------------------------------------------
1136-
1137-# The paper size ('letter' or 'a4').
1138-#latex_paper_size = 'letter'
1139-
1140-# The font size ('10pt', '11pt' or '12pt').
1141-#latex_font_size = '10pt'
1142-
1143-# Grouping the document tree into LaTeX files. List of tuples
1144-# (source start file, target name, title, author, document class [howto/manual]).
1145-_stdauthor = 'Written by the NumPy community'
1146-latex_documents = [
1147- ('reference/index', 'numpy-ref.tex', 'NumPy Reference',
1148- _stdauthor, 'manual'),
1149- ('user/index', 'numpy-user.tex', 'NumPy User Guide',
1150- _stdauthor, 'manual'),
1151-]
1152-
1153-# The name of an image file (relative to this directory) to place at the top of
1154-# the title page.
1155-#latex_logo = None
1156-
1157-# For "manual" documents, if this is true, then toplevel headings are parts,
1158-# not chapters.
1159-#latex_use_parts = False
1160-
1161-# Additional stuff for the LaTeX preamble.
1162-latex_preamble = r'''
1163-\usepackage{amsmath}
1164-\DeclareUnicodeCharacter{00A0}{\nobreakspace}
1165-
1166-% In the parameters section, place a newline after the Parameters
1167-% header
1168-\usepackage{expdlist}
1169-\let\latexdescription=\description
1170-\def\description{\latexdescription{}{} \breaklabel}
1171-
1172-% Make Examples/etc section headers smaller and more compact
1173-\makeatletter
1174-\titleformat{\paragraph}{\normalsize\py@HeaderFamily}%
1175- {\py@TitleColor}{0em}{\py@TitleColor}{\py@NormalColor}
1176-\titlespacing*{\paragraph}{0pt}{1ex}{0pt}
1177-\makeatother
1178-
1179-% Fix footer/header
1180-\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\thechapter.\ #1}}{}}
1181-\renewcommand{\sectionmark}[1]{\markright{\MakeUppercase{\thesection.\ #1}}}
1182-'''
1183-
1184-# Documents to append as an appendix to all manuals.
1185-#latex_appendices = []
1186-
1187-# If false, no module index is generated.
1188-latex_use_modindex = False
1189-
1190-
1191-# -----------------------------------------------------------------------------
1192-# Intersphinx configuration
1193-# -----------------------------------------------------------------------------
1194-intersphinx_mapping = {'http://docs.python.org/dev': None}
1195-
1196-
1197-# -----------------------------------------------------------------------------
1198-# Numpy extensions
1199-# -----------------------------------------------------------------------------
1200-
1201-# If we want to do a phantom import from an XML file for all autodocs
1202-phantom_import_file = 'dump.xml'
1203-
1204-# Make numpydoc to generate plots for example sections
1205-numpydoc_use_plots = True
1206-
1207-# -----------------------------------------------------------------------------
1208-# Autosummary
1209-# -----------------------------------------------------------------------------
1210-
1211-import glob
1212-autosummary_generate = glob.glob("reference/*.rst")
1213-
1214-# -----------------------------------------------------------------------------
1215-# Coverage checker
1216-# -----------------------------------------------------------------------------
1217-coverage_ignore_modules = r"""
1218- """.split()
1219-coverage_ignore_functions = r"""
1220- test($|_) (some|all)true bitwise_not cumproduct pkgload
1221- generic\.
1222- """.split()
1223-coverage_ignore_classes = r"""
1224- """.split()
1225-
1226-coverage_c_path = []
1227-coverage_c_regexes = {}
1228-coverage_ignore_c_items = {}
1229-
1230-
1231-# -----------------------------------------------------------------------------
1232-# Plots
1233-# -----------------------------------------------------------------------------
1234-plot_pre_code = """
1235-import numpy as np
1236-np.random.seed(0)
1237-"""
1238-plot_include_source = True
1239-plot_formats = [('png', 100), 'pdf']
1240-
1241-import math
1242-phi = (math.sqrt(5) + 1)/2
1243-
1244-import matplotlib
1245-matplotlib.rcParams.update({
1246- 'font.size': 8,
1247- 'axes.titlesize': 8,
1248- 'axes.labelsize': 8,
1249- 'xtick.labelsize': 8,
1250- 'ytick.labelsize': 8,
1251- 'legend.fontsize': 8,
1252- 'figure.figsize': (3*phi, 3),
1253- 'figure.subplot.bottom': 0.2,
1254- 'figure.subplot.left': 0.2,
1255- 'figure.subplot.right': 0.9,
1256- 'figure.subplot.top': 0.85,
1257- 'figure.subplot.wspace': 0.4,
1258- 'text.usetex': False,
1259-})
1260
1261=== removed directory '.pc/20_disable-plot-extension.patch'
1262=== removed directory '.pc/20_disable-plot-extension.patch/doc'
1263=== removed directory '.pc/20_disable-plot-extension.patch/doc/source'
1264=== removed file '.pc/20_disable-plot-extension.patch/doc/source/conf.py'
1265--- .pc/20_disable-plot-extension.patch/doc/source/conf.py 2011-02-11 12:00:03 +0000
1266+++ .pc/20_disable-plot-extension.patch/doc/source/conf.py 1970-01-01 00:00:00 +0000
1267@@ -1,269 +0,0 @@
1268-# -*- coding: utf-8 -*-
1269-
1270-import sys, os, re
1271-
1272-# Check Sphinx version
1273-import sphinx
1274-if sphinx.__version__ < "1.0.1":
1275- raise RuntimeError("Sphinx 1.0.1 or newer required")
1276-
1277-needs_sphinx = '1.0'
1278-
1279-# -----------------------------------------------------------------------------
1280-# General configuration
1281-# -----------------------------------------------------------------------------
1282-
1283-# Add any Sphinx extension module names here, as strings. They can be extensions
1284-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
1285-
1286-sys.path.insert(0, os.path.abspath('../sphinxext'))
1287-
1288-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.pngmath', 'numpydoc',
1289- 'sphinx.ext.intersphinx', 'sphinx.ext.coverage',
1290- 'sphinx.ext.doctest', 'sphinx.ext.autosummary',
1291- 'plot_directive']
1292-
1293-# Add any paths that contain templates here, relative to this directory.
1294-templates_path = ['_templates']
1295-
1296-# The suffix of source filenames.
1297-source_suffix = '.rst'
1298-
1299-# The master toctree document.
1300-#master_doc = 'index'
1301-
1302-# General substitutions.
1303-project = 'NumPy'
1304-copyright = '2008-2009, The Scipy community'
1305-
1306-# The default replacements for |version| and |release|, also used in various
1307-# other places throughout the built documents.
1308-#
1309-import numpy
1310-# The short X.Y version (including .devXXXX, rcX, b1 suffixes if present)
1311-version = re.sub(r'(\d+\.\d+)\.\d+(.*)', r'\1\2', numpy.__version__)
1312-version = re.sub(r'(\.dev\d+).*?$', r'\1', version)
1313-# The full version, including alpha/beta/rc tags.
1314-release = numpy.__version__
1315-print version, release
1316-
1317-# There are two options for replacing |today|: either, you set today to some
1318-# non-false value, then it is used:
1319-#today = ''
1320-# Else, today_fmt is used as the format for a strftime call.
1321-today_fmt = '%B %d, %Y'
1322-
1323-# List of documents that shouldn't be included in the build.
1324-#unused_docs = []
1325-
1326-# The reST default role (used for this markup: `text`) to use for all documents.
1327-default_role = "autolink"
1328-
1329-# List of directories, relative to source directories, that shouldn't be searched
1330-# for source files.
1331-exclude_dirs = []
1332-
1333-# If true, '()' will be appended to :func: etc. cross-reference text.
1334-add_function_parentheses = False
1335-
1336-# If true, the current module name will be prepended to all description
1337-# unit titles (such as .. function::).
1338-#add_module_names = True
1339-
1340-# If true, sectionauthor and moduleauthor directives will be shown in the
1341-# output. They are ignored by default.
1342-#show_authors = False
1343-
1344-# The name of the Pygments (syntax highlighting) style to use.
1345-pygments_style = 'sphinx'
1346-
1347-
1348-# -----------------------------------------------------------------------------
1349-# HTML output
1350-# -----------------------------------------------------------------------------
1351-
1352-# The style sheet to use for HTML and HTML Help pages. A file of that name
1353-# must exist either in Sphinx' static/ path, or in one of the custom paths
1354-# given in html_static_path.
1355-html_style = 'scipy.css'
1356-
1357-# The name for this set of Sphinx documents. If None, it defaults to
1358-# "<project> v<release> documentation".
1359-html_title = "%s v%s Manual (DRAFT)" % (project, version)
1360-
1361-# The name of an image file (within the static path) to place at the top of
1362-# the sidebar.
1363-html_logo = 'scipyshiny_small.png'
1364-
1365-# Add any paths that contain custom static files (such as style sheets) here,
1366-# relative to this directory. They are copied after the builtin static files,
1367-# so a file named "default.css" will overwrite the builtin "default.css".
1368-html_static_path = ['_static']
1369-
1370-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
1371-# using the given strftime format.
1372-html_last_updated_fmt = '%b %d, %Y'
1373-
1374-# If true, SmartyPants will be used to convert quotes and dashes to
1375-# typographically correct entities.
1376-#html_use_smartypants = True
1377-
1378-# Custom sidebar templates, maps document names to template names.
1379-html_sidebars = {
1380- 'index': 'indexsidebar.html'
1381-}
1382-
1383-# Additional templates that should be rendered to pages, maps page names to
1384-# template names.
1385-html_additional_pages = {
1386- 'index': 'indexcontent.html',
1387-}
1388-
1389-# If false, no module index is generated.
1390-html_use_modindex = True
1391-
1392-# If true, the reST sources are included in the HTML build as _sources/<name>.
1393-#html_copy_source = True
1394-
1395-# If true, an OpenSearch description file will be output, and all pages will
1396-# contain a <link> tag referring to it. The value of this option must be the
1397-# base URL from which the finished HTML is served.
1398-#html_use_opensearch = ''
1399-
1400-# If nonempty, this is the file name suffix for HTML files (e.g. ".html").
1401-#html_file_suffix = '.html'
1402-
1403-# Output file base name for HTML help builder.
1404-htmlhelp_basename = 'numpy'
1405-
1406-# Pngmath should try to align formulas properly
1407-pngmath_use_preview = True
1408-
1409-
1410-# -----------------------------------------------------------------------------
1411-# LaTeX output
1412-# -----------------------------------------------------------------------------
1413-
1414-# The paper size ('letter' or 'a4').
1415-#latex_paper_size = 'letter'
1416-
1417-# The font size ('10pt', '11pt' or '12pt').
1418-#latex_font_size = '10pt'
1419-
1420-# Grouping the document tree into LaTeX files. List of tuples
1421-# (source start file, target name, title, author, document class [howto/manual]).
1422-_stdauthor = 'Written by the NumPy community'
1423-latex_documents = [
1424- ('reference/index', 'numpy-ref.tex', 'NumPy Reference',
1425- _stdauthor, 'manual'),
1426- ('user/index', 'numpy-user.tex', 'NumPy User Guide',
1427- _stdauthor, 'manual'),
1428-]
1429-
1430-# The name of an image file (relative to this directory) to place at the top of
1431-# the title page.
1432-#latex_logo = None
1433-
1434-# For "manual" documents, if this is true, then toplevel headings are parts,
1435-# not chapters.
1436-#latex_use_parts = False
1437-
1438-# Additional stuff for the LaTeX preamble.
1439-latex_preamble = r'''
1440-\usepackage{amsmath}
1441-\DeclareUnicodeCharacter{00A0}{\nobreakspace}
1442-
1443-% In the parameters section, place a newline after the Parameters
1444-% header
1445-\usepackage{expdlist}
1446-\let\latexdescription=\description
1447-\def\description{\latexdescription{}{} \breaklabel}
1448-
1449-% Make Examples/etc section headers smaller and more compact
1450-\makeatletter
1451-\titleformat{\paragraph}{\normalsize\py@HeaderFamily}%
1452- {\py@TitleColor}{0em}{\py@TitleColor}{\py@NormalColor}
1453-\titlespacing*{\paragraph}{0pt}{1ex}{0pt}
1454-\makeatother
1455-
1456-% Fix footer/header
1457-\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\thechapter.\ #1}}{}}
1458-\renewcommand{\sectionmark}[1]{\markright{\MakeUppercase{\thesection.\ #1}}}
1459-'''
1460-
1461-# Documents to append as an appendix to all manuals.
1462-#latex_appendices = []
1463-
1464-# If false, no module index is generated.
1465-latex_use_modindex = False
1466-
1467-
1468-# -----------------------------------------------------------------------------
1469-# Intersphinx configuration
1470-# -----------------------------------------------------------------------------
1471-intersphinx_mapping = {'http://docs.python.org/dev': '../../debian/python.org_objects.inv'}
1472-
1473-
1474-# -----------------------------------------------------------------------------
1475-# Numpy extensions
1476-# -----------------------------------------------------------------------------
1477-
1478-# If we want to do a phantom import from an XML file for all autodocs
1479-phantom_import_file = 'dump.xml'
1480-
1481-# Make numpydoc to generate plots for example sections
1482-numpydoc_use_plots = True
1483-
1484-# -----------------------------------------------------------------------------
1485-# Autosummary
1486-# -----------------------------------------------------------------------------
1487-
1488-import glob
1489-autosummary_generate = glob.glob("reference/*.rst")
1490-
1491-# -----------------------------------------------------------------------------
1492-# Coverage checker
1493-# -----------------------------------------------------------------------------
1494-coverage_ignore_modules = r"""
1495- """.split()
1496-coverage_ignore_functions = r"""
1497- test($|_) (some|all)true bitwise_not cumproduct pkgload
1498- generic\.
1499- """.split()
1500-coverage_ignore_classes = r"""
1501- """.split()
1502-
1503-coverage_c_path = []
1504-coverage_c_regexes = {}
1505-coverage_ignore_c_items = {}
1506-
1507-
1508-# -----------------------------------------------------------------------------
1509-# Plots
1510-# -----------------------------------------------------------------------------
1511-plot_pre_code = """
1512-import numpy as np
1513-np.random.seed(0)
1514-"""
1515-plot_include_source = True
1516-plot_formats = [('png', 100), 'pdf']
1517-
1518-import math
1519-phi = (math.sqrt(5) + 1)/2
1520-
1521-import matplotlib
1522-matplotlib.rcParams.update({
1523- 'font.size': 8,
1524- 'axes.titlesize': 8,
1525- 'axes.labelsize': 8,
1526- 'xtick.labelsize': 8,
1527- 'ytick.labelsize': 8,
1528- 'legend.fontsize': 8,
1529- 'figure.figsize': (3*phi, 3),
1530- 'figure.subplot.bottom': 0.2,
1531- 'figure.subplot.left': 0.2,
1532- 'figure.subplot.right': 0.9,
1533- 'figure.subplot.top': 0.85,
1534- 'figure.subplot.wspace': 0.4,
1535- 'text.usetex': False,
1536-})
1537
1538=== removed directory '.pc/20_disable-plot-extension.patch/doc/sphinxext'
1539=== removed directory '.pc/20_disable-plot-extension.patch/doc/sphinxext/tests'
1540=== removed file '.pc/20_disable-plot-extension.patch/doc/sphinxext/tests/test_docscrape.py'
1541--- .pc/20_disable-plot-extension.patch/doc/sphinxext/tests/test_docscrape.py 2011-02-11 12:00:03 +0000
1542+++ .pc/20_disable-plot-extension.patch/doc/sphinxext/tests/test_docscrape.py 1970-01-01 00:00:00 +0000
1543@@ -1,615 +0,0 @@
1544-# -*- encoding:utf-8 -*-
1545-
1546-import sys, os
1547-sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
1548-
1549-from docscrape import NumpyDocString, FunctionDoc, ClassDoc
1550-from docscrape_sphinx import SphinxDocString, SphinxClassDoc
1551-from nose.tools import *
1552-
1553-doc_txt = '''\
1554- numpy.multivariate_normal(mean, cov, shape=None, spam=None)
1555-
1556- Draw values from a multivariate normal distribution with specified
1557- mean and covariance.
1558-
1559- The multivariate normal or Gaussian distribution is a generalisation
1560- of the one-dimensional normal distribution to higher dimensions.
1561-
1562- Parameters
1563- ----------
1564- mean : (N,) ndarray
1565- Mean of the N-dimensional distribution.
1566-
1567- .. math::
1568-
1569- (1+2+3)/3
1570-
1571- cov : (N,N) ndarray
1572- Covariance matrix of the distribution.
1573- shape : tuple of ints
1574- Given a shape of, for example, (m,n,k), m*n*k samples are
1575- generated, and packed in an m-by-n-by-k arrangement. Because
1576- each sample is N-dimensional, the output shape is (m,n,k,N).
1577-
1578- Returns
1579- -------
1580- out : ndarray
1581- The drawn samples, arranged according to `shape`. If the
1582- shape given is (m,n,...), then the shape of `out` is is
1583- (m,n,...,N).
1584-
1585- In other words, each entry ``out[i,j,...,:]`` is an N-dimensional
1586- value drawn from the distribution.
1587-
1588- Other Parameters
1589- ----------------
1590- spam : parrot
1591- A parrot off its mortal coil.
1592-
1593- Raises
1594- ------
1595- RuntimeError
1596- Some error
1597-
1598- Warns
1599- -----
1600- RuntimeWarning
1601- Some warning
1602-
1603- Warnings
1604- --------
1605- Certain warnings apply.
1606-
1607- Notes
1608- -----
1609-
1610- Instead of specifying the full covariance matrix, popular
1611- approximations include:
1612-
1613- - Spherical covariance (`cov` is a multiple of the identity matrix)
1614- - Diagonal covariance (`cov` has non-negative elements only on the diagonal)
1615-
1616- This geometrical property can be seen in two dimensions by plotting
1617- generated data-points:
1618-
1619- >>> mean = [0,0]
1620- >>> cov = [[1,0],[0,100]] # diagonal covariance, points lie on x or y-axis
1621-
1622- >>> x,y = multivariate_normal(mean,cov,5000).T
1623- >>> plt.plot(x,y,'x'); plt.axis('equal'); plt.show()
1624-
1625- Note that the covariance matrix must be symmetric and non-negative
1626- definite.
1627-
1628- References
1629- ----------
1630- .. [1] A. Papoulis, "Probability, Random Variables, and Stochastic
1631- Processes," 3rd ed., McGraw-Hill Companies, 1991
1632- .. [2] R.O. Duda, P.E. Hart, and D.G. Stork, "Pattern Classification,"
1633- 2nd ed., Wiley, 2001.
1634-
1635- See Also
1636- --------
1637- some, other, funcs
1638- otherfunc : relationship
1639-
1640- Examples
1641- --------
1642- >>> mean = (1,2)
1643- >>> cov = [[1,0],[1,0]]
1644- >>> x = multivariate_normal(mean,cov,(3,3))
1645- >>> print x.shape
1646- (3, 3, 2)
1647-
1648- The following is probably true, given that 0.6 is roughly twice the
1649- standard deviation:
1650-
1651- >>> print list( (x[0,0,:] - mean) < 0.6 )
1652- [True, True]
1653-
1654- .. index:: random
1655- :refguide: random;distributions, random;gauss
1656-
1657- '''
1658-doc = NumpyDocString(doc_txt)
1659-
1660-
1661-def test_signature():
1662- assert doc['Signature'].startswith('numpy.multivariate_normal(')
1663- assert doc['Signature'].endswith('spam=None)')
1664-
1665-def test_summary():
1666- assert doc['Summary'][0].startswith('Draw values')
1667- assert doc['Summary'][-1].endswith('covariance.')
1668-
1669-def test_extended_summary():
1670- assert doc['Extended Summary'][0].startswith('The multivariate normal')
1671-
1672-def test_parameters():
1673- assert_equal(len(doc['Parameters']), 3)
1674- assert_equal([n for n,_,_ in doc['Parameters']], ['mean','cov','shape'])
1675-
1676- arg, arg_type, desc = doc['Parameters'][1]
1677- assert_equal(arg_type, '(N,N) ndarray')
1678- assert desc[0].startswith('Covariance matrix')
1679- assert doc['Parameters'][0][-1][-2] == ' (1+2+3)/3'
1680-
1681-def test_other_parameters():
1682- assert_equal(len(doc['Other Parameters']), 1)
1683- assert_equal([n for n,_,_ in doc['Other Parameters']], ['spam'])
1684- arg, arg_type, desc = doc['Other Parameters'][0]
1685- assert_equal(arg_type, 'parrot')
1686- assert desc[0].startswith('A parrot off its mortal coil')
1687-
1688-def test_returns():
1689- assert_equal(len(doc['Returns']), 1)
1690- arg, arg_type, desc = doc['Returns'][0]
1691- assert_equal(arg, 'out')
1692- assert_equal(arg_type, 'ndarray')
1693- assert desc[0].startswith('The drawn samples')
1694- assert desc[-1].endswith('distribution.')
1695-
1696-def test_notes():
1697- assert doc['Notes'][0].startswith('Instead')
1698- assert doc['Notes'][-1].endswith('definite.')
1699- assert_equal(len(doc['Notes']), 17)
1700-
1701-def test_references():
1702- assert doc['References'][0].startswith('..')
1703- assert doc['References'][-1].endswith('2001.')
1704-
1705-def test_examples():
1706- assert doc['Examples'][0].startswith('>>>')
1707- assert doc['Examples'][-1].endswith('True]')
1708-
1709-def test_index():
1710- assert_equal(doc['index']['default'], 'random')
1711- print doc['index']
1712- assert_equal(len(doc['index']), 2)
1713- assert_equal(len(doc['index']['refguide']), 2)
1714-
1715-def non_blank_line_by_line_compare(a,b):
1716- a = [l for l in a.split('\n') if l.strip()]
1717- b = [l for l in b.split('\n') if l.strip()]
1718- for n,line in enumerate(a):
1719- if not line == b[n]:
1720- raise AssertionError("Lines %s of a and b differ: "
1721- "\n>>> %s\n<<< %s\n" %
1722- (n,line,b[n]))
1723-def test_str():
1724- non_blank_line_by_line_compare(str(doc),
1725-"""numpy.multivariate_normal(mean, cov, shape=None, spam=None)
1726-
1727-Draw values from a multivariate normal distribution with specified
1728-mean and covariance.
1729-
1730-The multivariate normal or Gaussian distribution is a generalisation
1731-of the one-dimensional normal distribution to higher dimensions.
1732-
1733-Parameters
1734-----------
1735-mean : (N,) ndarray
1736- Mean of the N-dimensional distribution.
1737-
1738- .. math::
1739-
1740- (1+2+3)/3
1741-
1742-cov : (N,N) ndarray
1743- Covariance matrix of the distribution.
1744-shape : tuple of ints
1745- Given a shape of, for example, (m,n,k), m*n*k samples are
1746- generated, and packed in an m-by-n-by-k arrangement. Because
1747- each sample is N-dimensional, the output shape is (m,n,k,N).
1748-
1749-Returns
1750--------
1751-out : ndarray
1752- The drawn samples, arranged according to `shape`. If the
1753- shape given is (m,n,...), then the shape of `out` is is
1754- (m,n,...,N).
1755-
1756- In other words, each entry ``out[i,j,...,:]`` is an N-dimensional
1757- value drawn from the distribution.
1758-
1759-Other Parameters
1760-----------------
1761-spam : parrot
1762- A parrot off its mortal coil.
1763-
1764-Raises
1765-------
1766-RuntimeError :
1767- Some error
1768-
1769-Warns
1770------
1771-RuntimeWarning :
1772- Some warning
1773-
1774-Warnings
1775---------
1776-Certain warnings apply.
1777-
1778-See Also
1779---------
1780-`some`_, `other`_, `funcs`_
1781-
1782-`otherfunc`_
1783- relationship
1784-
1785-Notes
1786------
1787-Instead of specifying the full covariance matrix, popular
1788-approximations include:
1789-
1790- - Spherical covariance (`cov` is a multiple of the identity matrix)
1791- - Diagonal covariance (`cov` has non-negative elements only on the diagonal)
1792-
1793-This geometrical property can be seen in two dimensions by plotting
1794-generated data-points:
1795-
1796->>> mean = [0,0]
1797->>> cov = [[1,0],[0,100]] # diagonal covariance, points lie on x or y-axis
1798-
1799->>> x,y = multivariate_normal(mean,cov,5000).T
1800->>> plt.plot(x,y,'x'); plt.axis('equal'); plt.show()
1801-
1802-Note that the covariance matrix must be symmetric and non-negative
1803-definite.
1804-
1805-References
1806-----------
1807-.. [1] A. Papoulis, "Probability, Random Variables, and Stochastic
1808- Processes," 3rd ed., McGraw-Hill Companies, 1991
1809-.. [2] R.O. Duda, P.E. Hart, and D.G. Stork, "Pattern Classification,"
1810- 2nd ed., Wiley, 2001.
1811-
1812-Examples
1813---------
1814->>> mean = (1,2)
1815->>> cov = [[1,0],[1,0]]
1816->>> x = multivariate_normal(mean,cov,(3,3))
1817->>> print x.shape
1818-(3, 3, 2)
1819-
1820-The following is probably true, given that 0.6 is roughly twice the
1821-standard deviation:
1822-
1823->>> print list( (x[0,0,:] - mean) < 0.6 )
1824-[True, True]
1825-
1826-.. index:: random
1827- :refguide: random;distributions, random;gauss""")
1828-
1829-
1830-def test_sphinx_str():
1831- sphinx_doc = SphinxDocString(doc_txt)
1832- non_blank_line_by_line_compare(str(sphinx_doc),
1833-"""
1834-.. index:: random
1835- single: random;distributions, random;gauss
1836-
1837-Draw values from a multivariate normal distribution with specified
1838-mean and covariance.
1839-
1840-The multivariate normal or Gaussian distribution is a generalisation
1841-of the one-dimensional normal distribution to higher dimensions.
1842-
1843-:Parameters:
1844-
1845- **mean** : (N,) ndarray
1846-
1847- Mean of the N-dimensional distribution.
1848-
1849- .. math::
1850-
1851- (1+2+3)/3
1852-
1853- **cov** : (N,N) ndarray
1854-
1855- Covariance matrix of the distribution.
1856-
1857- **shape** : tuple of ints
1858-
1859- Given a shape of, for example, (m,n,k), m*n*k samples are
1860- generated, and packed in an m-by-n-by-k arrangement. Because
1861- each sample is N-dimensional, the output shape is (m,n,k,N).
1862-
1863-:Returns:
1864-
1865- **out** : ndarray
1866-
1867- The drawn samples, arranged according to `shape`. If the
1868- shape given is (m,n,...), then the shape of `out` is is
1869- (m,n,...,N).
1870-
1871- In other words, each entry ``out[i,j,...,:]`` is an N-dimensional
1872- value drawn from the distribution.
1873-
1874-:Other Parameters:
1875-
1876- **spam** : parrot
1877-
1878- A parrot off its mortal coil.
1879-
1880-:Raises:
1881-
1882- **RuntimeError** :
1883-
1884- Some error
1885-
1886-:Warns:
1887-
1888- **RuntimeWarning** :
1889-
1890- Some warning
1891-
1892-.. warning::
1893-
1894- Certain warnings apply.
1895-
1896-.. seealso::
1897-
1898- :obj:`some`, :obj:`other`, :obj:`funcs`
1899-
1900- :obj:`otherfunc`
1901- relationship
1902-
1903-.. rubric:: Notes
1904-
1905-Instead of specifying the full covariance matrix, popular
1906-approximations include:
1907-
1908- - Spherical covariance (`cov` is a multiple of the identity matrix)
1909- - Diagonal covariance (`cov` has non-negative elements only on the diagonal)
1910-
1911-This geometrical property can be seen in two dimensions by plotting
1912-generated data-points:
1913-
1914->>> mean = [0,0]
1915->>> cov = [[1,0],[0,100]] # diagonal covariance, points lie on x or y-axis
1916-
1917->>> x,y = multivariate_normal(mean,cov,5000).T
1918->>> plt.plot(x,y,'x'); plt.axis('equal'); plt.show()
1919-
1920-Note that the covariance matrix must be symmetric and non-negative
1921-definite.
1922-
1923-.. rubric:: References
1924-
1925-.. [1] A. Papoulis, "Probability, Random Variables, and Stochastic
1926- Processes," 3rd ed., McGraw-Hill Companies, 1991
1927-.. [2] R.O. Duda, P.E. Hart, and D.G. Stork, "Pattern Classification,"
1928- 2nd ed., Wiley, 2001.
1929-
1930-.. only:: latex
1931-
1932- [1]_, [2]_
1933-
1934-.. rubric:: Examples
1935-
1936->>> mean = (1,2)
1937->>> cov = [[1,0],[1,0]]
1938->>> x = multivariate_normal(mean,cov,(3,3))
1939->>> print x.shape
1940-(3, 3, 2)
1941-
1942-The following is probably true, given that 0.6 is roughly twice the
1943-standard deviation:
1944-
1945->>> print list( (x[0,0,:] - mean) < 0.6 )
1946-[True, True]
1947-""")
1948-
1949-
1950-doc2 = NumpyDocString("""
1951- Returns array of indices of the maximum values of along the given axis.
1952-
1953- Parameters
1954- ----------
1955- a : {array_like}
1956- Array to look in.
1957- axis : {None, integer}
1958- If None, the index is into the flattened array, otherwise along
1959- the specified axis""")
1960-
1961-def test_parameters_without_extended_description():
1962- assert_equal(len(doc2['Parameters']), 2)
1963-
1964-doc3 = NumpyDocString("""
1965- my_signature(*params, **kwds)
1966-
1967- Return this and that.
1968- """)
1969-
1970-def test_escape_stars():
1971- signature = str(doc3).split('\n')[0]
1972- assert_equal(signature, 'my_signature(\*params, \*\*kwds)')
1973-
1974-doc4 = NumpyDocString(
1975- """a.conj()
1976-
1977- Return an array with all complex-valued elements conjugated.""")
1978-
1979-def test_empty_extended_summary():
1980- assert_equal(doc4['Extended Summary'], [])
1981-
1982-doc5 = NumpyDocString(
1983- """
1984- a.something()
1985-
1986- Raises
1987- ------
1988- LinAlgException
1989- If array is singular.
1990-
1991- Warns
1992- -----
1993- SomeWarning
1994- If needed
1995- """)
1996-
1997-def test_raises():
1998- assert_equal(len(doc5['Raises']), 1)
1999- name,_,desc = doc5['Raises'][0]
2000- assert_equal(name,'LinAlgException')
2001- assert_equal(desc,['If array is singular.'])
2002-
2003-def test_warns():
2004- assert_equal(len(doc5['Warns']), 1)
2005- name,_,desc = doc5['Warns'][0]
2006- assert_equal(name,'SomeWarning')
2007- assert_equal(desc,['If needed'])
2008-
2009-def test_see_also():
2010- doc6 = NumpyDocString(
2011- """
2012- z(x,theta)
2013-
2014- See Also
2015- --------
2016- func_a, func_b, func_c
2017- func_d : some equivalent func
2018- foo.func_e : some other func over
2019- multiple lines
2020- func_f, func_g, :meth:`func_h`, func_j,
2021- func_k
2022- :obj:`baz.obj_q`
2023- :class:`class_j`: fubar
2024- foobar
2025- """)
2026-
2027- assert len(doc6['See Also']) == 12
2028- for func, desc, role in doc6['See Also']:
2029- if func in ('func_a', 'func_b', 'func_c', 'func_f',
2030- 'func_g', 'func_h', 'func_j', 'func_k', 'baz.obj_q'):
2031- assert(not desc)
2032- else:
2033- assert(desc)
2034-
2035- if func == 'func_h':
2036- assert role == 'meth'
2037- elif func == 'baz.obj_q':
2038- assert role == 'obj'
2039- elif func == 'class_j':
2040- assert role == 'class'
2041- else:
2042- assert role is None
2043-
2044- if func == 'func_d':
2045- assert desc == ['some equivalent func']
2046- elif func == 'foo.func_e':
2047- assert desc == ['some other func over', 'multiple lines']
2048- elif func == 'class_j':
2049- assert desc == ['fubar', 'foobar']
2050-
2051-def test_see_also_print():
2052- class Dummy(object):
2053- """
2054- See Also
2055- --------
2056- func_a, func_b
2057- func_c : some relationship
2058- goes here
2059- func_d
2060- """
2061- pass
2062-
2063- obj = Dummy()
2064- s = str(FunctionDoc(obj, role='func'))
2065- assert(':func:`func_a`, :func:`func_b`' in s)
2066- assert(' some relationship' in s)
2067- assert(':func:`func_d`' in s)
2068-
2069-doc7 = NumpyDocString("""
2070-
2071- Doc starts on second line.
2072-
2073- """)
2074-
2075-def test_empty_first_line():
2076- assert doc7['Summary'][0].startswith('Doc starts')
2077-
2078-
2079-def test_no_summary():
2080- str(SphinxDocString("""
2081- Parameters
2082- ----------"""))
2083-
2084-
2085-def test_unicode():
2086- doc = SphinxDocString("""
2087- öäöäöäöäöåååå
2088-
2089- öäöäöäööäååå
2090-
2091- Parameters
2092- ----------
2093- ååå : äää
2094- ööö
2095-
2096- Returns
2097- -------
2098- ååå : ööö
2099- äää
2100-
2101- """)
2102- assert doc['Summary'][0] == u'öäöäöäöäöåååå'.encode('utf-8')
2103-
2104-def test_plot_examples():
2105- cfg = dict(use_plots=True)
2106-
2107- doc = SphinxDocString("""
2108- Examples
2109- --------
2110- >>> import matplotlib.pyplot as plt
2111- >>> plt.plot([1,2,3],[4,5,6])
2112- >>> plt.show()
2113- """, config=cfg)
2114- assert 'plot::' in str(doc), str(doc)
2115-
2116- doc = SphinxDocString("""
2117- Examples
2118- --------
2119- .. plot::
2120-
2121- import matplotlib.pyplot as plt
2122- plt.plot([1,2,3],[4,5,6])
2123- plt.show()
2124- """, config=cfg)
2125- assert str(doc).count('plot::') == 1, str(doc)
2126-
2127-def test_class_members():
2128-
2129- class Dummy(object):
2130- """
2131- Dummy class.
2132-
2133- """
2134- def spam(self, a, b):
2135- """Spam\n\nSpam spam."""
2136- pass
2137- def ham(self, c, d):
2138- """Cheese\n\nNo cheese."""
2139- pass
2140-
2141- for cls in (ClassDoc, SphinxClassDoc):
2142- doc = cls(Dummy, config=dict(show_class_members=False))
2143- assert 'Methods' not in str(doc), (cls, str(doc))
2144- assert 'spam' not in str(doc), (cls, str(doc))
2145- assert 'ham' not in str(doc), (cls, str(doc))
2146-
2147- doc = cls(Dummy, config=dict(show_class_members=True))
2148- assert 'Methods' in str(doc), (cls, str(doc))
2149- assert 'spam' in str(doc), (cls, str(doc))
2150- assert 'ham' in str(doc), (cls, str(doc))
2151-
2152- if cls is SphinxClassDoc:
2153- assert '.. autosummary::' in str(doc), str(doc)
2154-
2155-if __name__ == "__main__":
2156- import nose
2157- nose.run()
2158-
2159
2160=== removed file '.pc/applied-patches'
2161--- .pc/applied-patches 2011-08-25 23:56:45 +0000
2162+++ .pc/applied-patches 1970-01-01 00:00:00 +0000
2163@@ -1,5 +0,0 @@
2164-02_build_dotblas.patch
2165-03_force_f2py_version.patch
2166-10_use_local_python.org_object.inv_sphinx.diff
2167-20_disable-plot-extension.patch
2168-debian-changes-1:1.5.1-2ubuntu2
2169
2170=== removed directory '.pc/debian-changes-1:1.5.1-2ubuntu2'
2171=== removed directory '.pc/debian-changes-1:1.5.1-2ubuntu2/numpy'
2172=== removed directory '.pc/debian-changes-1:1.5.1-2ubuntu2/numpy/distutils'
2173=== removed directory '.pc/debian-changes-1:1.5.1-2ubuntu2/numpy/distutils/fcompiler'
2174=== removed file '.pc/debian-changes-1:1.5.1-2ubuntu2/numpy/distutils/fcompiler/gnu.py'
2175--- .pc/debian-changes-1:1.5.1-2ubuntu2/numpy/distutils/fcompiler/gnu.py 2011-08-25 23:56:45 +0000
2176+++ .pc/debian-changes-1:1.5.1-2ubuntu2/numpy/distutils/fcompiler/gnu.py 1970-01-01 00:00:00 +0000
2177@@ -1,380 +0,0 @@
2178-import re
2179-import os
2180-import sys
2181-import warnings
2182-import platform
2183-import tempfile
2184-from subprocess import Popen, PIPE, STDOUT
2185-
2186-from numpy.distutils.cpuinfo import cpu
2187-from numpy.distutils.fcompiler import FCompiler
2188-from numpy.distutils.exec_command import exec_command
2189-from numpy.distutils.misc_util import msvc_runtime_library
2190-from numpy.distutils.compat import get_exception
2191-
2192-compilers = ['GnuFCompiler', 'Gnu95FCompiler']
2193-
2194-TARGET_R = re.compile("Target: ([a-zA-Z0-9_\-]*)")
2195-
2196-# XXX: handle cross compilation
2197-def is_win64():
2198- return sys.platform == "win32" and platform.architecture()[0] == "64bit"
2199-
2200-if is_win64():
2201- #_EXTRAFLAGS = ["-fno-leading-underscore"]
2202- _EXTRAFLAGS = []
2203-else:
2204- _EXTRAFLAGS = []
2205-
2206-class GnuFCompiler(FCompiler):
2207- compiler_type = 'gnu'
2208- compiler_aliases = ('g77',)
2209- description = 'GNU Fortran 77 compiler'
2210-
2211- def gnu_version_match(self, version_string):
2212- """Handle the different versions of GNU fortran compilers"""
2213- m = re.match(r'GNU Fortran', version_string)
2214- if not m:
2215- return None
2216- m = re.match(r'GNU Fortran\s+95.*?([0-9-.]+)', version_string)
2217- if m:
2218- return ('gfortran', m.group(1))
2219- m = re.match(r'GNU Fortran.*?([0-9-.]+)', version_string)
2220- if m:
2221- v = m.group(1)
2222- if v.startswith('0') or v.startswith('2') or v.startswith('3'):
2223- # the '0' is for early g77's
2224- return ('g77', v)
2225- else:
2226- # at some point in the 4.x series, the ' 95' was dropped
2227- # from the version string
2228- return ('gfortran', v)
2229-
2230- def version_match(self, version_string):
2231- v = self.gnu_version_match(version_string)
2232- if not v or v[0] != 'g77':
2233- return None
2234- return v[1]
2235-
2236- # 'g77 --version' results
2237- # SunOS: GNU Fortran (GCC 3.2) 3.2 20020814 (release)
2238- # Debian: GNU Fortran (GCC) 3.3.3 20040110 (prerelease) (Debian)
2239- # GNU Fortran (GCC) 3.3.3 (Debian 20040401)
2240- # GNU Fortran 0.5.25 20010319 (prerelease)
2241- # Redhat: GNU Fortran (GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
2242- # GNU Fortran (GCC) 3.4.2 (mingw-special)
2243-
2244- possible_executables = ['g77', 'f77']
2245- executables = {
2246- 'version_cmd' : [None, "--version"],
2247- 'compiler_f77' : [None, "-g", "-Wall", "-fno-second-underscore"],
2248- 'compiler_f90' : None, # Use --fcompiler=gnu95 for f90 codes
2249- 'compiler_fix' : None,
2250- 'linker_so' : [None, "-g", "-Wall"],
2251- 'archiver' : ["ar", "-cr"],
2252- 'ranlib' : ["ranlib"],
2253- 'linker_exe' : [None, "-g", "-Wall"]
2254- }
2255- module_dir_switch = None
2256- module_include_switch = None
2257-
2258- # Cygwin: f771: warning: -fPIC ignored for target (all code is
2259- # position independent)
2260- if os.name != 'nt' and sys.platform != 'cygwin':
2261- pic_flags = ['-fPIC']
2262-
2263- # use -mno-cygwin for g77 when Python is not Cygwin-Python
2264- if sys.platform == 'win32':
2265- for key in ['version_cmd', 'compiler_f77', 'linker_so', 'linker_exe']:
2266- executables[key].append('-mno-cygwin')
2267-
2268- g2c = 'g2c'
2269-
2270- suggested_f90_compiler = 'gnu95'
2271-
2272- #def get_linker_so(self):
2273- # # win32 linking should be handled by standard linker
2274- # # Darwin g77 cannot be used as a linker.
2275- # #if re.match(r'(darwin)', sys.platform):
2276- # # return
2277- # return FCompiler.get_linker_so(self)
2278-
2279- def get_flags_linker_so(self):
2280- opt = self.linker_so[1:]
2281- if sys.platform=='darwin':
2282- target = os.environ.get('MACOSX_DEPLOYMENT_TARGET', None)
2283- # If MACOSX_DEPLOYMENT_TARGET is set, we simply trust the value
2284- # and leave it alone. But, distutils will complain if the
2285- # environment's value is different from the one in the Python
2286- # Makefile used to build Python. We let disutils handle this
2287- # error checking.
2288- if not target:
2289- # If MACOSX_DEPLOYMENT_TARGET is not set in the environment,
2290- # we try to get it first from the Python Makefile and then we
2291- # fall back to setting it to 10.3 to maximize the set of
2292- # versions we can work with. This is a reasonable default
2293- # even when using the official Python dist and those derived
2294- # from it.
2295- import distutils.sysconfig as sc
2296- g = {}
2297- filename = sc.get_makefile_filename()
2298- sc.parse_makefile(filename, g)
2299- target = g.get('MACOSX_DEPLOYMENT_TARGET', '10.3')
2300- os.environ['MACOSX_DEPLOYMENT_TARGET'] = target
2301- if target == '10.3':
2302- s = 'Env. variable MACOSX_DEPLOYMENT_TARGET set to 10.3'
2303- warnings.warn(s)
2304-
2305- opt.extend(['-undefined', 'dynamic_lookup', '-bundle'])
2306- else:
2307- opt.append("-shared")
2308- if sys.platform.startswith('sunos'):
2309- # SunOS often has dynamically loaded symbols defined in the
2310- # static library libg2c.a The linker doesn't like this. To
2311- # ignore the problem, use the -mimpure-text flag. It isn't
2312- # the safest thing, but seems to work. 'man gcc' says:
2313- # ".. Instead of using -mimpure-text, you should compile all
2314- # source code with -fpic or -fPIC."
2315- opt.append('-mimpure-text')
2316- return opt
2317-
2318- def get_libgcc_dir(self):
2319- status, output = exec_command(self.compiler_f77 +
2320- ['-print-libgcc-file-name'],
2321- use_tee=0)
2322- if not status:
2323- return os.path.dirname(output)
2324- return None
2325-
2326- def get_library_dirs(self):
2327- opt = []
2328- if sys.platform[:5] != 'linux':
2329- d = self.get_libgcc_dir()
2330- if d:
2331- # if windows and not cygwin, libg2c lies in a different folder
2332- if sys.platform == 'win32' and not d.startswith('/usr/lib'):
2333- d = os.path.normpath(d)
2334- if not os.path.exists(os.path.join(d, "lib%s.a" % self.g2c)):
2335- d2 = os.path.abspath(os.path.join(d,
2336- '../../../../lib'))
2337- if os.path.exists(os.path.join(d2, "lib%s.a" % self.g2c)):
2338- opt.append(d2)
2339- opt.append(d)
2340- return opt
2341-
2342- def get_libraries(self):
2343- opt = []
2344- d = self.get_libgcc_dir()
2345- if d is not None:
2346- g2c = self.g2c + '-pic'
2347- f = self.static_lib_format % (g2c, self.static_lib_extension)
2348- if not os.path.isfile(os.path.join(d,f)):
2349- g2c = self.g2c
2350- else:
2351- g2c = self.g2c
2352-
2353- if g2c is not None:
2354- opt.append(g2c)
2355- c_compiler = self.c_compiler
2356- if sys.platform == 'win32' and c_compiler and \
2357- c_compiler.compiler_type=='msvc':
2358- # the following code is not needed (read: breaks) when using MinGW
2359- # in case want to link F77 compiled code with MSVC
2360- opt.append('gcc')
2361- runtime_lib = msvc_runtime_library()
2362- if runtime_lib:
2363- opt.append(runtime_lib)
2364- if sys.platform == 'darwin':
2365- opt.append('cc_dynamic')
2366- return opt
2367-
2368- def get_flags_debug(self):
2369- return ['-g']
2370-
2371- def get_flags_opt(self):
2372- v = self.get_version()
2373- if v and v<='3.3.3':
2374- # With this compiler version building Fortran BLAS/LAPACK
2375- # with -O3 caused failures in lib.lapack heevr,syevr tests.
2376- opt = ['-O2']
2377- else:
2378- opt = ['-O3']
2379- opt.append('-funroll-loops')
2380- return opt
2381-
2382- def _c_arch_flags(self):
2383- """ Return detected arch flags from CFLAGS """
2384- from distutils import sysconfig
2385- try:
2386- cflags = sysconfig.get_config_vars()['CFLAGS']
2387- except KeyError:
2388- return []
2389- arch_re = re.compile(r"-arch\s+(\w+)")
2390- arch_flags = []
2391- for arch in arch_re.findall(cflags):
2392- arch_flags += ['-arch', arch]
2393- return arch_flags
2394-
2395- def get_flags_arch(self):
2396- return []
2397-
2398-class Gnu95FCompiler(GnuFCompiler):
2399- compiler_type = 'gnu95'
2400- compiler_aliases = ('gfortran',)
2401- description = 'GNU Fortran 95 compiler'
2402-
2403- def version_match(self, version_string):
2404- v = self.gnu_version_match(version_string)
2405- if not v or v[0] != 'gfortran':
2406- return None
2407- return v[1]
2408-
2409- # 'gfortran --version' results:
2410- # XXX is the below right?
2411- # Debian: GNU Fortran 95 (GCC 4.0.3 20051023 (prerelease) (Debian 4.0.2-3))
2412- # GNU Fortran 95 (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
2413- # OS X: GNU Fortran 95 (GCC) 4.1.0
2414- # GNU Fortran 95 (GCC) 4.2.0 20060218 (experimental)
2415- # GNU Fortran (GCC) 4.3.0 20070316 (experimental)
2416-
2417- possible_executables = ['gfortran', 'f95']
2418- executables = {
2419- 'version_cmd' : ["<F90>", "--version"],
2420- 'compiler_f77' : [None, "-Wall", "-ffixed-form",
2421- "-fno-second-underscore"] + _EXTRAFLAGS,
2422- 'compiler_f90' : [None, "-Wall", "-fno-second-underscore"] + _EXTRAFLAGS,
2423- 'compiler_fix' : [None, "-Wall", "-ffixed-form",
2424- "-fno-second-underscore"] + _EXTRAFLAGS,
2425- 'linker_so' : ["<F90>", "-Wall"],
2426- 'archiver' : ["ar", "-cr"],
2427- 'ranlib' : ["ranlib"],
2428- 'linker_exe' : [None, "-Wall"]
2429- }
2430-
2431- # use -mno-cygwin flag for g77 when Python is not Cygwin-Python
2432- if sys.platform == 'win32':
2433- for key in ['version_cmd', 'compiler_f77', 'compiler_f90',
2434- 'compiler_fix', 'linker_so', 'linker_exe']:
2435- executables[key].append('-mno-cygwin')
2436-
2437- module_dir_switch = '-J'
2438- module_include_switch = '-I'
2439-
2440- g2c = 'gfortran'
2441-
2442- def _universal_flags(self, cmd):
2443- """Return a list of -arch flags for every supported architecture."""
2444- if not sys.platform == 'darwin':
2445- return []
2446- arch_flags = []
2447- # get arches the C compiler gets.
2448- c_archs = self._c_arch_flags()
2449- if "i386" in c_archs:
2450- c_archs[c_archs.index("i386")] = "i686"
2451- # check the arches the Fortran compiler supports, and compare with
2452- # arch flags from C compiler
2453- for arch in ["ppc", "i686", "x86_64", "ppc64"]:
2454- if _can_target(cmd, arch) and arch in c_archs:
2455- arch_flags.extend(["-arch", arch])
2456- return arch_flags
2457-
2458- def get_flags(self):
2459- flags = GnuFCompiler.get_flags(self)
2460- arch_flags = self._universal_flags(self.compiler_f90)
2461- if arch_flags:
2462- flags[:0] = arch_flags
2463- return flags
2464-
2465- def get_flags_linker_so(self):
2466- flags = GnuFCompiler.get_flags_linker_so(self)
2467- arch_flags = self._universal_flags(self.linker_so)
2468- if arch_flags:
2469- flags[:0] = arch_flags
2470- return flags
2471-
2472- def get_library_dirs(self):
2473- opt = GnuFCompiler.get_library_dirs(self)
2474- if sys.platform == 'win32':
2475- c_compiler = self.c_compiler
2476- if c_compiler and c_compiler.compiler_type == "msvc":
2477- target = self.get_target()
2478- if target:
2479- d = os.path.normpath(self.get_libgcc_dir())
2480- root = os.path.join(d, os.pardir, os.pardir, os.pardir, os.pardir)
2481- mingwdir = os.path.normpath(os.path.join(root, target, "lib"))
2482- full = os.path.join(mingwdir, "libmingwex.a")
2483- if os.path.exists(full):
2484- opt.append(mingwdir)
2485- return opt
2486-
2487- def get_libraries(self):
2488- opt = GnuFCompiler.get_libraries(self)
2489- if sys.platform == 'darwin':
2490- opt.remove('cc_dynamic')
2491- if sys.platform == 'win32':
2492- c_compiler = self.c_compiler
2493- if c_compiler and c_compiler.compiler_type == "msvc":
2494- if "gcc" in opt:
2495- i = opt.index("gcc")
2496- opt.insert(i+1, "mingwex")
2497- opt.insert(i+1, "mingw32")
2498- # XXX: fix this mess, does not work for mingw
2499- if is_win64():
2500- c_compiler = self.c_compiler
2501- if c_compiler and c_compiler.compiler_type == "msvc":
2502- return []
2503- else:
2504- raise NotImplementedError("Only MS compiler supported with gfortran on win64")
2505- return opt
2506-
2507- def get_target(self):
2508- status, output = exec_command(self.compiler_f77 +
2509- ['-v'],
2510- use_tee=0)
2511- if not status:
2512- m = TARGET_R.search(output)
2513- if m:
2514- return m.group(1)
2515- return ""
2516-
2517- def get_flags_opt(self):
2518- if is_win64():
2519- return ['-O0']
2520- else:
2521- return GnuFCompiler.get_flags_opt(self)
2522-
2523-def _can_target(cmd, arch):
2524- """Return true is the command supports the -arch flag for the given
2525- architecture."""
2526- newcmd = cmd[:]
2527- fid, filename = tempfile.mkstemp(suffix=".f")
2528- try:
2529- d = os.path.dirname(filename)
2530- output = os.path.splitext(filename)[0] + ".o"
2531- try:
2532- newcmd.extend(["-arch", arch, "-c", filename])
2533- p = Popen(newcmd, stderr=STDOUT, stdout=PIPE, cwd=d)
2534- p.communicate()
2535- return p.returncode == 0
2536- finally:
2537- if os.path.exists(output):
2538- os.remove(output)
2539- finally:
2540- os.remove(filename)
2541- return False
2542-
2543-if __name__ == '__main__':
2544- from distutils import log
2545- log.set_verbosity(2)
2546- compiler = GnuFCompiler()
2547- compiler.customize()
2548- print(compiler.get_version())
2549- raw_input('Press ENTER to continue...')
2550- try:
2551- compiler = Gnu95FCompiler()
2552- compiler.customize()
2553- print(compiler.get_version())
2554- except Exception:
2555- msg = get_exception()
2556- print(msg)
2557- raw_input('Press ENTER to continue...')
2558
2559=== modified file 'DEV_README.txt'
2560--- DEV_README.txt 2009-08-25 11:13:37 +0000
2561+++ DEV_README.txt 2012-02-12 15:09:21 +0000
2562@@ -3,7 +3,7 @@
2563
2564 We have a few simple rules:
2565
2566- * try hard to keep the SVN repository in a buildable state and to not
2567+ * try hard to keep the Git repository in a buildable state and to not
2568 indiscriminately muck with what others have contributed.
2569
2570 * Simple changes (including bug fixes) and obvious improvements are
2571@@ -14,6 +14,6 @@
2572 * Please add meaningful comments when you check changes in. These
2573 comments form the basis of the change-log.
2574
2575- * Add unit tests to excercise new code, and regression tests
2576+ * Add unit tests to exercise new code, and regression tests
2577 whenever you fix a bug.
2578
2579
2580=== modified file 'INSTALL.txt'
2581--- INSTALL.txt 2009-08-25 11:13:37 +0000
2582+++ INSTALL.txt 2012-02-12 15:09:21 +0000
2583@@ -27,12 +27,12 @@
2584
2585 Python must also be compiled with the zlib module enabled.
2586
2587-2) nose__ (pptional) 0.10.3 or later
2588+2) nose__ (optional) 0.10.3 or later
2589
2590 This is required for testing numpy, but not for using it.
2591
2592 Python__ http://www.python.org
2593-nose__ http://somethingaboutorange.com/mrl/projects/nose/
2594+nose__ http://somethingaboutorange.com/mrl/projects/nose/
2595
2596 Fortran ABI mismatch
2597 ====================
2598
2599=== modified file 'MANIFEST.in'
2600--- MANIFEST.in 2010-07-17 11:50:56 +0000
2601+++ MANIFEST.in 2012-02-12 15:09:21 +0000
2602@@ -4,10 +4,13 @@
2603 # data, etc files to distribution. Avoid using MANIFEST.in for that.
2604 #
2605 include MANIFEST.in
2606-include LICENSE.txt
2607+include COMPATIBILITY
2608+include *.txt
2609 include setupscons.py
2610 include setupsconsegg.py
2611 include setupegg.py
2612+include site.cfg.example
2613+include tools/py3tool.py
2614 # Adding scons build related files not found by distutils
2615 recursive-include numpy/core/code_generators *.py *.txt
2616 recursive-include numpy/core *.in *.h
2617@@ -18,3 +21,6 @@
2618 recursive-include doc/release *
2619 recursive-include doc/source *
2620 recursive-include doc/sphinxext *
2621+recursive-include doc/cython *
2622+recursive-include doc/pyrex *
2623+recursive-include doc/swig *
2624
2625=== modified file 'PKG-INFO'
2626--- PKG-INFO 2010-12-24 00:14:25 +0000
2627+++ PKG-INFO 2012-02-12 15:09:21 +0000
2628@@ -1,6 +1,6 @@
2629 Metadata-Version: 1.0
2630 Name: numpy
2631-Version: 1.5.1
2632+Version: 1.6.1
2633 Summary: NumPy: array processing for numbers, strings, records, and objects.
2634 Home-page: http://numpy.scipy.org
2635 Author: NumPy Developers
2636@@ -29,6 +29,7 @@
2637 Classifier: License :: OSI Approved
2638 Classifier: Programming Language :: C
2639 Classifier: Programming Language :: Python
2640+Classifier: Programming Language :: Python :: 3
2641 Classifier: Topic :: Software Development
2642 Classifier: Topic :: Scientific/Engineering
2643 Classifier: Operating System :: Microsoft :: Windows
2644
2645=== modified file 'README.txt'
2646--- README.txt 2010-12-24 00:14:25 +0000
2647+++ README.txt 2012-02-12 15:09:21 +0000
2648@@ -16,6 +16,12 @@
2649
2650 python -c 'import numpy; numpy.test()'
2651
2652+When installing a new version of numpy for the first time or before upgrading
2653+to a newer version, it is recommended to turn on deprecation warnings when
2654+running the tests:
2655+
2656+python -Wd -c 'import numpy; numpy.test()'
2657+
2658 The most current development version is always available from our
2659 git repository:
2660
2661
2662=== modified file 'THANKS.txt'
2663--- THANKS.txt 2009-08-25 11:13:37 +0000
2664+++ THANKS.txt 2012-02-12 15:09:21 +0000
2665@@ -47,6 +47,8 @@
2666 Alan McIntyre for updating the NumPy test framework to use nose, improve
2667 the test coverage, and enhancing the test system documentation.
2668 Joe Harrington for administering the 2008 Documentation Sprint.
2669+Mark Wiebe for the new NumPy iterator, the float16 data type, improved
2670+ low-level data type operations, and other NumPy core improvements.
2671
2672 NumPy is based on the Numeric (Jim Hugunin, Paul Dubois, Konrad
2673 Hinsen, and David Ascher) and NumArray (Perry Greenfield, J Todd
2674
2675=== added directory 'benchmarks'
2676=== added file 'benchmarks/benchmark.py'
2677--- benchmarks/benchmark.py 1970-01-01 00:00:00 +0000
2678+++ benchmarks/benchmark.py 2012-02-12 15:09:21 +0000
2679@@ -0,0 +1,42 @@
2680+from timeit import Timer
2681+
2682+class Benchmark(dict):
2683+ """Benchmark a feature in different modules."""
2684+
2685+ def __init__(self,modules,title='',runs=3,reps=1000):
2686+ self.module_test = dict((m,'') for m in modules)
2687+ self.runs = runs
2688+ self.reps = reps
2689+ self.title = title
2690+
2691+ def __setitem__(self,module,(test_str,setup_str)):
2692+ """Set the test code for modules."""
2693+ if module == 'all':
2694+ modules = self.module_test.keys()
2695+ else:
2696+ modules = [module]
2697+
2698+ for m in modules:
2699+ setup_str = 'import %s; import %s as np; ' % (m,m) \
2700+ + setup_str
2701+ self.module_test[m] = Timer(test_str, setup_str)
2702+
2703+ def run(self):
2704+ """Run the benchmark on the different modules."""
2705+ module_column_len = max(len(mod) for mod in self.module_test)
2706+
2707+ if self.title:
2708+ print self.title
2709+ print 'Doing %d runs, each with %d reps.' % (self.runs,self.reps)
2710+ print '-'*79
2711+
2712+ for mod in sorted(self.module_test):
2713+ modname = mod.ljust(module_column_len)
2714+ try:
2715+ print "%s: %s" % (modname, \
2716+ self.module_test[mod].repeat(self.runs,self.reps))
2717+ except Exception, e:
2718+ print "%s: Failed to benchmark (%s)." % (modname,e)
2719+
2720+ print '-'*79
2721+ print
2722
2723=== added file 'benchmarks/casting.py'
2724--- benchmarks/casting.py 1970-01-01 00:00:00 +0000
2725+++ benchmarks/casting.py 2012-02-12 15:09:21 +0000
2726@@ -0,0 +1,17 @@
2727+from benchmark import Benchmark
2728+
2729+modules = ['numpy','Numeric','numarray']
2730+
2731+b = Benchmark(modules,
2732+ title='Casting a (10,10) integer array to float.',
2733+ runs=3,reps=10000)
2734+
2735+N = [10,10]
2736+b['numpy'] = ('b = a.astype(int)',
2737+ 'a=numpy.zeros(shape=%s,dtype=float)' % N)
2738+b['Numeric'] = ('b = a.astype("l")',
2739+ 'a=Numeric.zeros(shape=%s,typecode="d")' % N)
2740+b['numarray'] = ("b = a.astype('l')",
2741+ "a=numarray.zeros(shape=%s,typecode='d')" % N)
2742+
2743+b.run()
2744
2745=== added file 'benchmarks/creating.py'
2746--- benchmarks/creating.py 1970-01-01 00:00:00 +0000
2747+++ benchmarks/creating.py 2012-02-12 15:09:21 +0000
2748@@ -0,0 +1,14 @@
2749+from benchmark import Benchmark
2750+
2751+modules = ['numpy','Numeric','numarray']
2752+
2753+N = [10,10]
2754+b = Benchmark(modules,
2755+ title='Creating %s zeros.' % N,
2756+ runs=3,reps=10000)
2757+
2758+b['numpy'] = ('a=np.zeros(shape,type)', 'shape=%s;type=float' % N)
2759+b['Numeric'] = ('a=np.zeros(shape,type)', 'shape=%s;type=np.Float' % N)
2760+b['numarray'] = ('a=np.zeros(shape,type)', "shape=%s;type=np.Float" % N)
2761+
2762+b.run()
2763
2764=== added file 'benchmarks/simpleindex.py'
2765--- benchmarks/simpleindex.py 1970-01-01 00:00:00 +0000
2766+++ benchmarks/simpleindex.py 2012-02-12 15:09:21 +0000
2767@@ -0,0 +1,48 @@
2768+import timeit
2769+# This is to show that NumPy is a poorer choice than nested Python lists
2770+# if you are writing nested for loops.
2771+# This is slower than Numeric was but Numeric was slower than Python lists were
2772+# in the first place.
2773+
2774+N = 30
2775+
2776+code2 = r"""
2777+for k in xrange(%d):
2778+ for l in xrange(%d):
2779+ res = a[k,l].item() + a[l,k].item()
2780+""" % (N,N)
2781+
2782+code3 = r"""
2783+for k in xrange(%d):
2784+ for l in xrange(%d):
2785+ res = a[k][l] + a[l][k]
2786+""" % (N,N)
2787+
2788+code = r"""
2789+for k in xrange(%d):
2790+ for l in xrange(%d):
2791+ res = a[k,l] + a[l,k]
2792+""" % (N,N)
2793+
2794+setup3 = r"""
2795+import random
2796+a = [[None for k in xrange(%d)] for l in xrange(%d)]
2797+for k in xrange(%d):
2798+ for l in xrange(%d):
2799+ a[k][l] = random.random()
2800+""" % (N,N,N,N)
2801+
2802+numpy_timer1 = timeit.Timer(code, 'import numpy as np; a = np.random.rand(%d,%d)' % (N,N))
2803+numeric_timer = timeit.Timer(code, 'import MLab as np; a=np.rand(%d,%d)' % (N,N))
2804+numarray_timer = timeit.Timer(code, 'import numarray.mlab as np; a=np.rand(%d,%d)' % (N,N))
2805+numpy_timer2 = timeit.Timer(code2, 'import numpy as np; a = np.random.rand(%d,%d)' % (N,N))
2806+python_timer = timeit.Timer(code3, setup3)
2807+numpy_timer3 = timeit.Timer("res = a + a.transpose()","import numpy as np; a=np.random.rand(%d,%d)" % (N,N))
2808+
2809+print "shape = ", (N,N)
2810+print "NumPy 1: ", numpy_timer1.repeat(3,100)
2811+print "NumPy 2: ", numpy_timer2.repeat(3,100)
2812+print "Numeric: ", numeric_timer.repeat(3,100)
2813+print "Numarray: ", numarray_timer.repeat(3,100)
2814+print "Python: ", python_timer.repeat(3,100)
2815+print "Optimized: ", numpy_timer3.repeat(3,100)
2816
2817=== added file 'benchmarks/sorting.py'
2818--- benchmarks/sorting.py 1970-01-01 00:00:00 +0000
2819+++ benchmarks/sorting.py 2012-02-12 15:09:21 +0000
2820@@ -0,0 +1,25 @@
2821+from benchmark import Benchmark
2822+
2823+modules = ['numpy','Numeric','numarray']
2824+b = Benchmark(modules,runs=3,reps=100)
2825+
2826+N = 10000
2827+b.title = 'Sorting %d elements' % N
2828+b['numarray'] = ('a=np.array(None,shape=%d,typecode="i");a.sort()'%N,'')
2829+b['numpy'] = ('a=np.empty(shape=%d, dtype="i");a.sort()'%N,'')
2830+b['Numeric'] = ('a=np.empty(shape=%d, typecode="i");np.sort(a)'%N,'')
2831+b.run()
2832+
2833+N1,N2 = 100,100
2834+b.title = 'Sorting (%d,%d) elements, last axis' % (N1,N2)
2835+b['numarray'] = ('a=np.array(None,shape=(%d,%d),typecode="i");a.sort()'%(N1,N2),'')
2836+b['numpy'] = ('a=np.empty(shape=(%d,%d), dtype="i");a.sort()'%(N1,N2),'')
2837+b['Numeric'] = ('a=np.empty(shape=(%d,%d),typecode="i");np.sort(a)'%(N1,N2),'')
2838+b.run()
2839+
2840+N1,N2 = 100,100
2841+b.title = 'Sorting (%d,%d) elements, first axis' % (N1,N2)
2842+b['numarray'] = ('a=np.array(None,shape=(%d,%d), typecode="i");a.sort(0)'%(N1,N2),'')
2843+b['numpy'] = ('a=np.empty(shape=(%d,%d),dtype="i");np.sort(a,0)'%(N1,N2),'')
2844+b['Numeric'] = ('a=np.empty(shape=(%d,%d),typecode="i");np.sort(a,0)'%(N1,N2),'')
2845+b.run()
2846
2847=== modified file 'debian/README.DebianMaints'
2848--- debian/README.DebianMaints 2010-07-28 00:05:00 +0000
2849+++ debian/README.DebianMaints 2012-02-12 15:09:21 +0000
2850@@ -3,26 +3,32 @@
2851
2852 With Numpy 1.4.1 upload in unstable, we had several packages failing
2853 to execute due to a change in 'dtype' format (some fields were added
2854-at the end of the data strucutre).
2855+at the end of the data structure).
2856
2857 After that, we decided to provide a reliable way to specify strict
2858 versioned depends on python-numpy by the packages depending on it, in
2859 order to avoid similar failures in future uploads.
2860
2861-Currently you have two ways to do that:
2862-
2863-* dh_numpy, that will add python-numpy versioned depends (using pydist
2864- file information, see below) to python:Depends substvar
2865-
2866-* dh_python2 and the pydist file shipped by python-numpy,
2867- /usr/share/python/di st/python-numpy; you can read more out pydist
2868- files at [1].
2869-
2870-[1] http://alioth.debian.org/scm/loggerhead/pkg-python/python-defaults-debian/annotate/head:/README.PyDist
2871-
2872-python-support will receive the same support for pydist as of
2873-dh_python2, but it's not already implemented at the time or
2874-writing. So, in case you don't want to use dh_python2, use dh_numpy
2875-helper script.
2876-
2877- -- Sandro Tosi <morph@debian.org> Tue, 27 Jul 2010 23:28:11 +0200
2878\ No newline at end of file
2879+python-numpy provides a debhelper tool, dh_numpy, that will add Numpy
2880+dependencies to python:Depends substvar; what dh_numpy does is:
2881+
2882+* if the package is arch:all, a simple dependency on 'python-numpy' is
2883+ added;
2884+* if the package is arch:any, two dependencies are added:
2885+ * python-numpy-abi$N, where N is the value for the current Numpy
2886+ ABI, as defined by upstream C_ABI_VERSION value;
2887+ * python-numpy (>= $VER), where VER is the minimum python-numpy
2888+ package version implementing the current Numpy API, as defined by
2889+ upstream C_API_VERSION value.
2890+* if the package is arch:any and the '--strict' command-line option is
2891+ passed to dh_numpy, a dependency against python-numpy-api$M is
2892+ added, where M is the value for the current Numpy API, as defined by
2893+ upstream C_API_VERSION value.
2894+
2895+The current values for API, ABI and version are available in the file
2896+/usr/share/numpy/versions .
2897+
2898+You should call dh_numpy regardless of the python helper you are using
2899+in the package.
2900+
2901+ -- Sandro Tosi <morph@debian.org> Sun, 29 Jan 2012 11:01:45 +0100
2902
2903=== modified file 'debian/changelog'
2904--- debian/changelog 2011-12-17 17:22:00 +0000
2905+++ debian/changelog 2012-02-12 15:09:21 +0000
2906@@ -1,3 +1,108 @@
2907+python-numpy (1:1.6.1-5ubuntu1) precise; urgency=low
2908+
2909+ * debian/patches/search-multiarch-paths.patch: (LP: #818867)
2910+ - add multiarch libdirs to numpy.distutils.system_info
2911+ * Merge from Debian unstable, remaining changes:
2912+ - debian/patches/20_disable-plot-extension.patch
2913+ Disable plot_directive extension, and catch ImportErrors when
2914+ matplotlib cannot be imported, which allows us to remove
2915+ python-matplotlib from dependencies. This is required because
2916+ python-numpy is in main, while python-matplotlib is in universe.
2917+ - Build using dh_python2
2918+ add bin/f2py* to .install files
2919+ - keep Replaces: python-numpy (<< 1:1.3.0-4) in python-numpy-dbg
2920+ for lucid upgrades
2921+
2922+ -- Julian Taylor <jtaylor@ubuntu.com> Sat, 11 Feb 2012 12:55:21 +0100
2923+
2924+python-numpy (1:1.6.1-5) experimental; urgency=low
2925+
2926+ * debian/versions
2927+ - bump also api-min-version; thanks to Jakub Wilk for noticing it.
2928+
2929+ -- Sandro Tosi <morph@debian.org> Thu, 09 Feb 2012 22:34:35 +0100
2930+
2931+python-numpy (1:1.6.1-4) experimental; urgency=low
2932+
2933+ [ Yaroslav Halchenko ]
2934+ * debian/rules
2935+ - Check for nocheck instead of notest (policy 4.9.1)
2936+
2937+ [ Sandro Tosi ]
2938+ * Release fix for #643873 in experimental too, bumping API version to 6
2939+
2940+ -- Sandro Tosi <morph@debian.org> Thu, 09 Feb 2012 21:44:17 +0100
2941+
2942+python-numpy (1:1.6.1-3) experimental; urgency=low
2943+
2944+ * debian/{control, rules}
2945+ - run tests at package build time; Closes: #601592
2946+
2947+ -- Sandro Tosi <morph@debian.org> Fri, 23 Sep 2011 23:18:03 +0200
2948+
2949+python-numpy (1:1.6.1-2) experimental; urgency=low
2950+
2951+ * debian/python.org_objects.inv
2952+ - updated
2953+ * debian/source/include-binaries
2954+ - python.org_objects.inv is now binary so it needs whitelisting
2955+ * debian/rules
2956+ - call dh_sphinxdoc only for binary-indep packages, fixing a FTBFS on all
2957+ the buildbots
2958+
2959+ -- Sandro Tosi <morph@debian.org> Sat, 17 Sep 2011 11:50:35 +0200
2960+
2961+python-numpy (1:1.6.1-1) experimental; urgency=low
2962+
2963+ * New upstream release; Closes: #633576
2964+ - use DeprecationWarning instead of warning; Closes: #519483
2965+ - fix lapack interface handling of non-native byte order: Closes: #581043
2966+ * debian/python-numpy.docs
2967+ - install benchmarks/ dir in the documentation
2968+ * debian/copyright
2969+ - updated
2970+ * debian/rules
2971+ - adjust pdist versions
2972+ - install debug files where gdb will look for them
2973+ * debian/control
2974+ - remove Ondrej, Alexandre, Matthias, David from Uploaders: thanks for all
2975+ the work you did!
2976+ - bump Standards-Version to 3.9.2 (no changes needed)
2977+ - removed DM-U-A flag, no more needed
2978+ - removed useless fields
2979+ * debian/{control, rules}
2980+ - use dh_sphinxdoc
2981+ * debian/python-numpy-doc.lintian-overrides
2982+ - added to override extra-license-file, generated by a file needed by sphinx
2983+
2984+ -- Sandro Tosi <morph@debian.org> Fri, 16 Sep 2011 20:02:50 +0200
2985+
2986+python-numpy (1:1.5.1-4) unstable; urgency=low
2987+
2988+ [ Jakub Wilk ]
2989+ * Enhancement to dh_numpy: now it is able to generate dependencies also on
2990+ virtual packages matching Numpy API and ABI versions; this allows the
2991+ packages to declare less strict relationships with python-numpy, improving
2992+ the ability to handle Numpy newer versions transitions. A detailed
2993+ description of the dependencies generation is available in
2994+ README.DebianMaints file. Closes: #643873
2995+
2996+ [ Sandro Tosi ]
2997+ * debian/patches/20_sphinx_1.1.2.diff
2998+ - fix a FTBFS with Sphinx 1.1.2 due to autoindex not being allowed in a
2999+ glossary section; thanks to Jakub Wilk for the report; Closes: #655635
3000+
3001+ -- Sandro Tosi <morph@debian.org> Wed, 01 Feb 2012 19:09:17 +0100
3002+
3003+python-numpy (1:1.5.1-3) unstable; urgency=low
3004+
3005+ * debian/rules
3006+ - make /u/b/f2py{,-dbg} real files (not symlink) with the shebang pointing
3007+ to unversioned python{,-dbg}, this makes the package more binNMU friendly;
3008+ thanks to Jakub Wilk for the report; Closes: #643857
3009+
3010+ -- Sandro Tosi <morph@debian.org> Tue, 04 Oct 2011 11:43:55 +0200
3011+
3012 python-numpy (1:1.5.1-2ubuntu3) precise; urgency=low
3013
3014 * Build using dh_python2
3015
3016=== modified file 'debian/control'
3017--- debian/control 2011-12-17 17:22:00 +0000
3018+++ debian/control 2012-02-12 15:09:21 +0000
3019@@ -3,21 +3,19 @@
3020 Priority: optional
3021 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
3022 XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
3023-Uploaders: Alexandre Fayolle <afayolle@debian.org>, Matthias Klose <doko@debian.org>, Ondrej Certik <ondrej@certik.cz>, David Cournapeau <cournape@gmail.com>, Sandro Tosi <morph@debian.org>
3024-Build-Depends: python-all-dev (>= 2.6.6-3~), python-all-dbg, gfortran (>= 4:4.2), libblas-dev [!arm !m68k], liblapack-dev [!arm !m68k], debhelper (>= 7.0.50~), patchutils, python-docutils, python-sphinx, quilt
3025+Uploaders: Sandro Tosi <morph@debian.org>
3026+Build-Depends: python-all-dev (>= 2.6.6-3~), python-all-dbg, gfortran (>= 4:4.2), libblas-dev [!arm !m68k], liblapack-dev [!arm !m68k], debhelper (>= 7.0.50~), patchutils, python-docutils, quilt, python-sphinx (>= 1.0.7+dfsg), python-nose
3027 XS-Python-Version: >= 2.4
3028-Standards-Version: 3.9.1
3029+Standards-Version: 3.9.2
3030 Vcs-Svn: svn://svn.debian.org/python-modules/packages/numpy/trunk
3031 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/numpy/trunk/
3032-XS-DM-Upload-Allowed: yes
3033 Homepage: http://numpy.scipy.org/
3034
3035 Package: python-numpy
3036 Architecture: any
3037 Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
3038 Suggests: python-numpy-doc, python-numpy-dbg, python-nose (>= 0.10.1), python-dev, gfortran
3039-XB-Python-Version: ${python:Versions}
3040-Provides: ${python:Provides}, python-numpy-dev, python-f2py
3041+Provides: ${python:Provides}, ${numpy:Provides}, python-numpy-dev, python-f2py
3042 Description: Numerical Python adds a fast array facility to the Python language
3043 Numpy contains a powerful N-dimensional array object, sophisticated
3044 (broadcasting) functions, tools for integrating C/C++ and Fortran
3045@@ -34,7 +32,6 @@
3046 Architecture: any
3047 Depends: python-numpy (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
3048 Replaces: python-numpy (<< 1:1.3.0-4)
3049-XB-Python-Version: ${python:Versions}
3050 Description: Fast array facility to the Python language (debug extension)
3051 Numpy contains a powerful N-dimensional array object, sophisticated
3052 (broadcasting) functions, tools for integrating C/C++ and Fortran
3053@@ -48,7 +45,7 @@
3054 This package contains the extension built for the Python debug interpreter.
3055
3056 Package: python-numpy-doc
3057-Depends: ${misc:Depends}, libjs-jquery
3058+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
3059 Section: doc
3060 Architecture: all
3061 Description: NumPy documentation
3062
3063=== modified file 'debian/copyright'
3064--- debian/copyright 2010-07-17 11:50:56 +0000
3065+++ debian/copyright 2012-02-12 15:09:21 +0000
3066@@ -437,7 +437,7 @@
3067
3068
3069 numpy/f2py/*
3070- Copyright 1999-2005 Pearu Peterson all rights reserved,
3071+ Copyright 1999-2011 Pearu Peterson all rights reserved,
3072 Pearu Peterson <pearu@ioc.ee>
3073 Permission to use, modify, and distribute this software is given under the
3074 terms of the NumPy License.
3075@@ -469,6 +469,21 @@
3076 Author: Pierre Gerard-Marchant <pierregm_at_uga_dot_edu>
3077
3078
3079+numpy/core/src/multiarray/{lowlevel_strided_loops.c.src, nditer.c.src,
3080+ nditer_pywrap.c}
3081+ Copyright (c) 2010 by Mark Wiebe (mwwiebe@gmail.com)
3082+ The Univerity of British Columbia
3083+
3084+
3085+doc/cython/c_numpy.pxd, doc/pyrex/c_numpy.pxd
3086+ Author: Travis Oliphant
3087+
3088+
3089+doc/cython/c_python.pxd
3090+ Author: Robert Kern
3091+ Copyright: 2004, Enthought, Inc.
3092+ License: BSD Style
3093+
3094 From doc/sphinxext/LICENSE.txt:
3095
3096 -------------------------------------------------------------------------------
3097
3098=== modified file 'debian/dh_numpy'
3099--- debian/dh_numpy 2010-07-28 00:05:00 +0000
3100+++ debian/dh_numpy 2012-02-12 15:09:21 +0000
3101@@ -1,6 +1,7 @@
3102 #!/usr/bin/perl -w
3103
3104 # Copyright © 2010 Piotr Ożarowski <piotr@debian.org>
3105+# Copyright © 2012 Jakub Wilk <jwilk@debian.org>
3106 #
3107 # Permission is hereby granted, free of charge, to any person obtaining a copy
3108 # of this software and associated documentation files (the "Software"), to deal
3109@@ -23,24 +24,34 @@
3110 use strict;
3111 use Debian::Debhelper::Dh_Lib;
3112
3113-init();
3114-
3115-my $numpy_dep;
3116-
3117-open(PYDIST, '/usr/share/python/dist/python-numpy') || error("cannot read python-numpy pydist file: $!\n");
3118-while (<PYDIST>) {
3119- my($line) = $_;
3120- chomp($line);
3121- if ($line =~ /[^\s]*\s([^;]*).*/ ) {
3122- $numpy_dep = $1;
3123+init(options => {
3124+ "strict" => \$dh{STRICT},
3125+});
3126+
3127+my %data;
3128+
3129+open(FILE, '<', '/usr/share/numpy/versions') or error("cannot read version data: $!\n");
3130+while (<FILE>) {
3131+ chomp;
3132+ next unless /^[^#]/;
3133+ my ($key, $value) = split;
3134+ $data{$key} = $value;
3135+}
3136+close FILE;
3137+
3138+unless ($data{'abi'} and $data{'api'} and $data{'api-min-version'}) {
3139+ error("cannot parse version data file");
3140+}
3141+
3142+foreach my $package (@{$dh{DOPACKAGES}}) {
3143+ my $numpy_dep;
3144+ if (package_arch($package) eq 'all') {
3145+ $numpy_dep = 'python-numpy';
3146+ } elsif ($dh{STRICT}) {
3147+ $numpy_dep = "python-numpy-api$data{'api'}";
3148+ } else {
3149+ $numpy_dep = "python-numpy (>= $data{'api-min-version'}), python-numpy-abi$data{'abi'}";
3150 }
3151-}
3152-
3153-if($numpy_dep eq "") {
3154- error ("cannot parse pydist file")
3155-}
3156-
3157-foreach my $package (@{$dh{DOPACKAGES}}) {
3158 addsubstvar($package, "python:Depends", $numpy_dep);
3159 }
3160
3161
3162=== modified file 'debian/dh_numpy.1'
3163--- debian/dh_numpy.1 2010-07-28 00:05:00 +0000
3164+++ debian/dh_numpy.1 2012-02-12 15:09:21 +0000
3165@@ -1,14 +1,14 @@
3166-.TH DH_NUMPY 1 "2010-07-27" "Numpy"
3167+.TH DH_NUMPY 1 "2012-01-29" "Numpy"
3168 .SH NAME
3169-dh_numpy \- adds to python:Depends the Numpy versioned depends
3170+dh_numpy \- adds Numpy depends to python:Depends substvar
3171 .SH SYNOPSYS
3172 \fBdh_numpy\fR [\fIdebhelper\ options\fR]
3173 .SH DESCRIPTION
3174 dh_numpy adds information about the correct versioned depends on python-numpy to python:Depends substvar.
3175 .PP
3176-This is needed because some Python extensions require strict versioned depends on python-numpy, and using this helper script is the easiest way to get them.
3177+This is needed because some Python extensions require strict versioned depends on python-numpy, and using this helper script is the easiest and most consistent way to get them.
3178 .PP
3179-The helper script uses the information stored in /usr/share/python/dist/python-numpy to generate the Depends information; that file is also used by dh_python2 (and from dh_pysupport when implemented) to generate the same set of Depends. This script allows you to not use dh_python2 if you don't want to.
3180+The helper script uses the information stored in /usr/share/numpy/versions, and the architecture type of the package, to generate the Depends information; for a detailed description of how the dependencies are generate, please refer to /usr/share/doc/python-numpy/README.DebianMaints .
3181 .SH "SEE ALSO"
3182 \fIdebhelper\fR(7)
3183 .PP
3184
3185=== added file 'debian/patches/20_sphinx_1.1.2.diff'
3186--- debian/patches/20_sphinx_1.1.2.diff 1970-01-01 00:00:00 +0000
3187+++ debian/patches/20_sphinx_1.1.2.diff 2012-02-12 15:09:21 +0000
3188@@ -0,0 +1,19 @@
3189+Description: fix FTBFS with sphinx 1.1.2 because automodule is not allowed in glossary
3190+Author: Pauli Virtanen
3191+Origin: https://github.com/numpy/numpy/commit/1451b414693d63d8224857b1c67726eb8d5f97af
3192+Forwarded: not-needed
3193+Index: python-numpy-1.5.1/doc/source/glossary.rst
3194+===================================================================
3195+--- python-numpy-1.5.1.orig/doc/source/glossary.rst 2010-11-09 00:58:22.000000000 +0100
3196++++ python-numpy-1.5.1/doc/source/glossary.rst 2012-01-31 23:31:29.323501993 +0100
3197+@@ -4,9 +4,7 @@
3198+
3199+ .. toctree::
3200+
3201+-.. glossary::
3202+-
3203+- .. automodule:: numpy.doc.glossary
3204++.. automodule:: numpy.doc.glossary
3205+
3206+ Jargon
3207+ ------
3208
3209=== added file 'debian/patches/search-multiarch-paths.patch'
3210--- debian/patches/search-multiarch-paths.patch 1970-01-01 00:00:00 +0000
3211+++ debian/patches/search-multiarch-paths.patch 2012-02-12 15:09:21 +0000
3212@@ -0,0 +1,21 @@
3213+Description: search multiarch paths for libraries
3214+ hack to get numpys distutils multiarch aware
3215+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/python-numpy/+bug/818867
3216+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640940
3217+Author: Julian Taylor <jtaylor@ubuntu.com>
3218+
3219+--- a/numpy/distutils/system_info.py
3220++++ b/numpy/distutils/system_info.py
3221+@@ -201,6 +201,12 @@
3222+ '/usr/lib'], platform_bits)
3223+ default_x11_include_dirs = ['/usr/X11R6/include','/usr/X11/include',
3224+ '/usr/include']
3225++ import subprocess as sp
3226++ p = sp.Popen(["dpkg-architecture", "-qDEB_HOST_MULTIARCH"], stdout=sp.PIPE)
3227++ triplet = p.communicate()[0].strip()
3228++ if p.returncode == 0:
3229++ default_x11_lib_dirs += [os.path.join("/usr/lib/", triplet)]
3230++ default_lib_dirs += [os.path.join("/usr/lib/", triplet)]
3231+
3232+ if os.path.join(sys.prefix, 'lib') not in default_lib_dirs:
3233+ default_lib_dirs.insert(0,os.path.join(sys.prefix, 'lib'))
3234
3235=== modified file 'debian/patches/series'
3236--- debian/patches/series 2011-08-25 23:56:45 +0000
3237+++ debian/patches/series 2012-02-12 15:09:21 +0000
3238@@ -3,5 +3,6 @@
3239 03_force_f2py_version.patch
3240 #05_fix_endianness_detection.patch
3241 10_use_local_python.org_object.inv_sphinx.diff
3242+20_sphinx_1.1.2.diff
3243 20_disable-plot-extension.patch
3244-debian-changes-1:1.5.1-2ubuntu2
3245+search-multiarch-paths.patch
3246
3247=== modified file 'debian/python-numpy-dbg.install'
3248--- debian/python-numpy-dbg.install 2011-12-17 17:22:00 +0000
3249+++ debian/python-numpy-dbg.install 2012-02-12 15:09:21 +0000
3250@@ -1,2 +1,3 @@
3251+usr/bin/f2py-dbg
3252 usr/bin/f2py2.?-dbg
3253 usr/lib/python*/*-packages/*/*/*_d.so
3254
3255=== added file 'debian/python-numpy-doc.lintian-overrides'
3256--- debian/python-numpy-doc.lintian-overrides 1970-01-01 00:00:00 +0000
3257+++ debian/python-numpy-doc.lintian-overrides 2012-02-12 15:09:21 +0000
3258@@ -0,0 +1,2 @@
3259+#file needed by sphinx (python-numpy-doc/html/_sources/license.txt)
3260+extra-license-file
3261
3262=== modified file 'debian/python-numpy.docs'
3263--- debian/python-numpy.docs 2010-07-28 00:05:00 +0000
3264+++ debian/python-numpy.docs 2012-02-12 15:09:21 +0000
3265@@ -2,3 +2,4 @@
3266 THANKS.txt
3267 debian/README.f2py
3268 debian/README.DebianMaints
3269+benchmarks/
3270
3271=== modified file 'debian/python-numpy.install'
3272--- debian/python-numpy.install 2011-12-17 17:22:00 +0000
3273+++ debian/python-numpy.install 2012-02-12 15:09:21 +0000
3274@@ -1,5 +1,7 @@
3275+usr/bin/f2py
3276 usr/bin/f2py2.?
3277 debian/dh_numpy usr/bin
3278+debian/versions usr/share/numpy/
3279 usr/lib/python*/*-packages/*/*/*[!_][!_].so
3280 usr/lib/python*/*-packages/*/*/*/libnpymath.a
3281 usr/lib/python*/*-packages/*/*.py
3282
3283=== modified file 'debian/python.org_objects.inv'
3284--- debian/python.org_objects.inv 2010-07-17 11:50:56 +0000
3285+++ debian/python.org_objects.inv 2012-02-12 15:09:21 +0000
3286@@ -1,6923 +1,441 @@
3287-# Sphinx inventory version 1
3288+# Sphinx inventory version 2
3289 # Project: Python
3290-# Version: 3.2
3291-filecmp mod library/filecmp.html
3292-heapq mod library/heapq.html
3293-distutils.debug mod distutils/apiref.html
3294-dbm mod library/dbm.html
3295-email.errors mod library/email.errors.html
3296-distutils mod library/distutils.html
3297-html.entities mod library/html.entities.html
3298-audioop mod library/audioop.html
3299-curses.textpad mod library/curses.html
3300-distutils.command.config mod distutils/apiref.html
3301-random mod library/random.html
3302-tty mod library/tty.html
3303-aifc mod library/aifc.html
3304-sysconfig mod library/sysconfig.html
3305-pprint mod library/pprint.html
3306-code mod library/code.html
3307-distutils.fancy_getopt mod distutils/apiref.html
3308-pty mod library/pty.html
3309-distutils.sysconfig mod distutils/apiref.html
3310-http.client mod library/http.client.html
3311-_dummy_thread mod library/_dummy_thread.html
3312-email.mime mod library/email.mime.html
3313-msvcrt mod library/msvcrt.html
3314-distutils.command.bdist_packager mod distutils/apiref.html
3315-importlib.util mod library/importlib.html
3316-distutils.command.register mod distutils/apiref.html
3317-distutils.bcppcompiler mod distutils/apiref.html
3318-builtins mod library/builtins.html
3319-importlib mod library/importlib.html
3320-runpy mod library/runpy.html
3321-subprocess mod library/subprocess.html
3322-curses.panel mod library/curses.panel.html
3323-base64 mod library/base64.html
3324-imp mod library/imp.html
3325-collections mod library/collections.html
3326-dbm.gnu mod library/dbm.html
3327-xml.etree.ElementTree mod library/xml.etree.elementtree.html
3328-smtplib mod library/smtplib.html
3329-functools mod library/functools.html
3330-distutils.cygwinccompiler mod distutils/apiref.html
3331-winreg mod library/winreg.html
3332-urllib.parse mod library/urllib.parse.html
3333-distutils.command.install_scripts mod distutils/apiref.html
3334-multiprocessing.dummy mod library/multiprocessing.html
3335-nntplib mod library/nntplib.html
3336-zipfile mod library/zipfile.html
3337-textwrap mod library/textwrap.html
3338-wave mod library/wave.html
3339-distutils.cmd mod distutils/apiref.html
3340-ssl mod library/ssl.html
3341-importlib.abc mod library/importlib.html
3342-ossaudiodev mod library/ossaudiodev.html
3343-resource mod library/resource.html
3344-datetime mod library/datetime.html
3345-multiprocessing.sharedctypes mod library/multiprocessing.html
3346-string mod library/string.html
3347-distutils.filelist mod distutils/apiref.html
3348-distutils.command.install_headers mod distutils/apiref.html
3349-http.server mod library/http.server.html
3350-signal mod library/signal.html
3351-bisect mod library/bisect.html
3352-distutils.log mod distutils/apiref.html
3353-cmd mod library/cmd.html
3354-binhex mod library/binhex.html
3355-sunau mod library/sunau.html
3356-distutils.command.install mod distutils/apiref.html
3357-html.parser mod library/html.parser.html
3358-token mod library/token.html
3359-email.encoders mod library/email.encoders.html
3360-msilib mod library/msilib.html
3361-shlex mod library/shlex.html
3362-multiprocessing.pool mod library/multiprocessing.html
3363-distutils.command.build_clib mod distutils/apiref.html
3364-unicodedata mod library/unicodedata.html
3365-gc mod library/gc.html
3366-quopri mod library/quopri.html
3367-decimal mod library/decimal.html
3368-curses.ascii mod library/curses.ascii.html
3369-dis mod library/dis.html
3370-distutils.version mod distutils/apiref.html
3371-fcntl mod library/fcntl.html
3372-xml.dom.minidom mod library/xml.dom.minidom.html
3373-asyncore mod library/asyncore.html
3374-compileall mod library/compileall.html
3375-locale mod library/locale.html
3376-pydoc mod library/pydoc.html
3377-chunk mod library/chunk.html
3378-fileinput mod library/fileinput.html
3379-stat mod library/stat.html
3380-xml.parsers.expat mod library/pyexpat.html
3381-atexit mod library/atexit.html
3382-xml.sax.saxutils mod library/xml.sax.utils.html
3383-spwd mod library/spwd.html
3384-calendar mod library/calendar.html
3385-mailcap mod library/mailcap.html
3386-logging.handlers mod library/logging.html
3387-timeit mod library/timeit.html
3388-abc mod library/abc.html
3389-_thread mod library/_thread.html
3390-plistlib mod library/plistlib.html
3391-urllib.robotparser mod library/urllib.robotparser.html
3392-bdb mod library/bdb.html
3393-types mod library/types.html
3394-py_compile mod library/py_compile.html
3395-pipes mod library/pipes.html
3396-tarfile mod library/tarfile.html
3397-trace mod library/trace.html
3398-distutils.command.bdist_wininst mod distutils/apiref.html
3399-re mod library/re.html
3400-encodings.utf_8_sig mod library/codecs.html
3401-posix mod library/posix.html
3402-distutils.command.build mod distutils/apiref.html
3403-multiprocessing.managers mod library/multiprocessing.html
3404-email mod library/email.html
3405-math mod library/math.html
3406-cgi mod library/cgi.html
3407-ftplib mod library/ftplib.html
3408-urllib.request mod library/urllib.request.html
3409-ast mod library/ast.html
3410-optparse mod library/optparse.html
3411-inspect mod library/inspect.html
3412-mailbox mod library/mailbox.html
3413-distutils.dep_util mod distutils/apiref.html
3414-ctypes mod library/ctypes.html
3415-codecs mod library/codecs.html
3416-urllib.response mod library/urllib.request.html
3417-distutils.ccompiler mod distutils/apiref.html
3418-struct mod library/struct.html
3419-sys mod library/sys.html
3420-test.support mod library/test.html
3421-logging mod library/logging.html
3422-email.header mod library/email.header.html
3423-imghdr mod library/imghdr.html
3424-pickle mod library/pickle.html
3425-traceback mod library/traceback.html
3426-netrc mod library/netrc.html
3427-wsgiref mod library/wsgiref.html
3428-multiprocessing mod library/multiprocessing.html
3429-queue mod library/queue.html
3430-tempfile mod library/tempfile.html
3431-itertools mod library/itertools.html
3432-distutils.spawn mod distutils/apiref.html
3433-telnetlib mod library/telnetlib.html
3434-doctest mod library/doctest.html
3435-mmap mod library/mmap.html
3436-smtpd mod library/smtpd.html
3437-wsgiref.util mod library/wsgiref.html
3438-os mod library/os.html
3439-marshal mod library/marshal.html
3440-distutils.command.bdist mod distutils/apiref.html
3441-__future__ mod library/__future__.html
3442-distutils.command.install_lib mod distutils/apiref.html
3443-curses mod library/curses.html
3444-xml.dom mod library/xml.dom.html
3445-unittest mod library/unittest.html
3446-http.cookies mod library/http.cookies.html
3447-parser mod library/parser.html
3448-wsgiref.handlers mod library/wsgiref.html
3449-distutils.dir_util mod distutils/apiref.html
3450-distutils.command mod distutils/apiref.html
3451-fpectl mod library/fpectl.html
3452-tkinter.scrolledtext mod library/tkinter.scrolledtext.html
3453-email.charset mod library/email.charset.html
3454-operator mod library/operator.html
3455-distutils.util mod distutils/apiref.html
3456-array mod library/array.html
3457-xml.dom.pulldom mod library/xml.dom.pulldom.html
3458-select mod library/select.html
3459-distutils.command.install_data mod distutils/apiref.html
3460-email.parser mod library/email.parser.html
3461-pkgutil mod library/pkgutil.html
3462-xmlrpc.client mod library/xmlrpc.client.html
3463-platform mod library/platform.html
3464-errno mod library/errno.html
3465-multiprocessing.connection mod library/multiprocessing.html
3466-binascii mod library/binascii.html
3467-symbol mod library/symbol.html
3468-wsgiref.simple_server mod library/wsgiref.html
3469-json mod library/json.html
3470-xml.sax.handler mod library/xml.sax.handler.html
3471-importlib.machinery mod library/importlib.html
3472-distutils.command.build_scripts mod distutils/apiref.html
3473-tokenize mod library/tokenize.html
3474-fractions mod library/fractions.html
3475-macpath mod library/macpath.html
3476-cProfile mod library/profile.html
3477-imaplib mod library/imaplib.html
3478-symtable mod library/symtable.html
3479-dummy_threading mod library/dummy_threading.html
3480-email.utils mod library/email.util.html
3481-pwd mod library/pwd.html
3482-curses.wrapper mod library/curses.html
3483-xml.sax.xmlreader mod library/xml.sax.reader.html
3484-tkinter mod library/tkinter.html
3485-turtle mod library/turtle.html
3486-copy mod library/copy.html
3487-xmlrpc.server mod library/xmlrpc.server.html
3488-email.iterators mod library/email.iterators.html
3489-socket mod library/socket.html
3490-pickletools mod library/pickletools.html
3491-hashlib mod library/hashlib.html
3492-distutils.command.bdist_msi mod distutils/apiref.html
3493-keyword mod library/keyword.html
3494-distutils.dist mod distutils/apiref.html
3495-uu mod library/uu.html
3496-distutils.command.bdist_rpm mod distutils/apiref.html
3497-modulefinder mod library/modulefinder.html
3498-tkinter.tix mod library/tkinter.tix.html
3499-stringprep mod library/stringprep.html
3500-distutils.extension mod distutils/apiref.html
3501-colorsys mod library/colorsys.html
3502-xml.sax mod library/xml.sax.html
3503-shelve mod library/shelve.html
3504-fnmatch mod library/fnmatch.html
3505-wsgiref.headers mod library/wsgiref.html
3506-distutils.command.clean mod distutils/apiref.html
3507-numbers mod library/numbers.html
3508-reprlib mod library/reprlib.html
3509-syslog mod library/syslog.html
3510-socketserver mod library/socketserver.html
3511-__main__ mod library/__main__.html
3512-distutils.command.build_py mod distutils/apiref.html
3513-site mod library/site.html
3514-difflib mod library/difflib.html
3515-getpass mod library/getpass.html
3516-zipimport mod library/zipimport.html
3517-contextlib mod library/contextlib.html
3518-formatter mod library/formatter.html
3519-io mod library/io.html
3520-distutils.command.build_ext mod distutils/apiref.html
3521-copyreg mod library/copyreg.html
3522-shutil mod library/shutil.html
3523-email.message mod library/email.message.html
3524-configparser mod library/configparser.html
3525-distutils.command.sdist mod distutils/apiref.html
3526-weakref mod library/weakref.html
3527-winsound mod library/winsound.html
3528-sndhdr mod library/sndhdr.html
3529-bz2 mod library/bz2.html
3530-lib2to3 mod library/2to3.html
3531-threading mod library/threading.html
3532-crypt mod library/crypt.html
3533-wsgiref.validate mod library/wsgiref.html
3534-distutils.unixccompiler mod distutils/apiref.html
3535-gettext mod library/gettext.html
3536-dbm.dumb mod library/dbm.html
3537-pyclbr mod library/pyclbr.html
3538-sqlite3 mod library/sqlite3.html
3539-getopt mod library/getopt.html
3540-email.generator mod library/email.generator.html
3541-csv mod library/csv.html
3542-dbm.ndbm mod library/dbm.html
3543-profile mod library/profile.html
3544-mimetypes mod library/mimetypes.html
3545-tabnanny mod library/tabnanny.html
3546-sched mod library/sched.html
3547-distutils.command.bdist_dumb mod distutils/apiref.html
3548-test mod library/test.html
3549-warnings mod library/warnings.html
3550-http.cookiejar mod library/http.cookiejar.html
3551-glob mod library/glob.html
3552-pstats mod library/profile.html
3553-distutils.archive_util mod distutils/apiref.html
3554-xdrlib mod library/xdrlib.html
3555-cgitb mod library/cgitb.html
3556-gzip mod library/gzip.html
3557-asynchat mod library/asynchat.html
3558-zlib mod library/zlib.html
3559-termios mod library/termios.html
3560-distutils.file_util mod distutils/apiref.html
3561-codeop mod library/codeop.html
3562-nis mod library/nis.html
3563-readline mod library/readline.html
3564-distutils.emxccompiler mod distutils/apiref.html
3565-os.path mod library/os.path.html
3566-argparse mod library/argparse.html
3567-uuid mod library/uuid.html
3568-tkinter.ttk mod library/tkinter.ttk.html
3569-grp mod library/grp.html
3570-distutils.core mod distutils/apiref.html
3571-rlcompleter mod library/rlcompleter.html
3572-encodings.mbcs mod library/codecs.html
3573-distutils.errors mod distutils/apiref.html
3574-pdb mod library/pdb.html
3575-urllib.error mod library/urllib.error.html
3576-linecache mod library/linecache.html
3577-encodings.idna mod library/codecs.html
3578-distutils.msvccompiler mod distutils/apiref.html
3579-cmath mod library/cmath.html
3580-time mod library/time.html
3581-distutils.text_file mod distutils/apiref.html
3582-webbrowser mod library/webbrowser.html
3583-poplib mod library/poplib.html
3584-hmac mod library/hmac.html
3585-PyDict_Items cfunction c-api/dict.html
3586-PyAnySet_Check cfunction c-api/set.html
3587-urllib.request.HTTPHandler class library/urllib.request.html
3588-Py_TPFLAGS_HAVE_GC data c-api/typeobj.html
3589-Py_FdIsInteractive cfunction c-api/sys.html
3590-urllib.request.HTTPBasicAuthHandler class library/urllib.request.html
3591-asynchat.fifo.pop method library/asynchat.html
3592-PyDict_MergeFromSeq2 cfunction c-api/dict.html
3593-quopri.encodestring function library/quopri.html
3594-time.sleep function library/time.html
3595-quopri.encode function library/quopri.html
3596-PyErr_Occurred cfunction c-api/exceptions.html
3597-shlex.shlex.get_token method library/shlex.html
3598-turtle.undobufferentries function library/turtle.html
3599-imaplib.IMAP4.login method library/imaplib.html
3600-object.__rsub__ method reference/datamodel.html
3601-sched.scheduler.enter method library/sched.html
3602-bdb.Bdb.clear_bpbynumber method library/bdb.html
3603-os.curdir data library/os.html
3604-queue.Queue.full method library/queue.html
3605-unittest.TestSuite.debug method library/unittest.html
3606-array.array.fromstring method library/array.html
3607-struct.error exception library/struct.html
3608-zlib.compressobj function library/zlib.html
3609-PyDict_DelItem cfunction c-api/dict.html
3610-optparse.OptionParser.get_usage method library/optparse.html
3611-dis.hasjrel data library/dis.html
3612-xml.dom.Attr.value attribute library/xml.dom.html
3613-uuid.NAMESPACE_DNS data library/uuid.html
3614-multiprocessing.Queue.put_nowait method library/multiprocessing.html
3615-xml.dom.DOMException exception library/xml.dom.html
3616-str.format method library/stdtypes.html
3617-_Py_NoneStruct cvar c-api/allocation.html
3618-resource.RLIMIT_STACK data library/resource.html
3619-str.isalnum method library/stdtypes.html
3620-binascii.Incomplete exception library/binascii.html
3621-http.server.BaseHTTPRequestHandler.send_header method library/http.server.html
3622-mailbox.mboxMessage class library/mailbox.html
3623-object.__ilshift__ method reference/datamodel.html
3624-decimal.Decimal.logical_and method library/decimal.html
3625-tp_reserved cmember c-api/typeobj.html
3626-codeop.CommandCompiler class library/codeop.html
3627-PyFunction_SetClosure cfunction c-api/function.html
3628-urllib.request.ProxyBasicAuthHandler.http_error_407 method library/urllib.request.html
3629-ctypes.c_ubyte class library/ctypes.html
3630-object.__setitem__ method reference/datamodel.html
3631-threading.BoundedSemaphore function library/threading.html
3632-Py_BEGIN_ALLOW_THREADS cmacro c-api/init.html
3633-ossaudiodev.openmixer function library/ossaudiodev.html
3634-set.pop method library/stdtypes.html
3635-socket.inet_pton function library/socket.html
3636-PyEval_EvalCodeEx cfunction c-api/veryhigh.html
3637-PyMemoryView_FromObject cfunction c-api/buffer.html
3638-hmac.hmac.digest method library/hmac.html
3639-http.cookies.Morsel.isReservedKey method library/http.cookies.html
3640-turtle.undo function library/turtle.html
3641-uuid.RESERVED_FUTURE data library/uuid.html
3642-xml.dom.minidom.parseString function library/xml.dom.minidom.html
3643-PyOS_stricmp cfunction c-api/conversion.html
3644-tkinter.tix.tixCommand.tix_configure method library/tkinter.tix.html
3645-socket.gethostname function library/socket.html
3646-mailbox.MMDFMessage.get_from method library/mailbox.html
3647-PyEval_SetProfile cfunction c-api/init.html
3648-PyNumber_Subtract cfunction c-api/number.html
3649-curses.ascii.iscntrl function library/curses.ascii.html
3650-inspect.getmodule function library/inspect.html
3651-stat.S_ISVTX data library/stat.html
3652-ssl.SSLContext class library/ssl.html
3653-math.expm1 function library/math.html
3654-wsgiref.simple_server.WSGIServer.set_app method library/wsgiref.html
3655-os.O_RDONLY data library/os.html
3656-decimal.Decimal.logical_or method library/decimal.html
3657-xml.dom.pulldom.SAX2DOM class library/xml.dom.pulldom.html
3658-array.array.fromunicode method library/array.html
3659-filecmp.dircmp.common_files attribute library/filecmp.html
3660-socket.socket.bind method library/socket.html
3661-base64.b16encode function library/base64.html
3662-tkinter.ttk.Style class library/tkinter.ttk.html
3663-smtplib.SMTP.sendmail method library/smtplib.html
3664-PyType_GenericAlloc cfunction c-api/type.html
3665-PyTime_CheckExact cfunction c-api/datetime.html
3666-optparse.OptionParser class library/optparse.html
3667-xml.parsers.expat.xmlparser.EndNamespaceDeclHandler method library/pyexpat.html
3668-cmath.sinh function library/cmath.html
3669-unittest.TestCase.assertNotRegexpMatches method library/unittest.html
3670-curses.panel.Panel.hidden method library/curses.panel.html
3671-PyWeakref_Check cfunction c-api/weakref.html
3672-distutils.core.Command class distutils/apiref.html
3673-mailbox.MHMessage class library/mailbox.html
3674-set.isdisjoint method library/stdtypes.html
3675-classmethod function library/functions.html
3676-unittest.TestCase.assertRaises method library/unittest.html
3677-webbrowser.open_new function library/webbrowser.html
3678-NotImplementedError exception library/exceptions.html
3679-warnings.showwarning function library/warnings.html
3680-vars function library/functions.html
3681-mailbox.Mailbox.keys method library/mailbox.html
3682-getopt.gnu_getopt function library/getopt.html
3683-xml.parsers.expat.xmlparser.EntityDeclHandler method library/pyexpat.html
3684-email.charset.Charset.__ne__ method library/email.charset.html
3685-test.support.TransientResource class library/test.html
3686-PyFloat_FromString cfunction c-api/float.html
3687-time.altzone data library/time.html
3688-resource.RLIMIT_OFILE data library/resource.html
3689-PyCapsule_GetName cfunction c-api/capsule.html
3690-operator.is_ function library/operator.html
3691-filecmp.dircmp.diff_files attribute library/filecmp.html
3692-xml.etree.ElementTree.ElementTree.findtext method library/xml.etree.elementtree.html
3693-tarfile.TarInfo.ischr method library/tarfile.html
3694-logging.handlers.SysLogHandler.close method library/logging.html
3695-configparser.RawConfigParser.getboolean method library/configparser.html
3696-operator.__truediv__ function library/operator.html
3697-os.path.islink function library/os.path.html
3698-urllib.request.BaseHandler.default_open method library/urllib.request.html
3699-decimal.Context.min_mag method library/decimal.html
3700-PyCode_Type cvar c-api/code.html
3701-winreg.REG_DWORD data library/winreg.html
3702-imp.release_lock function library/imp.html
3703-locale.T_FMT data library/locale.html
3704-imaplib.IMAP4.debug attribute library/imaplib.html
3705-pickle.DEFAULT_PROTOCOL data library/pickle.html
3706-errno.EDEADLK data library/errno.html
3707-RuntimeWarning exception library/exceptions.html
3708-datetime.timedelta.max attribute library/datetime.html
3709-smtplib.SMTP.verify method library/smtplib.html
3710-decimal.setcontext function library/decimal.html
3711-mailbox.Maildir.add method library/mailbox.html
3712-inspect.isclass function library/inspect.html
3713-threading.Timer.cancel method library/threading.html
3714-multiprocessing.Queue.qsize method library/multiprocessing.html
3715-errno.ENETUNREACH data library/errno.html
3716-curses.getsyx function library/curses.html
3717-doctest.DocTestSuite function library/doctest.html
3718-curses.window.derwin method library/curses.html
3719-PySys_AddWarnOptionUnicode cfunction c-api/sys.html
3720-email.mime.base.MIMEBase class library/email.mime.html
3721-mimetypes.MimeTypes.types_map attribute library/mimetypes.html
3722-email.message.Message.epilogue attribute library/email.message.html
3723-PyInstanceMethod_GET_FUNCTION cfunction c-api/method.html
3724-curses.window.bkgdset method library/curses.html
3725-zlib.error exception library/zlib.html
3726-threading.Semaphore.release method library/threading.html
3727-doctest.DocTest.examples attribute library/doctest.html
3728-sndhdr.whathdr function library/sndhdr.html
3729-gettext.gettext function library/gettext.html
3730-cmath.asin function library/cmath.html
3731-mailbox.mboxMessage.add_flag method library/mailbox.html
3732-sunau.openfp function library/sunau.html
3733-queue.Queue.empty method library/queue.html
3734-queue.LifoQueue class library/queue.html
3735-wsgiref.handlers.BaseHandler.add_cgi_vars method library/wsgiref.html
3736-inspect.getframeinfo function library/inspect.html
3737-directory_created function distutils/builtdist.html
3738-codecs.BOM_UTF32 data library/codecs.html
3739-tp_setattr cmember c-api/typeobj.html
3740-decimal.Context.next_plus method library/decimal.html
3741-stringprep.in_table_b1 function library/stringprep.html
3742-urllib.request.Request.full_url attribute library/urllib.request.html
3743-PyUnicode_Compare cfunction c-api/unicode.html
3744-http.cookiejar.DefaultCookiePolicy.set_blocked_domains method library/http.cookiejar.html
3745-inspect.getmro function library/inspect.html
3746-modulefinder.ModuleFinder.report method library/modulefinder.html
3747-tarfile.TarFile.list method library/tarfile.html
3748-xml.sax.xmlreader.AttributesNS.getValueByQName method library/xml.sax.reader.html
3749-tabnanny.check function library/tabnanny.html
3750-xml.sax.xmlreader.XMLReader.setDTDHandler method library/xml.sax.reader.html
3751-mmap.move method library/mmap.html
3752-shutil.unregister_archive_format function library/shutil.html
3753-distutils.ccompiler.get_default_compiler function distutils/apiref.html
3754-marshal.load function library/marshal.html
3755-datetime.datetime.max attribute library/datetime.html
3756-winreg.OpenKey function library/winreg.html
3757-re.MatchObject.expand method library/re.html
3758-re.MatchObject.pos attribute library/re.html
3759-PyUnicode_AS_UNICODE cfunction c-api/unicode.html
3760-PyObject_ASCII cfunction c-api/object.html
3761-mimetypes.MimeTypes.guess_extension method library/mimetypes.html
3762-bdb.Bdb.set_trace method library/bdb.html
3763-collections.Counter.subtract method library/collections.html
3764-tkinter.tix.InputOnly class library/tkinter.tix.html
3765-re.RegexObject.groups attribute library/re.html
3766-getpass.getpass function library/getpass.html
3767-doctest.DocTestRunner.report_failure method library/doctest.html
3768-imaplib.IMAP4.error exception library/imaplib.html
3769-operator.invert function library/operator.html
3770-object.__pow__ method reference/datamodel.html
3771-PyMapping_HasKey cfunction c-api/mapping.html
3772-logging.getLevelName function library/logging.html
3773-imaplib.IMAP4.xatom method library/imaplib.html
3774-socketserver.BaseServer.server_address attribute library/socketserver.html
3775-distutils.ccompiler.CCompiler.preprocess method distutils/apiref.html
3776-logging.handlers.MemoryHandler.setTarget method library/logging.html
3777-PyFunction_SetDefaults cfunction c-api/function.html
3778-bdb.Bdb.clear_break method library/bdb.html
3779-sched.scheduler.queue attribute library/sched.html
3780-msilib.add_data function library/msilib.html
3781-object function library/functions.html
3782-PyDict_Next cfunction c-api/dict.html
3783-urllib.request.Request.has_header method library/urllib.request.html
3784-email.utils.make_msgid function library/email.util.html
3785-errno.ELIBSCN data library/errno.html
3786-curses.panel.Panel.bottom method library/curses.panel.html
3787-binascii.unhexlify function library/binascii.html
3788-datetime.timedelta.resolution attribute library/datetime.html
3789-locale.D_T_FMT data library/locale.html
3790-mimetypes.inited data library/mimetypes.html
3791-PyByteArray_Concat cfunction c-api/bytearray.html
3792-test.support.findfile function library/test.html
3793-datetime.datetime.combine classmethod library/datetime.html
3794-dict.clear method library/stdtypes.html
3795-PyAnySet_CheckExact cfunction c-api/set.html
3796-dis.disassemble function library/dis.html
3797-tkinter.ttk.Treeview.set_children method library/tkinter.ttk.html
3798-winsound.MessageBeep function library/winsound.html
3799-tarfile.GNU_FORMAT data library/tarfile.html
3800-copy.copy function library/copy.html
3801-tkinter.tix.Tree class library/tkinter.tix.html
3802-telnetlib.Telnet.fileno method library/telnetlib.html
3803-operator.iand function library/operator.html
3804-winreg.REG_NONE data library/winreg.html
3805-os.O_RSYNC data library/os.html
3806-random.uniform function library/random.html
3807-doctest.Example.exc_msg attribute library/doctest.html
3808-webbrowser.register function library/webbrowser.html
3809-wsgiref.handlers.BaseHandler._flush method library/wsgiref.html
3810-PyObject_CallFunction cfunction c-api/object.html
3811-email.mime.audio.MIMEAudio class library/email.mime.html
3812-curses.longname function library/curses.html
3813-stat.S_ISREG function library/stat.html
3814-http.cookiejar.MozillaCookieJar class library/http.cookiejar.html
3815-errno.EPROTONOSUPPORT data library/errno.html
3816-xml.parsers.expat.xmlparser.DefaultHandlerExpand method library/pyexpat.html
3817-PyByteArray_FromObject cfunction c-api/bytearray.html
3818-locale.CRNCYSTR data library/locale.html
3819-mailbox.MH.add_folder method library/mailbox.html
3820-PyRun_SimpleString cfunction c-api/veryhigh.html
3821-turtle.setposition function library/turtle.html
3822-functools.cmp_to_key function library/functools.html
3823-telnetlib.Telnet.set_debuglevel method library/telnetlib.html
3824-msilib.Database.OpenView method library/msilib.html
3825-PyFloat_GetMax cfunction c-api/float.html
3826-urllib.request.install_opener function library/urllib.request.html
3827-PyMethod_Self cfunction c-api/method.html
3828-PyMem_Realloc cfunction c-api/memory.html
3829-io.IncrementalNewlineDecoder class library/io.html
3830-PyObject_InitVar cfunction c-api/allocation.html
3831-tp_next cmember c-api/typeobj.html
3832-PyObject_HasAttrString cfunction c-api/object.html
3833-test.support.forget function library/test.html
3834-mailbox.BabylMessage.get_labels method library/mailbox.html
3835-sqlite3.Connection.in_transaction attribute library/sqlite3.html
3836-Py_UNICODE_TOTITLE cfunction c-api/unicode.html
3837-xdrlib.Unpacker.reset method library/xdrlib.html
3838-struct.Struct.size attribute library/struct.html
3839-tkinter.scrolledtext.ScrolledText.vbar attribute library/tkinter.scrolledtext.html
3840-functools.update_wrapper function library/functools.html
3841-readline.clear_history function library/readline.html
3842-itertools.filterfalse function library/itertools.html
3843-ftplib.FTP.close method library/ftplib.html
3844-stat.S_IMODE function library/stat.html
3845-PyMarshal_WriteObjectToString cfunction c-api/marshal.html
3846-code.InteractiveConsole.interact method library/code.html
3847-sysconfig.is_python_build function library/sysconfig.html
3848-ssl.CERT_NONE data library/ssl.html
3849-curses.textpad.Textbox class library/curses.html
3850-random.SystemRandom class library/random.html
3851-formatter.writer.new_font method library/formatter.html
3852-visitproc ctype c-api/gcsupport.html
3853-spwd.getspnam function library/spwd.html
3854-mmap.rfind method library/mmap.html
3855-doctest.IGNORE_EXCEPTION_DETAIL data library/doctest.html
3856-PyNumber_Negative cfunction c-api/number.html
3857-_Py_c_prod cfunction c-api/complex.html
3858-decimal.Decimal.next_plus method library/decimal.html
3859-mailbox.NoSuchMailboxError exception library/mailbox.html
3860-decimal.Context.is_normal method library/decimal.html
3861-xml.dom.Node.nextSibling attribute library/xml.dom.html
3862-zipfile.ZipInfo.volume attribute library/zipfile.html
3863-configparser.RawConfigParser.readfp method library/configparser.html
3864-curses.window.noutrefresh method library/curses.html
3865-formatter.formatter.push_alignment method library/formatter.html
3866-contextmanager.__exit__ method library/stdtypes.html
3867-decimal.Context.logical_and method library/decimal.html
3868-stat.ST_GID data library/stat.html
3869-ossaudiodev.oss_audio_device.speed method library/ossaudiodev.html
3870-struct.Struct.pack_into method library/struct.html
3871-shelve.BsdDbShelf class library/shelve.html
3872-signal.ITIMER_REAL data library/signal.html
3873-urllib.request.AbstractDigestAuthHandler.http_error_auth_reqed method library/urllib.request.html
3874-sunau.AU_read.getmark method library/sunau.html
3875-curses.window.delch method library/curses.html
3876-tp_as_sequence cmember c-api/typeobj.html
3877-base64.standard_b64encode function library/base64.html
3878-errno.ESPIPE data library/errno.html
3879-math.lgamma function library/math.html
3880-ftplib.FTP.retrlines method library/ftplib.html
3881-unittest.installHandler function library/unittest.html
3882-imaplib.IMAP4.delete method library/imaplib.html
3883-curses.window.idlok method library/curses.html
3884-PyErr_BadInternalCall cfunction c-api/exceptions.html
3885-urllib.request.FTPHandler class library/urllib.request.html
3886-reprlib.Repr.maxother attribute library/reprlib.html
3887-ssl.RAND_status function library/ssl.html
3888-memoryview class library/stdtypes.html
3889-PyFloat_GetInfo cfunction c-api/float.html
3890-turtle.resizemode function library/turtle.html
3891-ssl.SSLSocket.do_handshake method library/ssl.html
3892-PyModule_GetState cfunction c-api/module.html
3893-bz2.BZ2File class library/bz2.html
3894-unittest.main function library/unittest.html
3895-decimal.InvalidOperation class library/decimal.html
3896-tkinter.ttk.Notebook.select method library/tkinter.ttk.html
3897-curses.textpad.rectangle function library/curses.html
3898-unittest.TestCase.countTestCases method library/unittest.html
3899-readline.set_completion_display_matches_hook function library/readline.html
3900-errno.ESOCKTNOSUPPORT data library/errno.html
3901-xml.parsers.expat.XMLParserType data library/pyexpat.html
3902-os.path.relpath function library/os.path.html
3903-multiprocessing.Process.join method library/multiprocessing.html
3904-bdb.Bdb.run method library/bdb.html
3905-stat.ST_INO data library/stat.html
3906-threading.Thread.is_alive method library/threading.html
3907-ctypes.set_last_error function library/ctypes.html
3908-io.IOBase class library/io.html
3909-ctypes._CData.in_dll method library/ctypes.html
3910-socket.socket.recv method library/socket.html
3911-aifc.aifc.setframerate method library/aifc.html
3912-errno.ENOLINK data library/errno.html
3913-optparse.Option.callback attribute library/optparse.html
3914-math.sqrt function library/math.html
3915-logging.Handler.handle method library/logging.html
3916-logging.handlers.BufferingHandler class library/logging.html
3917-logging.handlers.SocketHandler.emit method library/logging.html
3918-warnings.resetwarnings function library/warnings.html
3919-xml.dom.NamedNodeMap.length attribute library/xml.dom.html
3920-object.__ror__ method reference/datamodel.html
3921-PyUnicode_AsASCIIString cfunction c-api/unicode.html
3922-os.EX_SOFTWARE data library/os.html
3923-turtle.backward function library/turtle.html
3924-os.wait3 function library/os.html
3925-zipfile.ZipFile.extract method library/zipfile.html
3926-tkinter.ttk.Progressbar.start method library/tkinter.ttk.html
3927-timeit.Timer.repeat method library/timeit.html
3928-curses.ascii.ctrl function library/curses.ascii.html
3929-mailbox.BabylMessage.add_label method library/mailbox.html
3930-test.support.EnvironmentVarGuard.set method library/test.html
3931-fileinput.hook_encoded function library/fileinput.html
3932-datetime.time.second attribute library/datetime.html
3933-xml.parsers.expat.xmlparser.ErrorByteIndex attribute library/pyexpat.html
3934-curses.window.box method library/curses.html
3935-zipfile.ZipFile.comment attribute library/zipfile.html
3936-winsound.MB_ICONASTERISK data library/winsound.html
3937-PyTuple_GET_ITEM cfunction c-api/tuple.html
3938-codecs.Codec.encode method library/codecs.html
3939-errno.EBADF data library/errno.html
3940-errno.EBADE data library/errno.html
3941-PyBytes_FromFormatV cfunction c-api/bytes.html
3942-ctypes.util.find_library function library/ctypes.html
3943-configparser.SafeConfigParser.set method library/configparser.html
3944-sys.settscdump function library/sys.html
3945-ob_size cmember c-api/typeobj.html
3946-errno.EBADR data library/errno.html
3947-stringprep.in_table_d1 function library/stringprep.html
3948-stringprep.in_table_d2 function library/stringprep.html
3949-socket.socket.recv_into method library/socket.html
3950-curses.ungetch function library/curses.html
3951-PyList_AsTuple cfunction c-api/list.html
3952-pickle.Pickler.dump method library/pickle.html
3953-ctypes.set_conversion_mode function library/ctypes.html
3954-tkinter.ttk.Treeview.insert method library/tkinter.ttk.html
3955-array.array.insert method library/array.html
3956-imp.PY_COMPILED data library/imp.html
3957-bdb.Bdb.set_until method library/bdb.html
3958-curses.window.border method library/curses.html
3959-wave.Wave_write.setsampwidth method library/wave.html
3960-imghdr.what function library/imghdr.html
3961-gc.garbage data library/gc.html
3962-xml.parsers.expat.xmlparser.ordered_attributes attribute library/pyexpat.html
3963-xdrlib.Unpacker.unpack_fopaque method library/xdrlib.html
3964-winreg.ExpandEnvironmentStrings function library/winreg.html
3965-struct.Struct.unpack method library/struct.html
3966-importlib.__import__ function library/importlib.html
3967-operator.__pow__ function library/operator.html
3968-http.server.BaseHTTPRequestHandler.MessageClass attribute library/http.server.html
3969-sys.intern function library/sys.html
3970-difflib.get_close_matches function library/difflib.html
3971-mailbox.Babyl class library/mailbox.html
3972-re.MatchObject.end method library/re.html
3973-csv.excel_tab class library/csv.html
3974-multiprocessing.sharedctypes.Value function library/multiprocessing.html
3975-ctypes.POINTER function library/ctypes.html
3976-os.X_OK data library/os.html
3977-xml.parsers.expat.xmlparser.StartCdataSectionHandler method library/pyexpat.html
3978-multiprocessing.Queue.put method library/multiprocessing.html
3979-errno.ELIBACC data library/errno.html
3980-reprlib.Repr.repr1 method library/reprlib.html
3981-pipes.Template.debug method library/pipes.html
3982-fractions.Fraction.__ceil__ method library/fractions.html
3983-sys.getswitchinterval function library/sys.html
3984-Py_UNBLOCK_THREADS cmacro c-api/init.html
3985-tp_new cmember c-api/typeobj.html
3986-sunau.AUDIO_FILE_ENCODING_FLOAT data library/sunau.html
3987-ssl.DER_cert_to_PEM_cert function library/ssl.html
3988-importlib.machinery.PathFinder class library/importlib.html
3989-PyCell_New cfunction c-api/cell.html
3990-distutils.file_util.move_file function distutils/apiref.html
3991-smtplib.SMTP.quit method library/smtplib.html
3992-IndexError exception library/exceptions.html
3993-object.__contains__ method reference/datamodel.html
3994-random.gammavariate function library/random.html
3995-mailbox.Mailbox.update method library/mailbox.html
3996-signal.CTRL_C_EVENT data library/signal.html
3997-turtle.setheading function library/turtle.html
3998-asyncore.file_wrapper class library/asyncore.html
3999-urllib.error.URLError exception library/urllib.error.html
4000-doctest.DocTestRunner.report_success method library/doctest.html
4001-readline.get_current_history_length function library/readline.html
4002-datetime.date.replace method library/datetime.html
4003-curses.window.getch method library/curses.html
4004-xmlrpc.server.CGIXMLRPCRequestHandler class library/xmlrpc.server.html
4005-threading.Thread.run method library/threading.html
4006-PyParser_SimpleParseFileFlags cfunction c-api/veryhigh.html
4007-os.waitpid function library/os.html
4008-curses.window.cursyncup method library/curses.html
4009-object.__slots__ data reference/datamodel.html
4010-fileinput.hook_compressed function library/fileinput.html
4011-select.kqueue.fromfd method library/select.html
4012-bdb.Breakpoint.deleteMe method library/bdb.html
4013-PyUnicode_FromString cfunction c-api/unicode.html
4014-xml.dom.DOMImplementation.createDocument method library/xml.dom.html
4015-inspect.ismemberdescriptor function library/inspect.html
4016-True data library/constants.html
4017-decimal.Decimal.canonical method library/decimal.html
4018-PyList_SET_ITEM cfunction c-api/list.html
4019-xml.etree.ElementTree.tostring function library/xml.etree.elementtree.html
4020-mailbox.MHMessage.get_sequences method library/mailbox.html
4021-unittest.TestResult.addSkip method library/unittest.html
4022-os.getgroups function library/os.html
4023-email.message.Message.__setitem__ method library/email.message.html
4024-binascii.b2a_hqx function library/binascii.html
4025-http.server.BaseHTTPRequestHandler.sys_version attribute library/http.server.html
4026-hashlib.hash.copy method library/hashlib.html
4027-pickle.Pickler.persistent_id method library/pickle.html
4028-curses.setupterm function library/curses.html
4029-warnings.simplefilter function library/warnings.html
4030-decimal.Context.canonical method library/decimal.html
4031-PySequence_SetItem cfunction c-api/sequence.html
4032-difflib.SequenceMatcher.get_matching_blocks method library/difflib.html
4033-os.tcgetpgrp function library/os.html
4034-socketserver.BaseServer.socket attribute library/socketserver.html
4035-locale.normalize function library/locale.html
4036-http.client.BadStatusLine exception library/http.client.html
4037-unittest.TestCase.assertTrue method library/unittest.html
4038-wsgiref.util.request_uri function library/wsgiref.html
4039-tp_free cmember c-api/typeobj.html
4040-imp.init_frozen function library/imp.html
4041-PyUnicode_CheckExact cfunction c-api/unicode.html
4042-subprocess.check_output function library/subprocess.html
4043-turtle.reset function library/turtle.html
4044-calendar.prcal function library/calendar.html
4045-PyUnicode_DecodeUTF32Stateful cfunction c-api/unicode.html
4046-xmlrpc.client.dumps function library/xmlrpc.client.html
4047-shelve.DbfilenameShelf class library/shelve.html
4048-object.__new__ method reference/datamodel.html
4049-select.select function library/select.html
4050-select.kevent function library/select.html
4051-email.utils.decode_rfc2231 function library/email.util.html
4052-msvcrt.setmode function library/msvcrt.html
4053-msilib.RadioButtonGroup.add method library/msilib.html
4054-decimal.Decimal.log10 method library/decimal.html
4055-tp_init cmember c-api/typeobj.html
4056-doctest.DocTest.name attribute library/doctest.html
4057-xml.dom.Text.data attribute library/xml.dom.html
4058-imaplib.IMAP4.unsubscribe method library/imaplib.html
4059-decimal.Decimal.copy_sign method library/decimal.html
4060-PyType_Ready cfunction c-api/type.html
4061-str.islower method library/stdtypes.html
4062-turtle.shearfactor function library/turtle.html
4063-curses.window.vline method library/curses.html
4064-threading.Thread.isDaemon method library/threading.html
4065-tarfile.TarInfo.size attribute library/tarfile.html
4066-turtle.RawTurtle class library/turtle.html
4067-logging.StreamHandler.flush method library/logging.html
4068-threading.Event class library/threading.html
4069-os.confstr_names data library/os.html
4070-codeop.compile_command function library/codeop.html
4071-distutils.util.convert_path function distutils/apiref.html
4072-str.split method library/stdtypes.html
4073-os.O_EXLOCK data library/os.html
4074-configparser.InterpolationError exception library/configparser.html
4075-PyFrozenSet_Check cfunction c-api/set.html
4076-PyImport_ImportModuleNoBlock cfunction c-api/import.html
4077-turtle.end_poly function library/turtle.html
4078-array.array.pop method library/array.html
4079-locale.LC_COLLATE data library/locale.html
4080-object.__rfloordiv__ method reference/datamodel.html
4081-curses.window.getstr method library/curses.html
4082-sqlite3.Connection class library/sqlite3.html
4083-errno.ENOBUFS data library/errno.html
4084-UnboundLocalError exception library/exceptions.html
4085-re.MatchObject.string attribute library/re.html
4086-os.WUNTRACED data library/os.html
4087-ssl.PROTOCOL_SSLv23 data library/ssl.html
4088-turtle.Screen class library/turtle.html
4089-binascii.b2a_qp function library/binascii.html
4090-operator.__eq__ function library/operator.html
4091-PyList_Append cfunction c-api/list.html
4092-os.makedirs function library/os.html
4093-os.WEXITSTATUS function library/os.html
4094-tkinter.ttk.Combobox.current method library/tkinter.ttk.html
4095-curses.delay_output function library/curses.html
4096-itertools.repeat function library/itertools.html
4097-test.support.WarningsRecorder class library/test.html
4098-ctypes.c_size_t class library/ctypes.html
4099-re.RegexObject.split method library/re.html
4100-termios.tcflow function library/termios.html
4101-PySequence_Repeat cfunction c-api/sequence.html
4102-asynchat.fifo.is_empty method library/asynchat.html
4103-PyByteArray_CheckExact cfunction c-api/bytearray.html
4104-unittest.TestCase.fail method library/unittest.html
4105-os.path.isdir function library/os.path.html
4106-str.translate method library/stdtypes.html
4107-gettext.lngettext function library/gettext.html
4108-io.BufferedReader.read method library/io.html
4109-sorted function library/functions.html
4110-PyErr_SetExcFromWindowsErr cfunction c-api/exceptions.html
4111-PyRun_SimpleFileFlags cfunction c-api/veryhigh.html
4112-threading.Thread.setDaemon method library/threading.html
4113-xmlrpc.client.DateTime.decode method library/xmlrpc.client.html
4114-csv.csvwriter.writerow method library/csv.html
4115-unicodedata.normalize function library/unicodedata.html
4116-logging.handlers.MemoryHandler.flush method library/logging.html
4117-stat.S_IWGRP data library/stat.html
4118-turtle.get_shapepoly function library/turtle.html
4119-json.JSONEncoder class library/json.html
4120-wsgiref.util.setup_testing_defaults function library/wsgiref.html
4121-csv.DictReader class library/csv.html
4122-random.vonmisesvariate function library/random.html
4123-msilib.Dialog.checkbox method library/msilib.html
4124-unittest.defaultTestLoader data library/unittest.html
4125-unittest.TestLoader class library/unittest.html
4126-multiprocessing.Process class library/multiprocessing.html
4127-xml.etree.ElementTree.TreeBuilder.doctype method library/xml.etree.elementtree.html
4128-m_size cmember c-api/module.html
4129-urllib.error.HTTPError.code attribute library/urllib.error.html
4130-string.Formatter class library/string.html
4131-msilib.View.Execute method library/msilib.html
4132-bisect.bisect function library/bisect.html
4133-mailbox.mbox.lock method library/mailbox.html
4134-Py_UNICODE_TOUPPER cfunction c-api/unicode.html
4135-datetime.time.minute attribute library/datetime.html
4136-tkinter.ttk.Style.configure method library/tkinter.ttk.html
4137-curses.window.chgat method library/curses.html
4138-signal.SIG_IGN data library/signal.html
4139-readline.redisplay function library/readline.html
4140-os.ttyname function library/os.html
4141-threading.settrace function library/threading.html
4142-formatter.formatter.pop_margin method library/formatter.html
4143-test.support.import_module function library/test.html
4144-_PyImport_FindExtension cfunction c-api/import.html
4145-telnetlib.Telnet.read_all method library/telnetlib.html
4146-imaplib.IMAP4.append method library/imaplib.html
4147-PyCapsule_GetPointer cfunction c-api/capsule.html
4148-decimal.Context.quantize method library/decimal.html
4149-urllib.request.FancyURLopener class library/urllib.request.html
4150-random.random function library/random.html
4151-aifc.aifc.tell method library/aifc.html
4152-os.spawnvpe function library/os.html
4153-open function library/functions.html
4154-os.remove function library/os.html
4155-pickle.Unpickler.find_class method library/pickle.html
4156-codecs.BOM_UTF32_BE data library/codecs.html
4157-ssl.SSLContext.options attribute library/ssl.html
4158-cgi.print_form function library/cgi.html
4159-http.server.BaseHTTPRequestHandler.version_string method library/http.server.html
4160-multiprocessing.managers.BaseProxy class library/multiprocessing.html
4161-tkinter.ttk.Treeview.yview method library/tkinter.ttk.html
4162-turtle.write_docstringdict function library/turtle.html
4163-wave.Wave_read.close method library/wave.html
4164-collections.UserString class library/collections.html
4165-xdrlib.Unpacker.get_position method library/xdrlib.html
4166-xml.dom.Node.replaceChild method library/xml.dom.html
4167-pdb.runcall function library/pdb.html
4168-setattr function library/functions.html
4169-PyImport_AddModule cfunction c-api/import.html
4170-Py_True cvar c-api/bool.html
4171-configparser.RawConfigParser.getint method library/configparser.html
4172-os.device_encoding function library/os.html
4173-unittest.loadTestsFromNames method library/unittest.html
4174-bdb.BdbQuit exception library/bdb.html
4175-datetime.datetime.isoweekday method library/datetime.html
4176-cmath.e data library/cmath.html
4177-Py_CompileString cfunction c-api/veryhigh.html
4178-turtle.shapetransform function library/turtle.html
4179-memoryview.ndim attribute library/stdtypes.html
4180-imp.PY_SOURCE data library/imp.html
4181-PyFunction_GetModule cfunction c-api/function.html
4182-unittest.discover method library/unittest.html
4183-dis.hasconst data library/dis.html
4184-distutils.archive_util.make_zipfile function distutils/apiref.html
4185-Py_LeaveRecursiveCall cfunction c-api/exceptions.html
4186-m_reload cmember c-api/module.html
4187-tkinter.ttk.Widget.instate method library/tkinter.ttk.html
4188-distutils.ccompiler.CCompiler.execute method distutils/apiref.html
4189-struct.unpack_from function library/struct.html
4190-tp_alloc cmember c-api/typeobj.html
4191-PyUnicode_FSConverter cfunction c-api/unicode.html
4192-shutil.copyfileobj function library/shutil.html
4193-difflib.ndiff function library/difflib.html
4194-ctypes.ArgumentError exception library/ctypes.html
4195-csv.Dialect.escapechar attribute library/csv.html
4196-cgitb.enable function library/cgitb.html
4197-PyArg_ParseTuple cfunction c-api/arg.html
4198-PyLong_AsLong cfunction c-api/long.html
4199-datetime.datetime.timetuple method library/datetime.html
4200-mailbox.Maildir.close method library/mailbox.html
4201-zipfile.ZipInfo class library/zipfile.html
4202-http.client.HTTPConnection.endheaders method library/http.client.html
4203-ast.parse function library/ast.html
4204-mailbox.Babyl.lock method library/mailbox.html
4205-ftplib.FTP_TLS.auth method library/ftplib.html
4206-collections.deque.maxlen attribute library/collections.html
4207-turtle.st function library/turtle.html
4208-socket.htons function library/socket.html
4209-wave.Wave_read.getframerate method library/wave.html
4210-socket.htonl function library/socket.html
4211-sys.flags data library/sys.html
4212-xml.sax.xmlreader.InputSource.setSystemId method library/xml.sax.reader.html
4213-encodings.idna.nameprep function library/codecs.html
4214-colorsys.rgb_to_hls function library/colorsys.html
4215-unittest.TestCase.assertIsNot method library/unittest.html
4216-csv.Dialect class library/csv.html
4217-calendar.TextCalendar.pryear method library/calendar.html
4218-xmlrpc.client.ProtocolError.headers attribute library/xmlrpc.client.html
4219-email.message.Message class library/email.message.html
4220-urllib.parse.unquote function library/urllib.parse.html
4221-ctypes.c_long class library/ctypes.html
4222-xml.sax.SAXNotSupportedException exception library/xml.sax.html
4223-winreg.KEY_WOW64_32KEY data library/winreg.html
4224-email.utils.parsedate function library/email.util.html
4225-unittest.TestResult.failures attribute library/unittest.html
4226-tabnanny.tokeneater function library/tabnanny.html
4227-ssl.SSLContext.load_cert_chain method library/ssl.html
4228-PyDict_Merge cfunction c-api/dict.html
4229-datetime.datetime.dst method library/datetime.html
4230-winreg.QueryInfoKey function library/winreg.html
4231-urllib.request.url2pathname function library/urllib.request.html
4232-xml.sax.xmlreader.XMLReader.getContentHandler method library/xml.sax.reader.html
4233-codecs.getwriter function library/codecs.html
4234-UserWarning exception library/exceptions.html
4235-pstats.Stats.strip_dirs method library/profile.html
4236-imaplib.IMAP4.getquotaroot method library/imaplib.html
4237-imaplib.IMAP4.login_cram_md5 method library/imaplib.html
4238-unittest.skipIf function library/unittest.html
4239-zipfile.BadZipfile exception library/zipfile.html
4240-ssl.OP_NO_SSLv3 data library/ssl.html
4241-ssl.OP_NO_SSLv2 data library/ssl.html
4242-PySet_Clear cfunction c-api/set.html
4243-errno.ELIBBAD data library/errno.html
4244-ctypes._CData._b_needsfree_ attribute library/ctypes.html
4245-calendar.monthcalendar function library/calendar.html
4246-decimal.Context.minus method library/decimal.html
4247-PyInstanceMethod_Type cvar c-api/method.html
4248-cmath.log10 function library/cmath.html
4249-email.utils.parsedate_tz function library/email.util.html
4250-tarfile.HeaderError exception library/tarfile.html
4251-nntplib.NNTPProtocolError exception library/nntplib.html
4252-multiprocessing.sharedctypes.Array function library/multiprocessing.html
4253-str.count method library/stdtypes.html
4254-http.client.CannotSendRequest exception library/http.client.html
4255-socketserver.BaseServer.server_activate method library/socketserver.html
4256-PyMem_Resize cfunction c-api/memory.html
4257-reprlib.aRepr data library/reprlib.html
4258-socket.socket.gettimeout method library/socket.html
4259-mailbox.MaildirMessage class library/mailbox.html
4260-asyncore.dispatcher.bind method library/asyncore.html
4261-winreg.CreateKeyEx function library/winreg.html
4262-Py_GetCopyright cfunction c-api/init.html
4263-ascii function library/functions.html
4264-curses.window.insch method library/curses.html
4265-sq_contains cmember c-api/typeobj.html
4266-calendar.month function library/calendar.html
4267-PyBytes_FromFormat cfunction c-api/bytes.html
4268-distutils.ccompiler.new_compiler function distutils/apiref.html
4269-PyModule_Create2 cfunction c-api/module.html
4270-xml.etree.ElementTree.Element.findall method library/xml.etree.elementtree.html
4271-sqlite3.Row class library/sqlite3.html
4272-curses.color_pair function library/curses.html
4273-resource.RLIMIT_AS data library/resource.html
4274-turtle.onkey function library/turtle.html
4275-unittest.TestCase.assertGreater method library/unittest.html
4276-ftplib.FTP.size method library/ftplib.html
4277-mailbox.Maildir.clean method library/mailbox.html
4278-bz2.BZ2File.seek method library/bz2.html
4279-gettext.translation function library/gettext.html
4280-curses.def_shell_mode function library/curses.html
4281-http.server.BaseHTTPRequestHandler.date_time_string method library/http.server.html
4282-sunau.AU_read.getframerate method library/sunau.html
4283-doctest.testmod function library/doctest.html
4284-csv.Dialect.skipinitialspace attribute library/csv.html
4285-errno.ENODEV data library/errno.html
4286-importlib.abc.Finder class library/importlib.html
4287-optparse.Option.metavar attribute library/optparse.html
4288-Py_Finalize cfunction c-api/init.html
4289-xml.dom.Element.setAttribute method library/xml.dom.html
4290-PyUnicode_FromEncodedObject cfunction c-api/unicode.html
4291-dbm.dumb.open function library/dbm.html
4292-xml.dom.ProcessingInstruction.target attribute library/xml.dom.html
4293-configparser.RawConfigParser.optionxform method library/configparser.html
4294-http.cookiejar.DefaultCookiePolicy.allowed_domains method library/http.cookiejar.html
4295-csv.csvreader.__next__ method library/csv.html
4296-http.cookiejar.DefaultCookiePolicy.DomainLiberal attribute library/http.cookiejar.html
4297-curses.ascii.isalpha function library/curses.ascii.html
4298-email.parser.Parser class library/email.parser.html
4299-traceback.format_exception function library/traceback.html
4300-unittest.TestCase.assertMultiLineEqual method library/unittest.html
4301-unittest.TestResult.addError method library/unittest.html
4302-tokenize.tokenize function library/tokenize.html
4303-email.message.Message.get_param method library/email.message.html
4304-multiprocessing.freeze_support function library/multiprocessing.html
4305-email.parser.FeedParser.feed method library/email.parser.html
4306-object.__ne__ method reference/datamodel.html
4307-exit data library/constants.html
4308-PyFloat_AsDouble cfunction c-api/float.html
4309-PyNumber_Multiply cfunction c-api/number.html
4310-trace.Trace class library/trace.html
4311-distutils.ccompiler.CCompiler.runtime_library_dir_option method distutils/apiref.html
4312-tkinter.ttk.Progressbar.step method library/tkinter.ttk.html
4313-random.normalvariate function library/random.html
4314-sys.version data library/sys.html
4315-math.tan function library/math.html
4316-socket.socket.ioctl method library/socket.html
4317-Py_Initialize cfunction c-api/init.html
4318-hex function library/functions.html
4319-formatter.formatter.set_spacing method library/formatter.html
4320-importlib.util.set_loader function library/importlib.html
4321-curses.baudrate function library/curses.html
4322-PyFrozenSet_Type cvar c-api/set.html
4323-turtle.pendown function library/turtle.html
4324-http.cookiejar.CookiePolicy class library/http.cookiejar.html
4325-errno.EALREADY data library/errno.html
4326-PyImport_GetImporter cfunction c-api/import.html
4327-weakref.CallableProxyType data library/weakref.html
4328-threading.current_thread function library/threading.html
4329-shlex.shlex.commenters attribute library/shlex.html
4330-distutils.dir_util.remove_tree function distutils/apiref.html
4331-curses.color_content function library/curses.html
4332-PyErr_WarnEx cfunction c-api/exceptions.html
4333-errno.EL3RST data library/errno.html
4334-distutils.dir_util.mkpath function distutils/apiref.html
4335-mailbox.Mailbox.values method library/mailbox.html
4336-dbm.ndbm.library data library/dbm.html
4337-PyCapsule_New cfunction c-api/capsule.html
4338-zipfile.ZipFile.writestr method library/zipfile.html
4339-os.WIFSIGNALED function library/os.html
4340-unittest.TestResult.stopTestRun method library/unittest.html
4341-mailbox.MaildirMessage.set_flags method library/mailbox.html
4342-multiprocessing.Connection.recv_bytes_into method library/multiprocessing.html
4343-os.setresuid function library/os.html
4344-logging.log function library/logging.html
4345-formatter.DumbWriter class library/formatter.html
4346-codecs.BOM_UTF32_LE data library/codecs.html
4347-stat.S_IFMT function library/stat.html
4348-asyncore.dispatcher.accept method library/asyncore.html
4349-curses.window.idcok method library/curses.html
4350-site.PREFIXES data library/site.html
4351-csv.Error exception library/csv.html
4352-logging.error function library/logging.html
4353-Py_VISIT cfunction c-api/gcsupport.html
4354-winreg.FlushKey function library/winreg.html
4355-decimal.Context.copy_negate method library/decimal.html
4356-asynchat.async_chat.close_when_done method library/asynchat.html
4357-symtable.Symbol.is_referenced method library/symtable.html
4358-os.mknod function library/os.html
4359-itertools.chain function library/itertools.html
4360-optparse.OptionParser.get_version method library/optparse.html
4361-errno.ESRMNT data library/errno.html
4362-nntplib.NNTPReplyError exception library/nntplib.html
4363-errno.ENOENT data library/errno.html
4364-mailbox.MH.discard method library/mailbox.html
4365-os.chflags function library/os.html
4366-code.InteractiveInterpreter.showtraceback method library/code.html
4367-code.InteractiveInterpreter.runcode method library/code.html
4368-mailbox.Maildir.get_file method library/mailbox.html
4369-curses.reset_prog_mode function library/curses.html
4370-collections.somenamedtuple._replace method library/collections.html
4371-tp_dictoffset cmember c-api/typeobj.html
4372-aifc.aifc.readframes method library/aifc.html
4373-inspect.getclasstree function library/inspect.html
4374-PySys_ResetWarnOptions cfunction c-api/sys.html
4375-sqlite3.Connection.rollback method library/sqlite3.html
4376-mailbox.BabylMessage class library/mailbox.html
4377-warnings.warn function library/warnings.html
4378-operator.__sub__ function library/operator.html
4379-stat.S_ISCHR function library/stat.html
4380-heapq.merge function library/heapq.html
4381-xml.dom.pulldom.parseString function library/xml.dom.pulldom.html
4382-xml.etree.ElementTree.Element.iterfind method library/xml.etree.elementtree.html
4383-PyUnicode_FromObject cfunction c-api/unicode.html
4384-object.__irshift__ method reference/datamodel.html
4385-decimal.Context.abs method library/decimal.html
4386-logging.listen function library/logging.html
4387-stat.ST_NLINK data library/stat.html
4388-logging.Handler.close method library/logging.html
4389-tkinter.ttk.Notebook.enable_traversal method library/tkinter.ttk.html
4390-netrc.netrc.macros attribute library/netrc.html
4391-imp.reload function library/imp.html
4392-_Py_c_neg cfunction c-api/complex.html
4393-html.parser.HTMLParser.handle_data method library/html.parser.html
4394-csv.Dialect.lineterminator attribute library/csv.html
4395-distutils.ccompiler.CCompiler.add_include_dir method distutils/apiref.html
4396-hash function library/functions.html
4397-fractions.gcd function library/fractions.html
4398-zipfile.PyZipFile class library/zipfile.html
4399-turtle.begin_poly function library/turtle.html
4400-shutil.unpack_archive function library/shutil.html
4401-xml.sax.handler.ContentHandler class library/xml.sax.handler.html
4402-platform.system_alias function library/platform.html
4403-urllib.request.FTPHandler.ftp_open method library/urllib.request.html
4404-object.__invert__ method reference/datamodel.html
4405-curses.window.scroll method library/curses.html
4406-queue.Queue.task_done method library/queue.html
4407-subprocess.STDOUT data library/subprocess.html
4408-fileinput.filelineno function library/fileinput.html
4409-curses.panel.Panel.replace method library/curses.panel.html
4410-msilib.Feature class library/msilib.html
4411-pprint.isrecursive function library/pprint.html
4412-object.__and__ method reference/datamodel.html
4413-PyCapsule_GetContext cfunction c-api/capsule.html
4414-unittest.loadTestsFromModule method library/unittest.html
4415-http.cookiejar.DefaultCookiePolicy.set_allowed_domains method library/http.cookiejar.html
4416-mmap.seek method library/mmap.html
4417-poplib.POP3.list method library/poplib.html
4418-distutils.fancy_getopt.fancy_getopt function distutils/apiref.html
4419-multiprocessing.managers.SyncManager.Array method library/multiprocessing.html
4420-distutils.fancy_getopt.FancyGetopt.generate_help method distutils/apiref.html
4421-str.isidentifier method library/stdtypes.html
4422-PyCell_GET cfunction c-api/cell.html
4423-cgitb.handler function library/cgitb.html
4424-PyNumber_And cfunction c-api/number.html
4425-turtle.tiltangle function library/turtle.html
4426-ctypes.c_uint class library/ctypes.html
4427-unittest.TestResult.addFailure method library/unittest.html
4428-csv.list_dialects function library/csv.html
4429-importlib.abc.PyLoader.load_module method library/importlib.html
4430-audioop.lin2lin function library/audioop.html
4431-PyTime_FromTime cfunction c-api/datetime.html
4432-delattr function library/functions.html
4433-get_special_folder_path function distutils/builtdist.html
4434-distutils.ccompiler.CCompiler class distutils/apiref.html
4435-tarfile.TarInfo.fromtarfile method library/tarfile.html
4436-stat.S_IFCHR data library/stat.html
4437-shlex.shlex.wordchars attribute library/shlex.html
4438-multiprocessing.Lock class library/multiprocessing.html
4439-Py_XINCREF cfunction c-api/refcounting.html
4440-sq_inplace_repeat cmember c-api/typeobj.html
4441-operator.iadd function library/operator.html
4442-errno.ENOSTR data library/errno.html
4443-PyLong_FromUnsignedLong cfunction c-api/long.html
4444-PyDate_FromDate cfunction c-api/datetime.html
4445-decimal.DecimalException class library/decimal.html
4446-optparse.Option.default attribute library/optparse.html
4447-ssl.CERT_OPTIONAL data library/ssl.html
4448-xml.sax.xmlreader.XMLReader class library/xml.sax.reader.html
4449-ValueError exception library/exceptions.html
4450-xml.sax.handler.ContentHandler.endElementNS method library/xml.sax.handler.html
4451-xdrlib.Packer.reset method library/xdrlib.html
4452-threading.Thread.setName method library/threading.html
4453-curses.noecho function library/curses.html
4454-os.O_TRUNC data library/os.html
4455-operator.truediv function library/operator.html
4456-turtle.clone function library/turtle.html
4457-urllib.error.URLError.reason attribute library/urllib.error.html
4458-tkinter.Tk class library/tkinter.html
4459-mailbox.MH.close method library/mailbox.html
4460-os.P_DETACH data library/os.html
4461-object.__len__ method reference/datamodel.html
4462-os.tcsetpgrp function library/os.html
4463-functools.partial.func attribute library/functools.html
4464-PyObject_GC_New cfunction c-api/gcsupport.html
4465-decimal.Context.number_class method library/decimal.html
4466-curses.getmouse function library/curses.html
4467-random.shuffle function library/random.html
4468-csv.csvwriter.writerows method library/csv.html
4469-traceback.extract_stack function library/traceback.html
4470-tkinter.ttk.Notebook class library/tkinter.ttk.html
4471-tkinter.ttk.Style.theme_settings method library/tkinter.ttk.html
4472-doctest.DocTestParser.get_doctest method library/doctest.html
4473-http.cookiejar.DefaultCookiePolicy.is_blocked method library/http.cookiejar.html
4474-fpectl.turnoff_sigfpe function library/fpectl.html
4475-calendar.Calendar.itermonthdates method library/calendar.html
4476-collections.Counter.elements method library/collections.html
4477-logging.critical function library/logging.html
4478-logging.handlers.SMTPHandler class library/logging.html
4479-audioop.lin2alaw function library/audioop.html
4480-re.MatchObject.endpos attribute library/re.html
4481-readline.get_history_length function library/readline.html
4482-_ob_next cmember c-api/typeobj.html
4483-mailbox.Mailbox.__contains__ method library/mailbox.html
4484-ast.literal_eval function library/ast.html
4485-reprlib.Repr.maxlist attribute library/reprlib.html
4486-distutils.ccompiler.CCompiler.library_filename method distutils/apiref.html
4487-operator.__inv__ function library/operator.html
4488-multiprocessing.Value function library/multiprocessing.html
4489-logging.handlers.SocketHandler class library/logging.html
4490-PyUnicode_InternInPlace cfunction c-api/unicode.html
4491-decimal.Context.logical_xor method library/decimal.html
4492-resource.RUSAGE_CHILDREN data library/resource.html
4493-enumerate function library/functions.html
4494-configparser.DuplicateSectionError exception library/configparser.html
4495-xml.dom.NamespaceErr exception library/xml.dom.html
4496-inspect.ismethod function library/inspect.html
4497-io.UnsupportedOperation exception library/io.html
4498-decimal.Decimal.max method library/decimal.html
4499-sys.displayhook function library/sys.html
4500-shutil.copymode function library/shutil.html
4501-mp_length cmember c-api/typeobj.html
4502-select.epoll.register method library/select.html
4503-turtle.pensize function library/turtle.html
4504-logging.Logger.debug method library/logging.html
4505-xml.dom.DocumentType.publicId attribute library/xml.dom.html
4506-PyErr_BadArgument cfunction c-api/exceptions.html
4507-pprint.PrettyPrinter.pformat method library/pprint.html
4508-tp_methods cmember c-api/typeobj.html
4509-csv.reader function library/csv.html
4510-ssl.PROTOCOL_TLSv1 data library/ssl.html
4511-reprlib.Repr.maxlevel attribute library/reprlib.html
4512-PyDict_Values cfunction c-api/dict.html
4513-code.interact function library/code.html
4514-difflib.IS_CHARACTER_JUNK function library/difflib.html
4515-io.IOBase.flush method library/io.html
4516-xml.dom.EMPTY_NAMESPACE data library/xml.dom.html
4517-inspect.getinnerframes function library/inspect.html
4518-doctest.UnexpectedException exception library/doctest.html
4519-datetime.timezone.utcoffset method library/datetime.html
4520-decimal.Decimal.number_class method library/decimal.html
4521-ftplib.FTP_TLS class library/ftplib.html
4522-errno.EDOTDOT data library/errno.html
4523-calendar.HTMLCalendar.formatmonth method library/calendar.html
4524-ossaudiodev.oss_audio_device.nonblock method library/ossaudiodev.html
4525-binascii.b2a_uu function library/binascii.html
4526-PyMarshal_ReadObjectFromString cfunction c-api/marshal.html
4527-turtle.update function library/turtle.html
4528-platform.release function library/platform.html
4529-gc.DEBUG_SAVEALL data library/gc.html
4530-errno.EBADSLT data library/errno.html
4531-formatter.AS_IS data library/formatter.html
4532-asyncore.dispatcher.close method library/asyncore.html
4533-heapq.nlargest function library/heapq.html
4534-struct.unpack function library/struct.html
4535-multiprocessing.connection.deliver_challenge function library/multiprocessing.html
4536-mailbox.Error exception library/mailbox.html
4537-cmath.cos function library/cmath.html
4538-msilib.sequence data library/msilib.html
4539-PyObject_Print cfunction c-api/object.html
4540-Py_SetPythonHome cfunction c-api/init.html
4541-os.devnull data library/os.html
4542-wsgiref.validate.validator function library/wsgiref.html
4543-decimal.Decimal.is_nan method library/decimal.html
4544-object.__getattr__ method reference/datamodel.html
4545-xmlrpc.client.ServerProxy.system.methodSignature method library/xmlrpc.client.html
4546-xdrlib.Unpacker.unpack_bytes method library/xdrlib.html
4547-xml.sax.SAXParseException exception library/xml.sax.html
4548-decimal.Context.add method library/decimal.html
4549-ast.AST.col_offset attribute library/ast.html
4550-PyErr_SetFromWindowsErrWithFilename cfunction c-api/exceptions.html
4551-tkinter.ttk.Treeview.heading method library/tkinter.ttk.html
4552-multiprocessing.pool.multiprocessing.Pool.imap_unordered method library/multiprocessing.html
4553-select.poll.register method library/select.html
4554-os.path.expandvars function library/os.path.html
4555-msilib.CAB.commit method library/msilib.html
4556-xml.sax.parseString function library/xml.sax.html
4557-distutils.ccompiler.CCompiler.move_file method distutils/apiref.html
4558-os.path.getsize function library/os.path.html
4559-symtable.Symbol.get_name method library/symtable.html
4560-doctest.REPORT_ONLY_FIRST_FAILURE data library/doctest.html
4561-mailbox.MH.list_folders method library/mailbox.html
4562-mimetypes.types_map data library/mimetypes.html
4563-internal cmember c-api/buffer.html
4564-Py_GetProgramName cfunction c-api/init.html
4565-cgi.print_directory function library/cgi.html
4566-audioop.tostereo function library/audioop.html
4567-telnetlib.Telnet.read_very_lazy method library/telnetlib.html
4568-os.lseek function library/os.html
4569-logging.handlers.WatchedFileHandler.emit method library/logging.html
4570-pyclbr.Class.lineno attribute library/pyclbr.html
4571-mailcap.getcaps function library/mailcap.html
4572-os.getloadavg function library/os.html
4573-configparser.RawConfigParser.write method library/configparser.html
4574-ZeroDivisionError exception library/exceptions.html
4575-email.header.decode_header function library/email.header.html
4576-curses.tparm function library/curses.html
4577-unittest.TestResult.addSuccess method library/unittest.html
4578-http.cookiejar.CookieJar.clear method library/http.cookiejar.html
4579-m_clear cmember c-api/module.html
4580-imaplib.IMAP4.getannotation method library/imaplib.html
4581-PyException_SetTraceback cfunction c-api/exceptions.html
4582-tkinter.ttk.Treeview.column method library/tkinter.ttk.html
4583-threading.Lock.release method library/threading.html
4584-decimal.Decimal class library/decimal.html
4585-math.exp function library/math.html
4586-str.partition method library/stdtypes.html
4587-imp.get_tag function library/imp.html
4588-shutil.unregister_unpack_format function library/shutil.html
4589-datetime.date.min attribute library/datetime.html
4590-xml.dom.pulldom.PullDOM class library/xml.dom.pulldom.html
4591-struct.Struct.format attribute library/struct.html
4592-wsgiref.handlers.SimpleHandler class library/wsgiref.html
4593-http.cookies.Morsel.js_output method library/http.cookies.html
4594-asynchat.async_chat.discard_buffers method library/asynchat.html
4595-http.client.HTTP_PORT data library/http.client.html
4596-decimal.Context.normalize method library/decimal.html
4597-object.__reversed__ method reference/datamodel.html
4598-os.O_NOATIME data library/os.html
4599-os.wait function library/os.html
4600-imp.cache_from_source function library/imp.html
4601-xml.parsers.expat.xmlparser.CurrentColumnNumber attribute library/pyexpat.html
4602-zlib.Decompress.unconsumed_tail attribute library/zlib.html
4603-multiprocessing.connection.Client function library/multiprocessing.html
4604-os.path.basename function library/os.path.html
4605-ctypes.cast function library/ctypes.html
4606-io.IOBase.writable method library/io.html
4607-importlib.abc.PyPycLoader.source_mtime method library/importlib.html
4608-filecmp.dircmp.same_files attribute library/filecmp.html
4609-array.array.tostring method library/array.html
4610-xmlrpc.client.Binary.encode method library/xmlrpc.client.html
4611-os.readlink function library/os.html
4612-PyDict_Size cfunction c-api/dict.html
4613-threading.Condition class library/threading.html
4614-PyInstanceMethod_Check cfunction c-api/method.html
4615-datetime.timedelta.min attribute library/datetime.html
4616-parser.ST.tolist method library/parser.html
4617-bytes function library/functions.html
4618-binascii.crc32 function library/binascii.html
4619-uuid.uuid4 function library/uuid.html
4620-uuid.uuid5 function library/uuid.html
4621-PyType_CheckExact cfunction c-api/type.html
4622-uuid.uuid3 function library/uuid.html
4623-PyBytes_FromObject cfunction c-api/bytes.html
4624-uuid.uuid1 function library/uuid.html
4625-chunk.Chunk.tell method library/chunk.html
4626-PyWeakref_NewRef cfunction c-api/weakref.html
4627-set class library/stdtypes.html
4628-msilib.init_database function library/msilib.html
4629-http.client.IncompleteRead exception library/http.client.html
4630-tkinter.tix.PopupMenu class library/tkinter.tix.html
4631-PyUnicode_DecodeFSDefault cfunction c-api/unicode.html
4632-turtle.getpen function library/turtle.html
4633-distutils.sysconfig.get_python_lib function distutils/apiref.html
4634-decimal.Context.exp method library/decimal.html
4635-shutil.rmtree function library/shutil.html
4636-socketserver.BaseServer.finish_request method library/socketserver.html
4637-codecs.StreamWriter class library/codecs.html
4638-decimal.Decimal.to_eng_string method library/decimal.html
4639-io.IOBase.seekable method library/io.html
4640-PyUnicode_Splitlines cfunction c-api/unicode.html
4641-multiprocessing.Condition class library/multiprocessing.html
4642-pprint.pprint function library/pprint.html
4643-frozenset class library/stdtypes.html
4644-unittest.TestResult.stop method library/unittest.html
4645-class.__instancecheck__ method reference/datamodel.html
4646-PyObject_Del cfunction c-api/allocation.html
4647-PyByteArray_FromStringAndSize cfunction c-api/bytearray.html
4648-operator.methodcaller function library/operator.html
4649-difflib.Differ class library/difflib.html
4650-Py_UNICODE_ISDECIMAL cfunction c-api/unicode.html
4651-os.killpg function library/os.html
4652-stringprep.in_table_c21_c22 function library/stringprep.html
4653-set.copy method library/stdtypes.html
4654-xmlrpc.server.SimpleXMLRPCServer.register_introspection_functions method library/xmlrpc.server.html
4655-pstats.Stats.sort_stats method library/profile.html
4656-zipfile.ZipInfo.compress_size attribute library/zipfile.html
4657-ssl.RAND_egd function library/ssl.html
4658-PyDateTime_DATE_GET_MICROSECOND cfunction c-api/datetime.html
4659-cmd.Cmd.postcmd method library/cmd.html
4660-datetime.datetime.min attribute library/datetime.html
4661-PyUnicode_GetSize cfunction c-api/unicode.html
4662-multiprocessing.connection.Listener.close method library/multiprocessing.html
4663-http.cookiejar.Cookie.get_nonstandard_attr method library/http.cookiejar.html
4664-PyUnicode_AsRawUnicodeEscapeString cfunction c-api/unicode.html
4665-PyWeakref_GetObject cfunction c-api/weakref.html
4666-gettext.NullTranslations.output_charset method library/gettext.html
4667-operator.mod function library/operator.html
4668-contextlib.contextmanager function library/contextlib.html
4669-object.__rtruediv__ method reference/datamodel.html
4670-mailbox.MaildirMessage.add_flag method library/mailbox.html
4671-formatter.formatter.add_literal_data method library/formatter.html
4672-binascii.a2b_hex function library/binascii.html
4673-tkinter.ttk.Treeview class library/tkinter.ttk.html
4674-xml.dom.Document.createTextNode method library/xml.dom.html
4675-decimal.Decimal.is_snan method library/decimal.html
4676-threading.Condition.acquire method library/threading.html
4677-PyUnicode_Replace cfunction c-api/unicode.html
4678-class.__bases__ attribute library/stdtypes.html
4679-winreg.REG_MULTI_SZ data library/winreg.html
4680-zipimport.zipimporter.find_module method library/zipimport.html
4681-msvcrt.getch function library/msvcrt.html
4682-configparser.InterpolationDepthError exception library/configparser.html
4683-tarfile.TarFile.gettarinfo method library/tarfile.html
4684-mailbox.Mailbox.flush method library/mailbox.html
4685-email.message.Message.__delitem__ method library/email.message.html
4686-decimal.Context.is_zero method library/decimal.html
4687-PyMappingMethods ctype c-api/typeobj.html
4688-gc.get_threshold function library/gc.html
4689-curses.window.standout method library/curses.html
4690-distutils.sysconfig.get_python_inc function distutils/apiref.html
4691-Py_UNICODE_ISSPACE cfunction c-api/unicode.html
4692-turtle.screensize function library/turtle.html
4693-collections.deque.rotate method library/collections.html
4694-object.__iand__ method reference/datamodel.html
4695-memoryview.format attribute library/stdtypes.html
4696-curses.tigetnum function library/curses.html
4697-tkinter.ttk.Treeview.prev method library/tkinter.ttk.html
4698-ftplib.all_errors data library/ftplib.html
4699-errno.ENOTEMPTY data library/errno.html
4700-PyObject_HEAD cmacro c-api/structures.html
4701-PyCapsule_CheckExact cfunction c-api/capsule.html
4702-xml.dom.DomstringSizeErr exception library/xml.dom.html
4703-input function library/functions.html
4704-turtle.tilt function library/turtle.html
4705-tp_str cmember c-api/typeobj.html
4706-format function library/functions.html
4707-audioop.cross function library/audioop.html
4708-imaplib.IMAP4.noop method library/imaplib.html
4709-xml.sax.xmlreader.InputSource.setByteStream method library/xml.sax.reader.html
4710-PySequence_ITEM cfunction c-api/sequence.html
4711-multiprocessing.Pipe function library/multiprocessing.html
4712-imghdr.tests data library/imghdr.html
4713-mailcap.findmatch function library/mailcap.html
4714-email.mime.application.MIMEApplication class library/email.mime.html
4715-curses.ascii.ismeta function library/curses.ascii.html
4716-math.pi data library/math.html
4717-email.charset.Charset.input_charset attribute library/email.charset.html
4718-hashlib.hash.digest method library/hashlib.html
4719-multiprocessing.JoinableQueue.task_done method library/multiprocessing.html
4720-msilib.add_stream function library/msilib.html
4721-errno.ELIBMAX data library/errno.html
4722-ssl.SSLContext.verify_mode attribute library/ssl.html
4723-xml.dom.Node.appendChild method library/xml.dom.html
4724-tp_itemsize cmember c-api/typeobj.html
4725-xmlrpc.client.DateTime.encode method library/xmlrpc.client.html
4726-PyFloat_GetMin cfunction c-api/float.html
4727-inspect.getmodulename function library/inspect.html
4728-ftplib.FTP.nlst method library/ftplib.html
4729-xml.dom.HierarchyRequestErr exception library/xml.dom.html
4730-imaplib.Time2Internaldate function library/imaplib.html
4731-distutils.util.change_root function distutils/apiref.html
4732-xml.etree.ElementTree.Element.keys method library/xml.etree.elementtree.html
4733-turtle.forward function library/turtle.html
4734-curses.newwin function library/curses.html
4735-multiprocessing.Connection class library/multiprocessing.html
4736-textwrap.TextWrapper.initial_indent attribute library/textwrap.html
4737-tp_dealloc cmember c-api/typeobj.html
4738-multiprocessing.JoinableQueue.join method library/multiprocessing.html
4739-decimal.Context.ln method library/decimal.html
4740-distutils.ccompiler.show_compilers function distutils/apiref.html
4741-uuid.UUID.version attribute library/uuid.html
4742-curses.window.clear method library/curses.html
4743-os.dup2 function library/os.html
4744-multiprocessing.set_executable function library/multiprocessing.html
4745-multiprocessing.Connection.send method library/multiprocessing.html
4746-crypt.crypt function library/crypt.html
4747-tarfile.TarInfo.isdev method library/tarfile.html
4748-fcntl.flock function library/fcntl.html
4749-PyBuffer_Release cfunction c-api/buffer.html
4750-PyTuple_Size cfunction c-api/tuple.html
4751-turtle.stamp function library/turtle.html
4752-weakref.ReferenceError exception library/weakref.html
4753-decimal.Decimal.copy_negate method library/decimal.html
4754-xml.dom.Document.createAttribute method library/xml.dom.html
4755-ftplib.FTP.storlines method library/ftplib.html
4756-curses.window.insnstr method library/curses.html
4757-fractions.Fraction class library/fractions.html
4758-PyDictProxy_New cfunction c-api/dict.html
4759-next function library/functions.html
4760-PyDateTime_GET_MONTH cfunction c-api/datetime.html
4761-UnicodeError exception library/exceptions.html
4762-http.cookiejar.DefaultCookiePolicy.strict_domain attribute library/http.cookiejar.html
4763-tkinter.ttk.Treeview.identify_column method library/tkinter.ttk.html
4764-xml.dom.NotFoundErr exception library/xml.dom.html
4765-shlex.shlex.infile attribute library/shlex.html
4766-http.cookiejar.CookiePolicy.rfc2965 attribute library/http.cookiejar.html
4767-PyUnicode_Concat cfunction c-api/unicode.html
4768-compileall.compile_path function library/compileall.html
4769-os.WNOHANG data library/os.html
4770-sqlite3.Cursor.fetchmany method library/sqlite3.html
4771-logging.Logger.propagate attribute library/logging.html
4772-socket.socket.setblocking method library/socket.html
4773-multiprocessing.Connection.recv_bytes method library/multiprocessing.html
4774-ctypes.c_wchar_p class library/ctypes.html
4775-base64.encodebytes function library/base64.html
4776-errno.ELNRNG data library/errno.html
4777-xml.parsers.expat.xmlparser.ErrorColumnNumber attribute library/pyexpat.html
4778-os.kill function library/os.html
4779-tkinter.ttk.Treeview.identify_region method library/tkinter.ttk.html
4780-array.array.buffer_info method library/array.html
4781-os.path.splitunc function library/os.path.html
4782-dict.values method library/stdtypes.html
4783-sys.last_value data library/sys.html
4784-unittest.TestCase.addTypeEqualityFunc method library/unittest.html
4785-mailbox.MH.lock method library/mailbox.html
4786-PyThreadState_Clear cfunction c-api/init.html
4787-datetime.time.__str__ method library/datetime.html
4788-io.TextIOBase.write method library/io.html
4789-fractions.Fraction.limit_denominator method library/fractions.html
4790-curses.typeahead function library/curses.html
4791-PyBytes_GET_SIZE cfunction c-api/bytes.html
4792-email.utils.formataddr function library/email.util.html
4793-socket.socket.sendall method library/socket.html
4794-msilib.View.GetColumnInfo method library/msilib.html
4795-PyList_Type cvar c-api/list.html
4796-logging.FileHandler class library/logging.html
4797-datetime.datetime.time method library/datetime.html
4798-pickle.HIGHEST_PROTOCOL data library/pickle.html
4799-http.server.BaseHTTPRequestHandler.server attribute library/http.server.html
4800-test.support.is_resource_enabled function library/test.html
4801-slice function library/functions.html
4802-os.getenv function library/os.html
4803-zlib.Decompress.unused_data attribute library/zlib.html
4804-decimal.Context.Etiny method library/decimal.html
4805-errno.ENOTTY data library/errno.html
4806-datetime.date.year attribute library/datetime.html
4807-PyObject_DelAttr cfunction c-api/object.html
4808-shutil.copytree function library/shutil.html
4809-codecs.xmlcharrefreplace_errors function library/codecs.html
4810-email.message.Message.get_content_maintype method library/email.message.html
4811-http.server.BaseHTTPRequestHandler class library/http.server.html
4812-http.server.SimpleHTTPRequestHandler.extensions_map attribute library/http.server.html
4813-PySequence_Fast_GET_ITEM cfunction c-api/sequence.html
4814-PyLong_Check cfunction c-api/long.html
4815-http.cookies.Morsel.coded_value attribute library/http.cookies.html
4816-PyUnicode_InternFromString cfunction c-api/unicode.html
4817-os.O_SEQUENTIAL data library/os.html
4818-xml.sax.handler.ContentHandler.startPrefixMapping method library/xml.sax.handler.html
4819-http.cookies.BaseCookie.value_encode method library/http.cookies.html
4820-fileinput.isfirstline function library/fileinput.html
4821-PyUnicode_AsCharmapString cfunction c-api/unicode.html
4822-xml.dom.Element.setAttributeNS method library/xml.dom.html
4823-ctypes.FormatError function library/ctypes.html
4824-ossaudiodev.oss_audio_device.write method library/ossaudiodev.html
4825-xml.dom.Document.getElementsByTagName method library/xml.dom.html
4826-locale.CODESET data library/locale.html
4827-slice.indices method reference/datamodel.html
4828-shelve.Shelf class library/shelve.html
4829-errno.EREMOTE data library/errno.html
4830-os.EX_IOERR data library/os.html
4831-calendar.calendar function library/calendar.html
4832-distutils.dep_util.newer_pairwise function distutils/apiref.html
4833-doctest.DocTestFailure.got attribute library/doctest.html
4834-math.fsum function library/math.html
4835-operator.__xor__ function library/operator.html
4836-xml.dom.NoModificationAllowedErr exception library/xml.dom.html
4837-pprint.PrettyPrinter class library/pprint.html
4838-xmlrpc.server.CGIXMLRPCRequestHandler.register_function method library/xmlrpc.server.html
4839-array.array.itemsize attribute library/array.html
4840-PyInstanceMethod_Function cfunction c-api/method.html
4841-random.expovariate function library/random.html
4842-errno.ELOOP data library/errno.html
4843-xml.parsers.expat.xmlparser.GetInputContext method library/pyexpat.html
4844-winsound.Beep function library/winsound.html
4845-PyMarshal_WriteLongToFile cfunction c-api/marshal.html
4846-http.cookiejar.Cookie.expires attribute library/http.cookiejar.html
4847-ssl.OP_NO_TLSv1 data library/ssl.html
4848-threading.Condition.notify_all method library/threading.html
4849-len function library/functions.html
4850-xml.parsers.expat.xmlparser.specified_attributes attribute library/pyexpat.html
4851-curses.window.untouchwin method library/curses.html
4852-PyComplex_FromDoubles cfunction c-api/complex.html
4853-winreg.PyHKEY.Detach method library/winreg.html
4854-logging.captureWarnings function library/logging.html
4855-staticmethod function library/functions.html
4856-io.BufferedIOBase.read method library/io.html
4857-platform.processor function library/platform.html
4858-operator.__itruediv__ function library/operator.html
4859-imp.load_dynamic function library/imp.html
4860-array.typecodes data library/array.html
4861-PyFunction_GetGlobals cfunction c-api/function.html
4862-select.kevent.fflags attribute library/select.html
4863-os.defpath data library/os.html
4864-tarfile.TarInfo.isreg method library/tarfile.html
4865-wsgiref.handlers.BaseHandler.get_stderr method library/wsgiref.html
4866-PyTuple_Type cvar c-api/tuple.html
4867-zip function library/functions.html
4868-PyLong_AsVoidPtr cfunction c-api/long.html
4869-decimal.Decimal.is_normal method library/decimal.html
4870-str.isdecimal method library/stdtypes.html
4871-object.__setattr__ method reference/datamodel.html
4872-array.array.reverse method library/array.html
4873-xmlrpc.server.SimpleXMLRPCServer.register_multicall_functions method library/xmlrpc.server.html
4874-html.parser.HTMLParser.handle_startendtag method library/html.parser.html
4875-imaplib.IMAP4.PROTOCOL_VERSION attribute library/imaplib.html
4876-KeyError exception library/exceptions.html
4877-unittest.TestCase.assertSetEqual method library/unittest.html
4878-winreg.EnumValue function library/winreg.html
4879-smtplib.SMTPResponseException exception library/smtplib.html
4880-email.message.Message.__contains__ method library/email.message.html
4881-PyModule_Type cvar c-api/module.html
4882-time.accept2dyear data library/time.html
4883-operator.ne function library/operator.html
4884-unittest.TextTestRunner._makeResult method library/unittest.html
4885-modulefinder.ModuleFinder class library/modulefinder.html
4886-difflib.Differ.compare method library/difflib.html
4887-PyLong_AsDouble cfunction c-api/long.html
4888-tarfile.TarInfo.name attribute library/tarfile.html
4889-email.charset.Charset.__eq__ method library/email.charset.html
4890-http.client.HTTPResponse.getheaders method library/http.client.html
4891-os.P_WAIT data library/os.html
4892-PyIter_Next cfunction c-api/iter.html
4893-locale.D_FMT data library/locale.html
4894-datetime.datetime.now classmethod library/datetime.html
4895-itertools.count function library/itertools.html
4896-csv.unregister_dialect function library/csv.html
4897-http.server.BaseHTTPRequestHandler.wfile attribute library/http.server.html
4898-xml.sax.xmlreader.AttributesImpl class library/xml.sax.reader.html
4899-sys.dont_write_bytecode data library/sys.html
4900-os.EX_USAGE data library/os.html
4901-threading.enumerate function library/threading.html
4902-curses.window.getparyx method library/curses.html
4903-sqlite3.enable_callback_tracebacks function library/sqlite3.html
4904-doctest.OutputChecker.output_difference method library/doctest.html
4905-tkinter.tix.CheckList class library/tkinter.tix.html
4906-winreg.REG_BINARY data library/winreg.html
4907-collections.Counter.update method library/collections.html
4908-zipfile.ZipInfo.filename attribute library/zipfile.html
4909-test.support.TESTFN data library/test.html
4910-inspect.iscode function library/inspect.html
4911-cmath.atan function library/cmath.html
4912-poplib.POP3.retr method library/poplib.html
4913-tp_descr_set cmember c-api/typeobj.html
4914-cmd.Cmd.use_rawinput attribute library/cmd.html
4915-os.path.normcase function library/os.path.html
4916-logging.Logger.findCaller method library/logging.html
4917-PyRun_SimpleFileExFlags cfunction c-api/veryhigh.html
4918-imp.C_BUILTIN data library/imp.html
4919-tkinter.ttk.Treeview.item method library/tkinter.ttk.html
4920-logging.FileHandler.close method library/logging.html
4921-ftplib.FTP.dir method library/ftplib.html
4922-optparse.OptionParser.add_option method library/optparse.html
4923-webbrowser.controller.open_new method library/webbrowser.html
4924-colorsys.hls_to_rgb function library/colorsys.html
4925-tkinter.ttk.Style.lookup method library/tkinter.ttk.html
4926-logging.FileHandler.emit method library/logging.html
4927-Py_GetProgramFullPath cfunction c-api/init.html
4928-ctypes.c_int class library/ctypes.html
4929-unittest.TestResult.shouldStop attribute library/unittest.html
4930-tp_iter cmember c-api/typeobj.html
4931-msilib.Control.condition method library/msilib.html
4932-curses.putp function library/curses.html
4933-xmlrpc.server.SimpleXMLRPCRequestHandler.rpc_paths attribute library/xmlrpc.server.html
4934-decimal.Context.subtract method library/decimal.html
4935-parser.ParserError exception library/parser.html
4936-PyVarObject_HEAD_INIT cmacro c-api/structures.html
4937-mailbox.Message class library/mailbox.html
4938-errno.ENOSPC data library/errno.html
4939-codecs.EncodedFile function library/codecs.html
4940-PyList_Reverse cfunction c-api/list.html
4941-xml.dom.Node.previousSibling attribute library/xml.dom.html
4942-argparse.ArgumentParser.parse_known_args method library/argparse.html
4943-pprint.PrettyPrinter.isrecursive method library/pprint.html
4944-msilib.gen_uuid function library/msilib.html
4945-cgi.FieldStorage.getfirst method library/cgi.html
4946-shelve.open function library/shelve.html
4947-operator.attrgetter function library/operator.html
4948-PyException_SetContext cfunction c-api/exceptions.html
4949-logging.Logger.handle method library/logging.html
4950-time.ctime function library/time.html
4951-email.generator.Generator.clone method library/email.generator.html
4952-PyDict_Contains cfunction c-api/dict.html
4953-symtable.SymbolTable.get_name method library/symtable.html
4954-PyTime_Check cfunction c-api/datetime.html
4955-PySet_Pop cfunction c-api/set.html
4956-datetime.date.fromtimestamp classmethod library/datetime.html
4957-urllib.request.Request.add_data method library/urllib.request.html
4958-imp.NullImporter.find_module method library/imp.html
4959-msvcrt.LK_RLCK data library/msvcrt.html
4960-formatter.NullFormatter class library/formatter.html
4961-socket.socket.accept method library/socket.html
4962-type function library/functions.html
4963-io.BufferedIOBase.write method library/io.html
4964-re.match function library/re.html
4965-stat.S_IREAD data library/stat.html
4966-importlib.util.set_package function library/importlib.html
4967-xml.etree.ElementTree.Element.getchildren method library/xml.etree.elementtree.html
4968-PyTrace_CALL cvar c-api/init.html
4969-wave.Wave_read.getmarkers method library/wave.html
4970-turtle.register_shape function library/turtle.html
4971-xml.sax.handler.ContentHandler.characters method library/xml.sax.handler.html
4972-xml.dom.NodeList.item method library/xml.dom.html
4973-http.cookiejar.FileCookieJar.load method library/http.cookiejar.html
4974-mailbox.Maildir class library/mailbox.html
4975-os.WIFSTOPPED function library/os.html
4976-ArithmeticError exception library/exceptions.html
4977-errno.EDEADLOCK data library/errno.html
4978-PyType_IS_GC cfunction c-api/type.html
4979-signal.CTRL_BREAK_EVENT data library/signal.html
4980-os.O_NOFOLLOW data library/os.html
4981-audioop.add function library/audioop.html
4982-PyWeakref_NewProxy cfunction c-api/weakref.html
4983-telnetlib.Telnet.mt_interact method library/telnetlib.html
4984-codecs.StreamReader.readlines method library/codecs.html
4985-bisect.bisect_left function library/bisect.html
4986-imaplib.IMAP4.sort method library/imaplib.html
4987-os.O_DIRECT data library/os.html
4988-PyLong_AsUnsignedLongLongMask cfunction c-api/long.html
4989-tarfile.ExtractError exception library/tarfile.html
4990-turtle.getshapes function library/turtle.html
4991-socket.AF_INET6 data library/socket.html
4992-gettext.install function library/gettext.html
4993-PyNumber_Long cfunction c-api/number.html
4994-imaplib.IMAP4.rename method library/imaplib.html
4995-xml.dom.InuseAttributeErr exception library/xml.dom.html
4996-turtle.shape function library/turtle.html
4997-importlib.import_module function library/importlib.html
4998-logging.handlers.SysLogHandler.mapPriority method library/logging.html
4999-ctypes.c_bool class library/ctypes.html
5000-os.EX_OSFILE data library/os.html
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: