[issue2281] Enhanced cPython profiler with high-resolution timer

2009-05-17 Thread Jean Brouwers

Jean Brouwers  added the comment:

Here a small, standalone test program of the hires timer code from 
_lsprof4.c.

The results from 10 different builds are included in the comment.

--
Added file: http://bugs.python.org/file14006/hpTime.c

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-05-17 Thread Bobby Impollonia

Changes by Bobby Impollonia :


--
nosy: +bobbyi

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-17 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

> It would be great to have buildbot making regression tests
> over all compiler flavors.

Yes, I hope snakebite.org will enable us to access to several MSVC
compilers.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4566] 2.6.1 breaks many applications that embed Python on Windows

2009-05-17 Thread chrisyco

chrisyco  added the comment:

After some Googling, I found a possible solution:

http://lists.wxwidgets.org/pipermail/wxpython-users/2008-November/081981.html

--
nosy: +chrisyco

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3003] sys.stdin.fileno() gives attribute error in IDLE

2009-05-17 Thread Kurt B. Kaiser

Kurt B. Kaiser  added the comment:

>>> type(sys.stdin)


Don't attempt  sys.stdin._RPCProxy_methods lest you be turned to 
stone ;-)

We didn't implement all the features of stdin as it didn't seem 
necessary.  Did you have a specific reason to access 
stdin.fileno() ?

stdin/out/err support communications between the subprocess and 
the IDLE GUI through a socket.  They are redirected in the GUI and 
proxied in the subprocess.

--
assignee:  -> kbk
nosy: +kbk
resolution:  -> works for me
stage: test needed -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6050] zipfile: Extracting a directory that already exists generates an OSError

2009-05-17 Thread Joe Amenta

New submission from Joe Amenta :

zipfile.ZipFile.extract() fails if targetpath is a directory that
already exists.

Bug revealed itself on Ubuntu, using extractall().

Happened on the latest 3.1 and 2.7.

Attached a patch that I think will fix this issue.

--
components: Library (Lib)
files: zipdiff.diff
keywords: patch
messages: 88014
nosy: joe.amenta
severity: normal
status: open
title: zipfile: Extracting a directory that already exists generates an OSError
versions: Python 2.7, Python 3.1
Added file: http://bugs.python.org/file14005/zipdiff.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5942] Ambiguity in dbm.open flag documentation

2009-05-17 Thread Mitchell Model

Mitchell Model  added the comment:

No, I mean dbm.open. The third paragraph of its documentation says "'c'
to create the database if it doesn’t exist, or 'n', which will always
create a new empty database". This could easily be read as opening the
database just for writing, although come to think of it a write-only
database doesn't make any sense. I guess I was just being
literal/mechanical in my reading of it, trying to make sure it erased
all doubt. If the previous flags hadn't been explicitly documented as
"for reading only" and "for reading and writing" it wouldn't have
occurred to me that 'c' and 'n' should also be documented as reading and
writing. No problem if you think this is too trivial and unlikely a
problem to bother correcting.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2281] Enhanced cPython profiler with high-resolution timer

2009-05-17 Thread Jean Brouwers

Jean Brouwers  added the comment:

There were two problems with _lsprof4.c.  Attached is the corrected file 
and the forward diff with _lsprof.c rev 6670.

--
Added file: http://bugs.python.org/file14004/hires_lsprof4.tgz

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2281] Enhanced cPython profiler with high-resolution timer

2009-05-17 Thread Jean Brouwers

Changes by Jean Brouwers :


Removed file: http://bugs.python.org/file14001/hires_lsprof4.tgz

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5964] WeakSet cmp methods

2009-05-17 Thread Robert Schuppenies

Robert Schuppenies  added the comment:

Fixed in r72751.

--
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-17 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

Roumen, your patch worked fine.

--
Ran 115 tests in 53.207s

OK

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4215] Running Python 2.6 GUI on Windows Vista

2009-05-17 Thread Georg Brandl

Changes by Georg Brandl :


--
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1884] msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch

2009-05-17 Thread Jim Wilson

Jim Wilson  added the comment:

Well, I violated the admonition of the Great Satan: "PID_CODEPAGE must
be first." (or words to that effect).  It turns out not to make a
difference.  Revised (conforming) source attached.

--
Added file: http://bugs.python.org/file14003/bar.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5980] Add bug tracker tasks to PEP 101

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

Applied in r72756.

--
resolution:  -> accepted
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1884] msilib.SetProperty(msilib.PID_CODEPAGE, '1252') raises 0x65d = type mismatch

2009-05-17 Thread Jim Wilson

Jim Wilson  added the comment:

I hope this helps.  It's Greek to me now.

--
Added file: http://bugs.python.org/file14002/bar.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2281] Enhanced cPython profiler with high-resolution timer

2009-05-17 Thread Jean Brouwers

Jean Brouwers  added the comment:

Attached is yet another version of the Modules/_lsprof.c source, called 
_lsprof4.c.

This one adds support for the hires timer on 32- and 64-bit Intel and 
PowerPC processors iff compiled with GNU C.

With _lsprof4.c, the high precision profile is available on Linux, Mac 
OS X, Solaris, HP-UX and MS Windows.

Included is the forward diff with _lsprof.c rev 66700 from the trunk.  
The changes are only at the very top and in the initialization function 
at the bottom.

--
Added file: http://bugs.python.org/file14001/hires_lsprof4.tgz

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6022] test_distutils leaves a 'foo' file behind in the cwd

2009-05-17 Thread Roumen Petrov

Roumen Petrov  added the comment:

After lets call it "cd temp dir" modification the fail on my linux box :
missing libpithon2.7.
What is the buildbot trick as the test pass on all linux buildbots ?

--
nosy: +rpetrov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2281] Enhanced cPython profiler with high-resolution timer

2009-05-17 Thread Jean Brouwers

Jean Brouwers  added the comment:

Attached is another version of the Modules/_lsprof.c source file.

This _lsprof3.c uses the hires time base on Mac OS X, Solaris and HP-UX 
(plus MS Windows like before) and does not require any asm code.

Also, there are no changes other than the very top of the file.  The 
forward diff with rev 66700 from the trunk is included.

--
Added file: http://bugs.python.org/file14000/hires_lsprof3.tgz

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1855] Codepage unset in msilib.init_database()

2009-05-17 Thread Jim Wilson

Jim Wilson  added the comment:

It's been more than a year.  I'll work a little longer on the
SetProperty(...) example, but here's the "confirming evidence".

A related problem is 1884, but I simply don't remember the context and
long ago deleted the code in disgust.

--
Added file: http://bugs.python.org/file13999/foo.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5829] float('1e500') -> inf, complex('1e500') -> ValueError

2009-05-17 Thread Eric Smith

Eric Smith  added the comment:

It looks good to me.

--
nosy: +eric.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-17 Thread Roumen Petrov

Roumen Petrov  added the comment:

The patch issue5977-w32.patch from issue 5977 has to fix this.
The patch just add suffix for target binary, i.e. on linux target will
become foo.so and on w32 foo.pyd. Note .pyd is correct sugfxi for w32.

--
nosy: +rpetrov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3366] Add gamma function, error functions and other C99 math.h functions to math module

2009-05-17 Thread Mark Dickinson

Changes by Mark Dickinson :


Removed file: http://bugs.python.org/file10983/unnamed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6049] str.strip() and " behaviour expected?

2009-05-17 Thread Ezio Melotti

Ezio Melotti  added the comment:

Yes, it is expected.
When you call .strip() without args it strips the whitespaces, when you
call with an arg it strips only what you specified.
In this example:
>>> s.strip('"')
' "Peter'
the left " is not removed because there's a space in between, in this
example:
>>> s.strip().strip('"')
'Peter'
you first remove the space and then the two ".

--
nosy: +ezio.melotti

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6049] str.strip() and " behaviour expected?

2009-05-17 Thread Erik Bernoth

New submission from Erik Bernoth :

Hey guys,

is the following behaviour expected? I don't really think so...

$ python
Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) 
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> 
>>> 
>>> 
>>> s = ' "Peter"'
>>> s
' "Peter"'
>>> s.strip()
'"Peter"'
>>> s.strip('"')
' "Peter'
>>> s.strip('\"')
' "Peter'
>>> s.strip('\"\"')
' "Peter'
>>> 
>>> 
>>> 
>>> s.strip()
'"Peter"'
>>> s.strip().strip('"')
'Peter'
>>> s.strip('"').strip()
'"Peter'

--
components: Library (Lib), Macintosh
messages: 87999
nosy: sholvar
severity: normal
status: open
title: str.strip() and " behaviour expected?
versions: Python 3.0

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6047] "install" target in python 3.x makefile should be "fullinstall"

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

fullinstall should be removed -- I have the same recollection as Ronald,
so if someone really wants python == python3, he can create the link
himself.

--
nosy: +georg.brandl

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6047] "install" target in python 3.x makefile should be "fullinstall"

2009-05-17 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

Sorry about the noise, I mustn't have been awake this morning :-(

The fact that fullinstall still creates a "python" executable confuses me 
a little though, I thought the consesus at the language summit at Pycon 
was that we shouldn't do that but only have a "python3" executable.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1738179] help() can't find right source file

2009-05-17 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6047] "install" target in python 3.x makefile should be "fullinstall"

2009-05-17 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

I don't understand. fullinstall still overwrites python to link to python3.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6045] Fix dbm interfaces

2009-05-17 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Would inheriting from MutableMapping fix this problem?

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3877] test_fileio fails on OpenBSD 4.4

2009-05-17 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

There are other changed files than just test_fileio.py in your patch, I
suppose they aren't needed for this bug?
Also, it would probably be more future-proof to test for `'bsd' in
sys.platform`.

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6045] Fix dbm interfaces

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

First, lowering priority.

> I disagree that this is release-critical. I think it is desirable to
> say that the dbm modules support most of a dict-style interface,
> and I also think that it is factually correct to claim that they
> currently do.

Supporting only __getitem__, __setitem__, __delitem__, __contains__ and
keys is already "most of a dict-style interface"?  Only dumbdbm and
bsddb, which isn't in the core anymore, support more methods.

> The problem with the current documentation is that it apparently stopped
> documenting the "dict-style interface", in the sense
>   http://www.python.org/doc/2.5/lib/typesmapping.html
> did. Instead, the documentation now only documents the dict type itself.
> If a dict-style interface was specified, one would have to specify
> whether returning views from keys/values/items is part of the dict-style
> interface or not.

It should first be decided what a "dict-style interface" means in Python
3, then I can document it :)

However, for the dbm modules I would be in favor of only specifying the
four mentioned methods, as in the docstring of dbm/__init__.py, and not
claiming any more.

--
priority: release blocker -> critical

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4080] pyunit - display time of each test case - patch

2009-05-17 Thread Michael Foord

Michael Foord  added the comment:

Needs test and documentation. Otherwise looks good.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6012] enhance getargs O& to accept cleanup function

2009-05-17 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

Well, please see r65745. That was O& before.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-17 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

It seems there is two workarounds.

1. remove /pdb:None from linker arguments.
2. Add extension to output filename. (like attached patch)

Maybe, if there is /pdb:None in linker arguments and output filename
doesn't have extension, link.exe may think it has default extension
".exe". I'm not sure.

--
keywords: +patch
Added file: http://bugs.python.org/file13998/investigate.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6044] Exception message in int() when trying to convert a complex

2009-05-17 Thread Mark Dickinson

Mark Dickinson  added the comment:

Removed "; use int(abs(z))" from the error message (and the
corresponding pieces from the error messages for long(z)
and float(z)) in r72718, r72719, r72720, r72722.

(Georg agreed to this change in a brief discussion on IRC.)

--
resolution: invalid -> fixed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5766] Mac/scripts/BuildApplet.py reset of sys.executable during install can cause it to use wrong modules

2009-05-17 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

I haven't looked in this particular problem yet, but please note that the 
Mac-specific libraries do not work with an UCS4 build of python.

--
nosy: +ronaldoussoren

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5514] Darwin framework libpython3.0.a is not a normal static library

2009-05-17 Thread Ronald Oussoren

Changes by Ronald Oussoren :


--
assignee:  -> ronaldoussoren

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5514] Darwin framework libpython3.0.a is not a normal static library

2009-05-17 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

Jack: could you please explain what the issue is? Unless you do so I 
will close this issue as "won't fix".

In particular: will linking with "-lpython3.0" work with this 
hypothetical future version of Xcode you're talking about? 

As mentioned before "libpythonX.Y.a" is present for compatibility with a 
number of popular 3th-party tools that have manually written makefiles 
that expect this library to be present. Making the file a symlink to the 
actual dylib in the framework seems to work as intented as the moment: 
the executable gets linked to the framework (just as if it was linked 
with "-framework Python")

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-17 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

Ah, well, if this runs on VC9, I think you don't have to worry about
VC6. (VC6 is too old) Of course, I'm happy if this runs on VC6 too.

Anyway, there is msvc9compiler.py, so maybe does different code run on
between VC9 and VC8(or elder)?

I don't know about buildbot slave.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6047] "install" target in python 3.x makefile should be "fullinstall"

2009-05-17 Thread Ronald Oussoren

New submission from Ronald Oussoren :

The default "install" target in the toplevel makefile for python 3.x 
behaves like the "altinstall" target in python 2.x. This behaviour was 
choosen to avoid conflicts between python 3.x and python 2.x 
installations.

IMO this is no longer needed, "make fullinstall" can coexist nicely with 
Python 2.x because the binaries that get installed for Python 3.x are 
named differently than those in Python 2.x.  Furthermore the 
"fullinstall" target is what most users will actually want to use: that 
install the 'unversioned' filenames.

I therefore propose to renamed the "install" target in Python 3.x to 
"altinstall" and to rename the "fullinstall" target to "install".

--
assignee: benjamin.peterson
messages: 87980
nosy: benjamin.peterson, ronaldoussoren
severity: normal
status: open
title: "install" target in python 3.x makefile should be "fullinstall"
type: behavior
versions: Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6023] Search does not intelligently handle module.function queries on docs.python.org

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

This is already done in Sphinx trunk, and will be used for Python as
soon as it is released.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6044] Exception message in int() when trying to convert a complex

2009-05-17 Thread Mark Dickinson

Mark Dickinson  added the comment:

I always found the "use int(abs(z))" part of that message odd,
as well.  As Georg points out, there are many possible ways that
one might want to convert complex to int;  it seems strange to
give advice for one particular one when that may well not match
what the user wanted.

I'd suggest just dropping the "use int(abs(z))" from the error message.
I think it's more likely to be confusing than helpful.

The same applies to float(complex).

--
nosy: +marketdickinson

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6042] Document and slightly simplify lnotab tracing

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

Jeffrey, while you're at lnotab stuff, could you have a look at #1689458
as well?

--
nosy: +georg.brandl

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6044] Exception message in int() when trying to convert a complex

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

That no unambiguous conversion between complex and int is defined is
exactly the reason for this error message.  You could want the absolute
value, the real part, the imaginary part, or even the polar angle...

int(abs(z)) works as intended, giving you the absolute value of the
complex number, which is 1 for 1j**2.

--
nosy: +georg.brandl
resolution:  -> invalid
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-17 Thread Hirokazu Yamamoto

Changes by Hirokazu Yamamoto :


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-17 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

Here is translated version.

test_get_outputs (distutils.tests.test_build_ext.BuildExtTestCase) ... foo.c
   Library
c:\docume~1\whiter~1\locals~1\temp\tmpzdhkyv\tempt\docume~1\whiter~1\l
ocals~1\temp\tmpkhvw2m\foo.lib and object
c:\docume~1\whiter~1\locals~1\temp\tmp
zdhkyv\tempt\docume~1\whiter~1\locals~1\temp\tmpkhvw2m\foo.exp is being
created
CVPACK : fatal error CK1003: File
c:\docume~1\whiter~1\locals~1\temp\tmpb4w8fe\f
oo.exe cannot be opened
LINK : warning LNK4027: CVPACK error

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5935] Better documentation of use of BROWSER environment variable

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

Fixed in r72712.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-17 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

Here is translated version.

test_get_outputs (distutils.tests.test_build_ext.BuildExtTestCase) ... foo.c
   Library
c:\docume~1\whiter~1\locals~1\temp\tmpzdhkyv\tempt\docume~1\whiter~1\l
ocals~1\temp\tmpkhvw2m\foo.lib and object
c:\docume~1\whiter~1\locals~1\temp\tmp
zdhkyv\tempt\docume~1\whiter~1\locals~1\temp\tmpkhvw2m\foo.exp を作成中
CVPACK : fatal error CK1003: File
c:\docume~1\whiter~1\locals~1\temp\tmpb4w8fe\f
oo.exe cannot be opened
LINK : warning LNK4027: CVPACK error

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6046] test_distutils.py fails on VC6(Windows)

2009-05-17 Thread Hirokazu Yamamoto

New submission from Hirokazu Yamamoto :

test_disutils(test_get_outputs) fails on VC6. I cannot know if this
happens on VC9 too because buildbot is down. :-(

/

test_get_outputs (distutils.tests.test_build_ext.BuildExtTestCase) ... foo.c
   ライブラリ
c:\docume~1\whiter~1\locals~1\temp\tmpzdhkyv\tempt\docume~1\whiter~1\l
ocals~1\temp\tmpkhvw2m\foo.lib とオブジェクト
c:\docume~1\whiter~1\locals~1\temp\tmp
zdhkyv\tempt\docume~1\whiter~1\locals~1\temp\tmpkhvw2m\foo.exp を作成中
CVPACK : 致命的なエラー CK1003: ファイル
c:\docume~1\whiter~1\locals~1\temp\tmpb4w8fe\f
oo.exe を開くことができません
LINK : warning LNK4027: CVPACK error

/

I looked into the directory "tmpkhvw2m" before it would be deleted, but
I could not find "foo.exe". There was only "foo".

--
assignee: tarek
components: Distutils
messages: 87970
nosy: ocean-city, tarek
severity: normal
status: open
title: test_distutils.py fails on VC6(Windows)
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5937] Problems with dbm documentation

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

Superseded by #6045.

--
resolution:  -> duplicate
status: open -> closed
superseder:  -> Fix dbm interfaces

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6045] Fix dbm interfaces

2009-05-17 Thread Georg Brandl

New submission from Georg Brandl :

All the dbm.* modules currently have different interfaces, and different
levels of supporting the Python3-style dictionary interface -- while the
docs claim they all have (most of) the dict interface.

For example, both dbm.gnu and dbm.ndbm only have keys() methods, and
they return a list.  Etc. for other dict-style methods.

So, either we remove the claim that they have a dict-style interface
beyond __*item__() and keys(), or we do something about it.

--
components: Library (Lib)
messages: 87968
nosy: georg.brandl
priority: release blocker
severity: normal
stage: needs patch
status: open
title: Fix dbm interfaces
type: behavior
versions: Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6012] enhance getargs O& to accept cleanup function

2009-05-17 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

> Modifying convert_to_unicode is incorrect; this function is not an O&
> converter. Instead, PyUnicode_FSConverter needs to change.

Well, convert_to_unicode used to use O& before, and I fixed memory leak
with O formatter in current way. I used this function because I know
about it more than PyUnicode_FSConverter. Sorry for confusion. ;-)

> Attached is a patch that does that, and also uses the O& approach. It
> also adjusts the patch to use capsules.

Oh, this is how to use new capsule functions I noticed capsule.c was
added, but I didn't know how to use it.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5942] Ambiguity in dbm.open flag documentation

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

I think you meant anydbm?  It's already documented well for dbm.open --
I've copied over that table to anydbm in r72710.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5951] email.message : get_payload args's documentation is confusing

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

Will be fixed along with all other such instances.

--
resolution:  -> postponed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6017] Dict fails to notice addition and deletion of keys during iteration

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

OK, I now changed it to "may raise ... or fail to iterate over all
entries" in r72708.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6002] test_urllib2_localnet DigestAuthHandler leaks nonces

2009-05-17 Thread Senthil

Changes by Senthil :


--
nosy: +orsenthil

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4144] 3 tutorial documentation errors

2009-05-17 Thread Georg Brandl

Georg Brandl  added the comment:

I fixed the three docs issues in r72703 and r72704.  The doctest "issue"
is not an issue; the single backslash is already removed by Python's
tokenizer, so that doctest only sees 'doesn't' which is obviously a
syntax error.  You need to duplicate the backslash, or use a raw docstring.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com