[issue4631] urlopen returns extra, spurious bytes

2009-02-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r69513, r69514. Thanks everyone! -- resolution: accepted - fixed status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4631

[issue616247] More documentation for the imp module

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: jvr - brett.cannon nosy: +brett.cannon versions: +Python 2.7, Python 3.1 -Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue616247

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2009-02-10 Thread Rafe Kaplan
Changes by Rafe Kaplan ra...@google.com: -- keywords: +patch Added file: http://bugs.python.org/file13023/datetime-utc.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5094 ___

[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Indeed, this is a well-known issue. Many packages put an optimize=1 in their setup.cfg in order to solve it. -- assignee: - tarek nosy: +pitrou, tarek type: - behavior versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python

[issue689895] Imports can deadlock

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue689895 ___

[issue787113] zipimport on meta_path fails with mutual importers

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: jvr - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue787113 ___

[issue809254] imp.find_module doesn't work in /tmp

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue809254 ___

[issue828743] bdist_rpm failure when no setup.py

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - tarek nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue828743 ___ ___

[issue828450] sdist generates bad MANIFEST on Windows

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - tarek nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue828450 ___ ___

[issue856103] reload() fails with modules from zips

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue856103 ___

[issue965206] importing dynamic modules via embedded python

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue965206 ___

[issue966431] import x.y inside of module x.y

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue966431 ___

[issue992389] attribute error after non-from import

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon versions: +Python 2.7, Python 3.1 -Python 2.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue992389

[issue993766] bdist_dumb and --relative on Windows fails

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - tarek nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue993766 ___ ___

[issue1011113] distutils install with -b / --build-base

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - tarek nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue103 ___ ___

[issue1059244] distutil bdist hardcodes the python location

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - tarek components: +Distutils -None nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1059244 ___

[issue1109602] Need some setup.py sanity

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - tarek nosy: +tarek type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1109602 ___

[issue1109658] distutils dry-run breaks when attempting to bytecompile

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - tarek nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1109658 ___ ___

[issue1109963] bdist_wininst ignores build_lib from build command

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - tarek nosy: +tarek versions: +Python 2.7 -Python 2.4, Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1109963 ___

[issue1214675] module warnings lacks a remove filter function

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1214675 ___

[issue1419652] PyImport_AppendInittab stores pointer to parameter

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: loewis - brett.cannon nosy: +brett.cannon versions: +Python 2.7 -Python 2.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1419652 ___

[issue1220756] Re-importing embedded thread dumps core

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1220756 ___ ___ Python-bugs-list

[issue701743] Reloading pseudo modules

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon type: - feature request versions: +Python 2.6, Python 2.7 -Python 2.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue701743

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2009-02-10 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- stage: test needed - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5094 ___ ___

[issue779191] BasicModuleLoader behaviour in Python 2.3c2

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue779191 ___

[issue4347] Circular dependency causes SystemError when adding new syntax

2009-02-10 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- priority: - normal stage: patch review - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4347 ___

[issue1044382] Can't raise C API version mismatch warning

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1044382 ___

[issue1074015] current directory in sys.path handles symlinks badly

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon components: +Interpreter Core -None nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1074015 ___

[issue1161031] Neverending warnings from asyncore

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +brett.cannon type: - behavior versions: +Python 2.6 -Python 2.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1161031 ___

[issue1507224] sys.path issue if sys.prefix contains a colon

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon type: - behavior versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1507224

[issue1525549] Document additions from PEP 302

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon versions: +Python 2.6, Python 3.0 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1525549

[issue1514734] site.py can break the location of the python library

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1514734 ___

[issue2775] Implement PEP 3108

2009-02-10 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2775 ___ ___ Python-bugs-list

[issue1534764] sys.path gets munged with certain directory structures

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1534764 ___

[issue1538778] pyo's are not overwritten by different optimization levels

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1538778 ___

[issue1539925] warnings in interactive sessions

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1539925 ___

[issue1548371] filterwarnings('error') has no effect

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon components: +Library (Lib) -None nosy: +brett.cannon type: - behavior versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org

[issue1548687] C modules reloaded on certain failed imports

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1548687 ___

[issue1590864] import deadlocks when using PyObjC threads

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1590864 ___

[issue1635217] Add example of distutils setup() with requires argument

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - tarek nosy: +tarek type: - feature request versions: +Python 2.6 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1635217

[issue1644818] Allow importing built-in submodules

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1644818 ___

[issue1562822] decimal module borks thread

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1562822 ___

[issue1552880] Unicode Imports

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon, ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1552880 ___

[issue616247] More documentation for the imp module

2009-02-10 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue616247 ___ ___ Python-bugs-list

[issue2227] time.strptime too strict? should it assume current year?

2009-02-10 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2227 ___ ___ Python-bugs-list

[issue4011] Create DAG for PEP 101

2009-02-10 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4011 ___ ___ Python-bugs-list

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-10 Thread Adam Olsen
Adam Olsen rha...@gmail.com added the comment: On my 64-bit linux box there's nothing in the last 4 bits: [id(o)%16 for o in [object() for i in range(128)]] [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-10 Thread Adam Olsen
Adam Olsen rha...@gmail.com added the comment: Upon further inspection, although a shift of 4 (on a 64-bit linux box) isn't perfect for dict, it's fairly close to it and well beyond random hash values. Mixing things more is just gonna lower it towards random values. c() 2: 1, 1, 1,

[issue5213] _resolve_name in importlib/__init__.py left an index on rindex usage

2009-02-10 Thread Guilherme Polo
New submission from Guilherme Polo ggp...@gmail.com: I guess this happened due to the transition from rsplit to rindex. -- assignee: brett.cannon components: Library (Lib) files: _resolve_name_rindex.diff keywords: easy, patch messages: 81621 nosy: brett.cannon, gpolo severity: normal

[issue3844] Script: find untested C functions

2009-02-10 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Closing: resource available externally ( http://bazaar.launchpad.net/~ajaksu/ccoverage/trunk/files ) -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org

[issue5204] test.os/TestInvalidFD/test_fdopen on VC6

2009-02-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Thanks, committed in r69516. -- resolution: accepted - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5204

[issue1665206] Hangup when using cgitb in a thread while still in import

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon versions: +Python 2.6 -Python 2.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1665206 ___

[issue1175686] add reload function to IDLE

2009-02-10 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: It seems discussion in issue 1721083 is more advanced... should this one be closed? :) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1175686 ___

[issue1299] distutils.sysconfig is not cross-platform compatible

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - tarek components: +Distutils -Windows nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1299 ___

[issue2100] unit test UnicodeWarning

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +brett.cannon, ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2100 ___ ___

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-10 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Instead of a shift, how about a rotate or byteswap in case the lower bits ever become significant again in some build. ___ Python tracker rep...@bugs.python.org

[issue2308] Make structseq more like collections.namedtuple

2009-02-10 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Closing as a duplicate of issue 1820. -- nosy: +ajaksu2, rhettinger resolution: - duplicate status: open - closed superseder: - Enhance Object/structseq.c to match namedtuple and tuple api ___ Python

[issue2437] Distutils runtime_library_dirs broken on Windows

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - tarek nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2437 ___ ___

[issue2454] sha and md5 fixer

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2454 ___ ___ Python-bugs-list

[issue2412] Check 2to3 for support of print function.

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2412 ___ ___ Python-bugs-list

[issue2953] _zip_directory_cache untested and undocumented

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2953 ___ ___ Python-bugs-list mailing list

[issue2805] 2to3 doesn't correct divisions

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2805 ___ ___ Python-bugs-list

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2009-02-10 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: See also issue 2308 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1820 ___ ___

[issue2972] arguments and default path not set in site.py and sitecustomize.py

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2972 ___

[issue3099] On windows, import nul always succeed

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3099 ___

[issue3370] importing with_statement causes exec to raise syntax error on block that doesn't end with a newline

2009-02-10 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Closing: fixed in trunk, 2.5 won't be receiving bugfixes anymore. -- nosy: +ajaksu2 resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org

[issue3444] add warnings for intra-package imports

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3444 ___ ___ Python-bugs-list

[issue2805] 2to3 doesn't correct divisions

2009-02-10 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: I thought the right way to handle this is with a -3 option. That's the only way to reliably detect the intended meaning of / and its change in meaning in 3.0. -- nosy: +rhettinger

[issue3619] A more informative message for ImportError

2009-02-10 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- assignee: - brett.cannon nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3619 ___

[issue5204] test.os/TestInvalidFD/test_fdopen on VC6

2009-02-10 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- stage: commit review - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5204 ___

[issue5214] Add KOI8-RU as a known encoding

2009-02-10 Thread Dwayne Bailey
New submission from Dwayne Bailey dwayne+pythonb...@translate.org.za: u = unicode(bob, KOI8-RU) Traceback (most recent call last): File stdin, line 1, in module LookupError: unknown encoding: KOI8-RU This could be broadened to see that we support all encodings that are supported by iconv.

[issue1635363] Add command line help to windows unistall binary

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada akit...@gmail.com: -- assignee: - tarek components: +Windows nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1635363 ___

[issue969718] BASECFLAGS are not passed to module build line

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada akit...@gmail.com: -- nosy: +tarek type: - behavior versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue969718

[issue1648890] HP-UX: ld -Wl,+b...

2009-02-10 Thread Akira Kitada
Changes by Akira Kitada akit...@gmail.com: -- nosy: +tarek type: - behavior versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1648890

[issue5215] change value of local variable in debug

2009-02-10 Thread mproeller
New submission from mproeller mproel...@googlemail.com: The following code produces problems: import pdb def func(): b = 13 pdb.set_trace() a = b + 2 print a func() If I change the value of b (e.g. to 3) everything works fine (print a = displays 5) but if I want

<    1   2   3   4