[issue1726] Remove Python/atof.c from PCBuild/pythoncore.vcproj

2008-01-03 Thread Hirokazu Yamamoto

New submission from Hirokazu Yamamoto:

Probably this file is not needed for VisualC++.
I don't know this is harmful or not.

--
components: Build
files: remove_atof_c.patch
messages: 59126
nosy: ocean-city
severity: minor
status: open
title: Remove Python/atof.c from PCBuild/pythoncore.vcproj
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file9047/remove_atof_c.patch

__
Tracker <[EMAIL PROTECTED]>

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



[issue1727] VC6 build patch for python3000

2008-01-03 Thread Hirokazu Yamamoto

New submission from Hirokazu Yamamoto:

Build succeeded. So many errors on test_mailbox.py, and following error 
on test_float.py were reported.

==
FAIL: test_nan_from_str (__main__.InfNanTest)
--
Traceback (most recent call last):
  File "test_float.py", line 203, in test_nan_from_str
self.assert_(isnan(float("nan")))
AssertionError: None

# I renamed 'fortran' in Include/abstract.h to 'fort' because VC6 
said 'fortran' is preserved word for compatibility sake.

--
components: Build
files: vc6-py3k.patch
messages: 59127
nosy: ocean-city
severity: normal
status: open
title: VC6 build patch for python3000
versions: Python 3.0
Added file: http://bugs.python.org/file9048/vc6-py3k.patch

__
Tracker <[EMAIL PROTECTED]>

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



[issue1720] VC6 build patch for release-maint25

2008-01-03 Thread Hirokazu Yamamoto

Hirokazu Yamamoto added the comment:

I have submitted the patch for py3k as issue1727.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1727] VC6 build patch for python3000

2008-01-03 Thread Hirokazu Yamamoto

Hirokazu Yamamoto added the comment:

Hello. I noticed PC/VS7.1/pythoncore.vcproj lacks Modules/md5module.c 
while creating this patch. Thank you.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1327] Python 2.4+ spends too much time in PyEval_EvalFrame w/ xmlrpmclib

2008-01-03 Thread Fredrik Lundh

Fredrik Lundh added the comment:

That changes to ceval should have introduced some kind of XML-RPC
package limit seems a bit unlikely.  If you can still reproduce this,
can you try instrumenting the xmlrpclib.py library to see where it gets
stuck?

(passing in verbose=True to the Server[Proxy] constructor might be good
enough)

--
nosy: +effbot

__
Tracker <[EMAIL PROTECTED]>

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



[issue1698167] xml.etree document element.tag

2008-01-03 Thread Fredrik Lundh

Fredrik Lundh added the comment:

This is fixed in the development version, so I'm closing this for now. 
The updated docs can be found here:

http://docs.python.org/dev/library/xml.etree.elementtree.html

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

_
Tracker <[EMAIL PROTECTED]>

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



[issue1725] -1e-1000 converted incorrectly

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

I think we have found a bug in glibc's math code. I'm hanging around in
#glibc and see if I can get an opinion on the matter.

--
nosy: +tiran

__
Tracker <[EMAIL PROTECTED]>

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



[issue1726] Remove Python/atof.c from PCBuild/pythoncore.vcproj

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
assignee:  -> tiran
keywords: +patch, py3k
nosy: +tiran
priority:  -> normal

__
Tracker <[EMAIL PROTECTED]>

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



[issue1726] Remove Python/atof.c from PCBuild/pythoncore.vcproj

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Fixed in r59672

Thanks! I'm not sure if it was causing any trouble but better be safe
than sorry.

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

__
Tracker <[EMAIL PROTECTED]>

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



[issue1725] -1e-1000 converted incorrectly

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

On Windows -1E-1000 returns 0.0, too. We may need to fix it in your own
code and set the sign bit ourself.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1725] -1e-1000 converted incorrectly

2008-01-03 Thread Mark Dickinson

Mark Dickinson added the comment:

Presumably  float('-1e-1000') should also give -0.  (?)
If so, then it looks as though the fix ought to go in PyOS_ascii_strtod: 
one obvious possibility would be to replace any leading '-' sign by a '+' 
sign before calling the system strtod, then negate the result afterwards.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1567] Patch for new API method _PyImport_ImportModuleNoLock(char *name)

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

The patch does't replace all PyImport_ImportModule() calls with the new
function. It replaces only the calls which may occure more than once and
have a fixed name like "time".

I've renamed the function to PyImport_ImportModuleNoBlock(). It should
explain the purpose of the function better. It imports a module without
blocking.

Added file: http://bugs.python.org/file9049/trunk_import_noblock.patch

__
Tracker <[EMAIL PROTECTED]>

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



[issue1567] Patch for new API method _PyImport_ImportModuleNoLock(char *name)

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


Removed file: http://bugs.python.org/file/import_nolock.diff

__
Tracker <[EMAIL PROTECTED]>

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



[issue1640] Enhancements for mathmodule

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Guido van Rossum wrote:
> Guido van Rossum added the comment:
> 
> One nit: you added a blank line to the end of test_math.py.
> This will cause the checkin to fail. :-)

*grr* stupid white space check hook

> One bigger issue: the sign() function doesn't seem to work properly for
> nans.  E.g. on Linux I get:
> 
 inf = 1e1000
 nan = inf/inf
 mnan = -nan
 math.sign(nan)
> -1
 math.sign(mnan)
> 1
> 
> IOW a positive nan is considered negative and vice versa.  (This is
> probably due to the way nans defy testing, always returning false.)

If I recall the definition correctly NaNs don't have a sign. The content
of the sign bit is not defined for NaNs. I could fix the sign but it's
just eye candy and a waste of CPU cycles. IMO it would be more
appropriate to return 0 for NaNs instead of +1 or -1.

> I'm also curious why math.sign(0.0) returns 1 -- this is going to
> cause a lot of confusion.

math.sign(0.0) == 1 and math.sign(-0.0) == -1 is the main purpose of the
sign() function. Most ordinary users are still going to use x > 0.0 or x
< 0.0 instead of math.sign(). math.sign() is for the power users who
need to determinate whether an operation hits the 0 from the left or
right side of the number line.

Because 0.0 == -0.0 it's not possible the distinguish a positive from a
negative zero with comparison operations. if x == 0.0 and
str(x).startswith("-") was the only existing way to detect a negative zero.

Christian

__
Tracker <[EMAIL PROTECTED]>

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



[issue1640] Enhancements for mathmodule

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

> > One nit: you added a blank line to the end of test_math.py.
> > This will cause the checkin to fail. :-)
>
> *grr* stupid white space check hook

No, you edited a line that didn't need editing. :-)

> > One bigger issue: the sign() function doesn't seem to work properly for
> > nans.  E.g. on Linux I get:
> >
>  inf = 1e1000
>  nan = inf/inf
>  mnan = -nan
>  math.sign(nan)
> > -1
>  math.sign(mnan)
> > 1
> >
> > IOW a positive nan is considered negative and vice versa.  (This is
> > probably due to the way nans defy testing, always returning false.)
>
> If I recall the definition correctly NaNs don't have a sign. The content
> of the sign bit is not defined for NaNs. I could fix the sign but it's
> just eye candy and a waste of CPU cycles. IMO it would be more
> appropriate to return 0 for NaNs instead of +1 or -1.

Perhaps you recall wrong, as negating the nan returns one with the
opposite sign? This seems to indicate that there are positive and
negative nans.

> > I'm also curious why math.sign(0.0) returns 1 -- this is going to
> > cause a lot of confusion.
>
> math.sign(0.0) == 1 and math.sign(-0.0) == -1 is the main purpose of the
> sign() function. Most ordinary users are still going to use x > 0.0 or x
> < 0.0 instead of math.sign(). math.sign() is for the power users who
> need to determinate whether an operation hits the 0 from the left or
> right side of the number line.
>
> Because 0.0 == -0.0 it's not possible the distinguish a positive from a
> negative zero with comparison operations. if x == 0.0 and
> str(x).startswith("-") was the only existing way to detect a negative zero.

Hm, OK, but then passing a zero of some other type (e.g. int) should
also return +1 as the sign. I also think the function's name should be
changed, because I (and I assume many others) have grown up with a
sign() function that essentially returns cmp(x, 0.0).

Perhaps it would be better to have a function math.isneg() that
returns True for -0.0 and anything smaller and False for +0.0 and
anything larger. It could also return the proper sign of a nan.

I suggest that you check in the isinf() and isnan() functions and
their tests once you have docs for them, and hold off on the sign()
function until we've got agreement on it.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1567] Patch for new API method _PyImport_ImportModuleNoLock(char *name)

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

I see.  I think there's still something uncomfortable with this function
though -- it looks in sys.modules, but if it doesn't find it there, it
invokes the full-blown import machinery, which calls the (possibly
overridden) __import__ builtin, which in turn might do a relative import
(at least in 2.6) or any amount of funny business.

The only thing that really worries me here is the possibility of
relative import.  I'm thinking that relative import is really never
meant to be when called from C, so perhaps it would be sufficient to
modify the call to __import__ at the end of PyImport_Import() to add a
5th parameter, zero, to always force absolute import.  A quick concept
test shows that this doesn't break anything, though it is worth checking
the docs.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Windows needs its own PyOS_StdioReadline() function in order to support
wide chars. We can either use the low level functions _putwch() and
_getwche(). Or we could probably use the more higher functions
_cwprintf_s() (secure console wide char print format, oh I love MS'
naming schema) and _cgetws_s().

__
Tracker <[EMAIL PROTECTED]>

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



[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

Cool.

I suspect Unix will also require a customized version to be used in case
GNU readline isn't present.

And I wouldn't be surprised if GNU readline itself doesn't handle UTF-8
properly either!

__
Tracker <[EMAIL PROTECTED]>

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



[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Guido van Rossum wrote:
> I suspect Unix will also require a customized version to be used in case
> GNU readline isn't present.
> 
> And I wouldn't be surprised if GNU readline itself doesn't handle UTF-8
> properly either!

GNU readline can handle UTF-8 chars fine on my system:

äßé: ä
ä

My locales are set to de_DE.UTF-8

Christian

__
Tracker <[EMAIL PROTECTED]>

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



[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2008-01-03 Thread Martin v. Löwis

Martin v. Löwis added the comment:

If possible, I would like to see the C library phased out of Python on
Windows, for file I/O. In this case, it would mean that ReadConsoleW is
used directly for character input. Notice that _cgetws does not take a
file handle as a parameter, but implicitly uses _coninpfh.

As a consequence, PyOS_StdioReadline probably should change its
parameter from FILE* to "file handle", and consequently rename it to,
say, PyOS_Readline.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1700] Regular Expression inline flags not handled correctly for some unicode characters

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

Committed revision 59674.  (2.5.2 branch)
Committed revision 59675.  (2.6 trunk)

--
resolution:  -> fixed
status: open -> closed
versions: +Python 2.6, Python 3.0

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread astronouth7303

New submission from astronouth7303:

Something about distutils/cmd.py breaks inspect.findsource(). I am
unsure if this is a bug with DistUtils or the inspect module.

>>> import inspect, distutils.cmd
>>> inspect.findsource(distutils.cmd.install_misc.get_outputs)

Causes findsource() to receive an IndexError.

>From some hacking, I've found that the root cause appears to be that
linecache.getlines() returns a number of lines that do not match the
actual file. (In my case, getlines() returns 405 lines when
distutils/cmd.py has 478 lines.)

This bug causes pydoc to break when it is pointed at distutils.cmd.

This is on Ubuntu Gutsy, Python 2.5.1

--
components: None
messages: 59145
nosy: astronouth7303
severity: normal
status: open
title: distutils.cmd breaks inspect
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>

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



[issue1729] Allow float('infinity') as well as float('inf')

2008-01-03 Thread Mark Dickinson

New submission from Mark Dickinson:

This request relates to issue 1635:

http://bugs.python.org/issue1635

which allows cross-platform creation of infinities and nans.
The IEEE754 standard, the C99 standard, and the standard on which 
Decimal is based all allow creation of an infinity from the string 
'Infinity' (case-independent), as well as from 'inf'.  Is there any 
reason not to allow this for floats?  I'm happy to create a patch.

--
components: Interpreter Core
messages: 59146
nosy: marketdickinson
severity: minor
status: open
title: Allow float('infinity') as well as float('inf')
type: rfe
versions: Python 2.6, Python 3.0

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread Raghuram Devarakonda

Raghuram Devarakonda added the comment:

I can't reproduce it with 2.5.1 on SuSE 10. Can you please report the
exact traceback you see?

--
nosy: +draghuram

__
Tracker <[EMAIL PROTECTED]>

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



[issue1725] -1e-1000 converted incorrectly

2008-01-03 Thread Mark Dickinson

Mark Dickinson added the comment:

Here's a possible fix for this issue;  it parses a number by first stripping 
leading 
whitespace and any sign, then passing the remaining string to the system strtod.

This patch also fixes another bug in pystrtod.c, where ValueError is not raised 
on a 
hex float with a leading + sign:

>>> float('0x3')
Traceback (most recent call last):
  File "", line 1, in 
ValueError: invalid literal for float(): 0x3
>>> float('+0x3')  # expect ValueError
3.0

Added file: http://bugs.python.org/file9050/pystrtod.patch

__
Tracker <[EMAIL PROTECTED]>

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



[issue1729] Allow float('infinity') as well as float('inf')

2008-01-03 Thread Mark Dickinson

Mark Dickinson added the comment:

Sorry:  brain not working.  Please close as invalid.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread astronouth7303

astronouth7303 added the comment:

sqlite3/test/types.py also seems to cause the same error, although the
difference is much wider (101 lines vs. 351).

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread astronouth7303

astronouth7303 added the comment:

The exact traceback is as follows:

>>> findsource(distutils.cmd.install_misc.get_outputs)
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python2.5/inspect.py", line 510, in findsource
if pat.match(lines[lnum]): break
IndexError: list index out of range

__
Tracker <[EMAIL PROTECTED]>

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



[issue1700463] VC6 build patch for trunk

2008-01-03 Thread Joseph Armbruster

Changes by Joseph Armbruster:


--
components: +Windows

_
Tracker <[EMAIL PROTECTED]>

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



[issue1640] Enhancements for mathmodule

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Guido van Rossum wrote:
 > Hm, OK, but then passing a zero of some other type (e.g. int) should
> also return +1 as the sign. I also think the function's name should be
> changed, because I (and I assume many others) have grown up with a
> sign() function that essentially returns cmp(x, 0.0).
> 
> Perhaps it would be better to have a function math.isneg() that
> returns True for -0.0 and anything smaller and False for +0.0 and
> anything larger. It could also return the proper sign of a nan.

I'm fine with a isneg() function but I wouldn't "fix" it for NaN. It has
probably some kind of obscure meaning. The best explanation I was able
to find, is http://www.cisl.ucar.edu/docs/trap.error/errortypes.html

"Note: Since NaN is "not a number," there really isn't a "+" or "-" sign
associated with it."

Christian

__
Tracker <[EMAIL PROTECTED]>

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



[issue1677] Ctrl-C will exit out of Python interpreter in Windows

2008-01-03 Thread Joseph Armbruster

Changes by Joseph Armbruster:


--
components: +Windows

__
Tracker <[EMAIL PROTECTED]>

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



[issue1472] Small bat files to build docs on Windows

2008-01-03 Thread Joseph Armbruster

Changes by Joseph Armbruster:


--
components: +Windows

__
Tracker <[EMAIL PROTECTED]>

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



[issue1640] Enhancements for mathmodule

2008-01-03 Thread Mark Dickinson

Mark Dickinson added the comment:

Why not implement copysign?  It's a standard, familiar function with well-
documented meaning all over the web, and it can easily be used to create 
whatever sign test is necessary, letting the user decide what results 
(s)he wants for +/-0, +/-nan, etc.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1729] Allow float('infinity') as well as float('inf')

2008-01-03 Thread Guido van Rossum

Changes by Guido van Rossum:


--
resolution:  -> invalid
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

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



[issue1640] Enhancements for mathmodule

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

> Why not implement copysign?  It's a standard, familiar function with well-
> documented meaning all over the web, and it can easily be used to create
> whatever sign test is necessary, letting the user decide what results
> (s)he wants for +/-0, +/-nan, etc.

Good idea. Since you seem to like providing patches, can you create
one for math.copysign()?

__
Tracker <[EMAIL PROTECTED]>

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



[issue1640] Enhancements for mathmodule

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Guido van Rossum wrote:
> Good idea. Since you seem to like providing patches, can you create
> one for math.copysign()?

Don't forget it's copysign() on Unix but _copysign() on Windows.

#if defined(MS_WINDOWS) || defined(HAVE_COPYSIGN)
#ifdef MS_WINDOWS
FUNC2(copysign, _copysign,
#else
FUNC2(copysign, copysign,
#endif
"doc");
#endif

should work on all systems.

Christian

__
Tracker <[EMAIL PROTECTED]>

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



[issue1640] Enhancements for mathmodule

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

> Guido van Rossum wrote:
> > Good idea. Since you seem to like providing patches, can you create
> > one for math.copysign()?
>
> Don't forget it's copysign() on Unix but _copysign() on Windows.
>
> #if defined(MS_WINDOWS) || defined(HAVE_COPYSIGN)
> #ifdef MS_WINDOWS
> FUNC2(copysign, _copysign,
> #else
> FUNC2(copysign, copysign,
> #endif
> "doc");
> #endif
>
> should work on all systems.

Well, the Python API in the math module should always be called copysign(). :-)

And what to do if neither is present? Are there any systems without it?

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

Can't repro either.

I strongly suspect that this is because somehow linecache finds a
different version of the module on sys.path.

--
nosy: +gvanrossum

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread astronouth7303

astronouth7303 added the comment:

Indeed. For the distutils.cmd case, linecache.updatecache() takes
"cmd.py" and tracks that down to /usr/lib/python2.5/cmd.py. This would
also explain the sqlite3.tests.types problem.

The bug seems to be that the inspect module doesn't pass enough context
information to linecache to unambiguously locate the file.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1730] Documentation corrections for os module

2008-01-03 Thread Robin Stocker

New submission from Robin Stocker:

I saw a minor inconsistency in the documentation of the os module and
then somehow ended up proof-reading the whole file :). The result of
this is attached as a patch against trunk.

Summary of the changes:

- Use the imperative tense in method descriptions
- Some more links using semantic markup
- Added example for file.seek
- Consistently use "" instead of '' in text
- or-ed, OR'd replaced with ORed
- bit-wise replaced with bitwise

Diffstat for the patch::

 Doc/c-api/newtypes.rst|2 
 Doc/library/fcntl.rst |2 
 Doc/library/functions.rst |2 
 Doc/library/msvcrt.rst|2 
 Doc/library/os.rst|  155
+-
 Doc/library/stdtypes.rst  |9 +-
 Doc/library/winsound.rst  |2 
 Doc/reference/expressions.rst |   18 ++--
 Lib/test/test_doctest.py  |2 
 Modules/fcntlmodule.c |2 
 10 files changed, 101 insertions(+), 95 deletions(-)

I hope the changes are ok.

--
components: Documentation
files: os-module-corrections.patch
messages: 59160
nosy: robin.stocker
severity: normal
status: open
title: Documentation corrections for os module
Added file: http://bugs.python.org/file9051/os-module-corrections.patch

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

Can you trace this a bit further?  Can you suggest a specific
modification that would fix this issue?

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread Raghuram Devarakonda

Raghuram Devarakonda added the comment:

When I printed the file name that is being passed to
linecache.getlines() by findsource(), the file name is absolute path.
So there may be nothing wrong with linecache itself. Can you see what
is the name being passed in your case? We still need to trace what
specific setting on OP's system is causing the problem.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1301] Bad assertion in _tkinter.c

2008-01-03 Thread Stephen P. Schaefer

Stephen P. Schaefer added the comment:

I'm not sure of the scope of the "block" to which you're referring.  As
patched, the code returns a Tcl_Obj representing 0 length unicode
string, which appears to me to be the correct behavior, and works for
the applications I use (originally developed in python 2.3 and python
2.4).  I doubt that it's worth special-casing away the call for a 0
length outbuf, the skipped for loop, plus the call to free the 0 length
outbuf.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1301] Bad assertion in _tkinter.c

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

I suspect the assert is an overflow check. But since asserts are
compiled into no-ops unless we're using debug mode, I don't see the
point of using an assert.  Just to close the issue I'll replace it with
a proper overflow check.

--
assignee:  -> gvanrossum
priority:  -> high

__
Tracker <[EMAIL PROTECTED]>

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



[issue1301] Bad assertion in _tkinter.c

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

Before I make a fool out of myself, what do folks think of this patch?

Added file: http://bugs.python.org/file9052/tkinter.diff

__
Tracker <[EMAIL PROTECTED]>

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



[issue1640] Enhancements for mathmodule

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Guido van Rossum wrote:
> Well, the Python API in the math module should always be called copysign(). 
> :-)
> 
> And what to do if neither is present? Are there any systems without it?

takes care of it. It's a macro to define a function which accepts two
floats and returns a float: FUNC2(funcname, func, docstring).

On Windows _copysign is always defined and on other systems we can use
HAVE_COPYSIGN. I added it to configure.in a while ago.

Christian

__
Tracker <[EMAIL PROTECTED]>

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



[issue1640] Enhancements for mathmodule

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

OK, just check it in then, but do add docs!

On Jan 3, 2008 2:03 PM, Christian Heimes <[EMAIL PROTECTED]> wrote:
>
> Christian Heimes added the comment:
>
> Guido van Rossum wrote:
> > Well, the Python API in the math module should always be called copysign(). 
> > :-)
> >
> > And what to do if neither is present? Are there any systems without it?
>
> takes care of it. It's a macro to define a function which accepts two
> floats and returns a float: FUNC2(funcname, func, docstring).
>
> On Windows _copysign is always defined and on other systems we can use
> HAVE_COPYSIGN. I added it to configure.in a while ago.
>
> Christian
>
>
> __
> Tracker <[EMAIL PROTECTED]>
> 
> __
>

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread Jamie Bliss

Jamie Bliss added the comment:

depending on the use case, updatecache() will be passed
'distutils/cmd.py', but still turn that into '/usr/lib/python2.5/cmd.py'.

I have not messed with my stock Python modules. My sys.path is:
* /usr/lib/python2.5/site-packages/recaptcha_client-1.0.1-py2.5.egg
* /usr/lib/python25.zip
* /usr/lib/python2.5/lib-dynload
* /usr/lib/python2.5/site-packages/Numeric
* /usr/lib/python2.5/site-packages/PIL
* /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode
* /usr/lib/python2.5/site-packages
* /usr/lib/python2.5
* /usr/lib/python2.5/plat-linux2
* /usr/lib/python2.5/lib-tk
* /usr/local/lib/python2.5/site-packages
* /usr/lib/python2.5/site-packages/gst-0.10
* /var/lib/python-support/python2.5/pyinotify
* /var/lib/python-support/python2.5
* /usr/lib/python2.5/site-packages/gtk-2.0
* /var/lib/python-support/python2.5/gtk-2.0
* /usr/lib/site-python

I've also attached the script I used to discover the bug originally.
(Much larger than the snippets I've been pasting here.) Just be warned
that it writes a large number of files and produces considerable output.

Added file: http://bugs.python.org/file9053/regen

__
Tracker <[EMAIL PROTECTED]>

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



[issue1301] Bad assertion in _tkinter.c

2008-01-03 Thread Stephen P. Schaefer

Stephen P. Schaefer added the comment:

It looks good to me (to the extent that means anything).  I'm doing an
rpmbuild now with your patch applied to the Fedora 7 .src.rpm, and I'll
start using the result on my workstation ASAP.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1567] Patch for new API method _PyImport_ImportModuleNoLock(char *name)

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Guido van Rossum wrote:
> The only thing that really worries me here is the possibility of
> relative import.  I'm thinking that relative import is really never
> meant to be when called from C, so perhaps it would be sufficient to
> modify the call to __import__ at the end of PyImport_Import() to add a
> 5th parameter, zero, to always force absolute import.  A quick concept
> test shows that this doesn't break anything, though it is worth checking
> the docs.

Committed in r59678
I've changed PyImport_Import to always use absolute imports as
requested. The docs didn't promise relative imports. It's probably a
mistake to allow relative imports in the first place.

I've also updated the docs and NEWS.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1730] Documentation corrections for os module

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
assignee:  -> georg.brandl
keywords: +patch
nosy: +georg.brandl
priority:  -> low

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

The issue is probably related to http://bugs.python.org/issue1665

--
nosy: +tiran

__
Tracker <[EMAIL PROTECTED]>

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



[issue1727] VC6 build patch for python3000

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
keywords: +patch, py3k
priority:  -> low

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

Do you happen to be on Ubuntu?

Maybe this is the same as issue #1665 ?

__
Tracker <[EMAIL PROTECTED]>

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



[issue1591] popen2.Popen3 class (Unix) documentation misleading / confusing

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
priority:  -> low
versions: +Python 2.6 -Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, 
Python 2.2.2, Python 2.2.3, Python 2.3, Python 2.4

__
Tracker <[EMAIL PROTECTED]>

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



[issue761863] readline module that checks signals

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

In Python 2.6 the readline module does check for signals.

--
nosy: +tiran
resolution:  -> out of date
status: open -> closed


Tracker <[EMAIL PROTECTED]>


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



[issue906405] Build fails on XP w/mingw

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

The bug report is old and I haven't heard from problems with mingw
recently. Please open a new bug report if it still fails for 2.5 and newer.

--
nosy: +tiran
resolution:  -> out of date
status: open -> closed


Tracker <[EMAIL PROTECTED]>


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



[issue1731] Random errors on interpreter shutdown

2008-01-03 Thread Thomas Dybdahl Ahle

New submission from Thomas Dybdahl Ahle:

I have a pygtk program, that uses a fairly lot of threads in a pool. All
of these threads are setDaemon to ensure the application shuts down when
I call gtk.main_quit()

About every second time I close the app, I get one or more errors from
places in the program where a thread seams to have woken up, and now
find all attributes None.

This time I even got a message relating til the GIL:

...
for errortype in (IOError, LogOnError, socket.error, EOFError):
exceptions.AttributeError 'NoneType' object has no attribute 'error'
python: Python/pystate.c:497: PyGILState_Ensure: Assertion (assertion)
'autoInterpreterState' failed.
Afbrudt (SIGABRT)

the socket reference simply comes from "import socket" in the beginning
of the module.

As the errors only occur during application shutdown, it has no
practical effect, but it confuses users to post tons of bug reports.

--
components: Interpreter Core
messages: 59174
nosy: lobais
severity: normal
status: open
title: Random errors on interpreter shutdown
type: behavior
versions: Python 2.4

__
Tracker <[EMAIL PROTECTED]>

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



[issue681515] smtpd.py move setuid, allow dashes

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

The patch is outdated, about 5 years old and not in unified diff format.
Please create a new patch if you are still interested in the feature.

--
nosy: +tiran
resolution:  -> out of date
status: open -> closed


Tracker <[EMAIL PROTECTED]>


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



[issue1731] Random errors on interpreter shutdown

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

This has been fixed in 2.6, see revision 57216.
We won't be fixing this in 2.4, although a vendor might consider this.

Should we be fixing this in 2.5?

--
nosy: +gvanrossum

__
Tracker <[EMAIL PROTECTED]>

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



[issue891930] configure argument --libdir is ignored

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

The Python configure and make system could use a general overhaul but
simply replacing lib/ with lib64/ isn't the right way. The topic should
be discussed on python-dev and maybe PEPed, too.

--
nosy: +tiran
resolution:  -> invalid
status: open -> closed


Tracker <[EMAIL PROTECTED]>


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



[issue708007] TelnetPopen3, TelnetBase, Expect split

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Are you still interested in the matter? Please discuss the idea on the
python-dev mailing list and possible create a new patch for Python 2.6.

--
nosy: +tiran
resolution:  -> out of date
status: open -> pending


Tracker <[EMAIL PROTECTED]>


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



[issue1235] CGIHTTPRequestHandler.run_cgi() does not run on Windows if sys.executable contains blanks

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

The quoting issue on Windows can easily be fixed by using subprocess
instead of popen()

--
nosy: +tiran
priority:  -> low
versions: +Python 2.5, Python 2.6, Python 3.0 -Python 2.3

__
Tracker <[EMAIL PROTECTED]>

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



[issue1301] Bad assertion in _tkinter.c

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

Committed revision 59685.  (2.5.2 branch)
Committed revision 59686.  (2.6 trunk)

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

__
Tracker <[EMAIL PROTECTED]>

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



[issue1279] os.system() oddity under Windows XP SP2

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

It might happen when the program hasn't terminated yet. You have to make
sure the program has terminated before you read the file. Subprocess and
its wait() should help.

--
nosy: +tiran
resolution:  -> wont fix
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

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



[issue789290] Minor FP bug in object.c

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Tim, you are the expert in numbers. Is the patch still relevant for 2.5
and newer?

--
assignee:  -> tim_one
keywords: +patch
nosy: +tiran
versions: +Python 2.5 -Python 2.2


Tracker <[EMAIL PROTECTED]>


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



[issue896330] pyconfig.h is not placed in --includedir

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

I'm able to reproduce the bug with 2.6

--
nosy: +tiran
priority: normal -> low
severity: normal -> minor
versions: +Python 2.6, Python 3.0 -Python 2.2


Tracker <[EMAIL PROTECTED]>


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



[issue1243] option.dest not set when callback called with optparse

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
priority:  -> normal
versions:  -Python 2.3, Python 2.4

__
Tracker <[EMAIL PROTECTED]>

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



[issue1687] plistlib.py restricts to Python int when writing

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Fixed in trunk r59688

Should it be backported to 2.5?

--
nosy: +tiran
resolution:  -> fixed
status: open -> pending
versions: +Python 2.6, Python 3.0 -Python 2.3, Python 2.4

__
Tracker <[EMAIL PROTECTED]>

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



[issue815646] thread unsafe file objects cause crash

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
versions:  -Python 2.3


Tracker <[EMAIL PROTECTED]>


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



[issue1243] option.dest not set when callback called with optparse

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

Ping? I was hoping for a patch?

__
Tracker <[EMAIL PROTECTED]>

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



[issue775964] fix test_grp failing on RedHat 6.2

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
keywords: +patch
versions: +Python 2.5 -Python 2.3


Tracker <[EMAIL PROTECTED]>


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



[issue683658] PyErr_Warn may cause import deadlock

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Is this still an issue for 2.5? If Python 2.5 may still dead lock then
somebody should back port my PyImport_ImportModuleNoBlock() function.

--
nosy: +tiran
priority: normal -> high
versions: +Python 2.5 -Python 2.3


Tracker <[EMAIL PROTECTED]>


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



[issue731991] find correct socklen_t type

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Martin, should the patch be ported and applied in 2.5 and 2.6?

--
assignee:  -> loewis
nosy: +tiran
versions: +Python 2.5, Python 2.6 -Python 2.3


Tracker <[EMAIL PROTECTED]>


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



[issue770280] PyMarshal_ReadLastObjectFromFile

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Is the patch still interesting for Python 2.6?

--
nosy: +tiran
resolution:  -> remind
status: open -> pending
versions: +Python 2.6 -Python 2.3


Tracker <[EMAIL PROTECTED]>


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




[issue774751] slow socket binding & netinfo lookups

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Skip, I'm going over ancient bug reports. Has the problem been fixed?

--
assignee:  -> skip.montanaro
nosy: +tiran
versions: +Python 2.5, Python 2.6 -Python 2.3


Tracker <[EMAIL PROTECTED]>


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



[issue813453] restrictions in _tkinter built with threaded tk undocumented

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
components: +Tkinter
versions: +Python 2.5, Python 2.6 -Python 2.3


Tracker <[EMAIL PROTECTED]>


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



[issue860134] socketmodule.c does not pickup all symbols with MS visC++

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
resolution:  -> out of date
status: open -> closed


Tracker <[EMAIL PROTECTED]>


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



[issue683658] PyErr_Warn may cause import deadlock

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

No, backporting that to 2.5 isn't an option; it introduces a new feature
and breaks binary backwards compatibility by removing the
PyImport_ImportModuleEx entry point from the executable (turning it into
a macro).

--
assignee: gvanrossum -> 
keywords: +64bit
priority: high -> low
resolution: remind -> 


Tracker <[EMAIL PROTECTED]>


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



[issue683658] PyErr_Warn may cause import deadlock

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

Let's close this unless there's a response from one of the original
stakeholders within a week (i.e. by Jan 11 2008).

--
keywords: +patch -64bit


Tracker <[EMAIL PROTECTED]>


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



[issue1301] Bad assertion in _tkinter.c

2008-01-03 Thread Stephen P. Schaefer

Stephen P. Schaefer added the comment:

Mr. van Rossum's patch, applied to the Fedora 7 .src.rpm, is working for me.

__
Tracker <[EMAIL PROTECTED]>

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



[issue1481296] long(float('nan'))!=0L

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Fixed in r59689 trunk

Backport it to 2.5?

--
nosy: +tiran
resolution:  -> fixed
status: open -> pending
versions: +Python 2.5 -Python 2.3

_
Tracker <[EMAIL PROTECTED]>

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



[issue1731] Random errors on interpreter shutdown

2008-01-03 Thread Thomas Dybdahl Ahle

Thomas Dybdahl Ahle added the comment:

The fix looks nice.
I'll just implement it locally in my app for python < 2.4.

Thanks

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread Jamie Bliss

Jamie Bliss added the comment:

They might be the same bug, with different manifestations.

That bug is starting to get rather annoying.

(At first, I thought it wasn't. Surprise, surprise.)

__
Tracker <[EMAIL PROTECTED]>

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



[issue945861] dir(object) does not list __name__

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

__name__ comes from object's meta class type just as other attributes
like __bases__. It's a bit surprising at first.

--
nosy: +tiran
resolution:  -> wont fix
status: open -> closed


Tracker <[EMAIL PROTECTED]>


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



[issue774751] slow socket binding & netinfo lookups

2008-01-03 Thread Skip Montanaro

Skip Montanaro added the comment:

I have no idea, but you can close this as far as I'm concerned.

Skip


Tracker <[EMAIL PROTECTED]>


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



[issue798876] windows sys.path contains nonexistant directory

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
versions: +Python 2.6 -Python 2.3, Python 2.4


Tracker <[EMAIL PROTECTED]>


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



[issue1081879] Pydoc can't find browser (bug+solution!)

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
priority: normal -> low
versions: +Python 2.5, Python 2.6 -Python 2.3

_
Tracker <[EMAIL PROTECTED]>

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



[issue614555] Rewrite _reduce and _reconstructor in C

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
versions: +Python 2.5, Python 2.6 -Python 2.3


Tracker <[EMAIL PROTECTED]>


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



[issue1234] semaphore errors on AIX 5.2

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
versions:  -Python 2.3, Python 2.4

__
Tracker <[EMAIL PROTECTED]>

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



[issue774751] slow socket binding & netinfo lookups

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Closed as requested. 

Side note: I don't recall having the bug during my Zope and Plone
development time on Mac OS X 10.3 (PPC).

--
resolution: postponed -> out of date
status: open -> closed


Tracker <[EMAIL PROTECTED]>


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



[issue779218] 2.3c2 test_pwd fails on Mac OS X 10.2.6

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
resolution:  -> duplicate
status: open -> closed
superseder:  -> fix test_grp failing on RedHat 6.2


Tracker <[EMAIL PROTECTED]>


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



[issue828743] bdist_rpm failure when no setup.py

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
priority: normal -> low
type:  -> rfe
versions: +Python 2.5, Python 2.6 -Python 2.3


Tracker <[EMAIL PROTECTED]>


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



[issue1234] semaphore errors on AIX 5.2

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

OK, accepted for 2.5 and 2.6.

Can someone with a stake and submit access (e.g. lemburg) check it in?

--
assignee:  -> lemburg
resolution:  -> accepted

__
Tracker <[EMAIL PROTECTED]>

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



[issue1728] distutils.cmd breaks inspect

2008-01-03 Thread Guido van Rossum

Changes by Guido van Rossum:


--
resolution:  -> duplicate
status: open -> closed
superseder:  -> re.match.func_code.co_filename returns "re.py"

__
Tracker <[EMAIL PROTECTED]>

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



[issue614555] Rewrite _reduce and _reconstructor in C

2008-01-03 Thread Guido van Rossum

Guido van Rossum added the comment:

I just don't see this happening. Possibly it's out of date. Lots of
things have changed in the pickle world since 2002.

--
resolution:  -> wont fix
status: open -> closed


Tracker <[EMAIL PROTECTED]>


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



[issue1028697] Problem linking on windows using mingw32 and C++

2008-01-03 Thread Christian Heimes

Changes by Christian Heimes:


--
resolution:  -> duplicate
status: open -> closed

_
Tracker <[EMAIL PROTECTED]>

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



[issue730473] Add Py_AtInit() startup hook for extenders

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Where is the new patch? :)

--
nosy: +tiran
type:  -> rfe
versions: +Python 2.6 -Python 2.3


Tracker <[EMAIL PROTECTED]>


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



[issue837577] cryptic os.spawnvpe() return code

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Neal?

--
nosy: +tiran
priority: normal -> low
severity: normal -> minor
title: cryptic os.spawnvpe() return code  -> cryptic os.spawnvpe() return code
type:  -> rfe
versions: +Python 2.6 -Python 2.3


Tracker <[EMAIL PROTECTED]>


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



[issue1054943] Python may contain NFC/NFKC bug per Unicode PRI #29

2008-01-03 Thread Christian Heimes

Christian Heimes added the comment:

Python 2.6 and probably also 2.5 contains still the line if (comb1 &&
comb == comb1) {...}

--
nosy: +tiran
versions: +Python 2.5, Python 2.6 -Python 2.3

_
Tracker <[EMAIL PROTECTED]>

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



  1   2   >