[issue1274] doctest fails to run file based tests with 8bit paths

2008-03-17 Thread Ilan Schnell

Ilan Schnell <[EMAIL PROTECTED]> added the comment:

Bug is most likely platform specific.  Can someone suggest how this
should be handled on multiple platforms?

Mike, can you report on which platform you encountered the bug on?
Can you provide a script that reproduces the bug?

On Mac OS 10.4, Python 2.5 I could not create a file:
>>> f=open('\xed', 'w')
Traceback (most recent call last):
  File "", line 1, in 
IOError: invalid mode: w

I will submit this as a separate bug because the error
message sould say 'invalid file name' instead of 'invalid mode'.

--
assignee:  -> tim_one
nosy: +ilan, tim_one
priority:  -> low
versions: +Python 2.6

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1274>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1686] string.Template.safe_substitute fail when overriding pattern attribute

2008-03-17 Thread Ilan Schnell

Changes by Ilan Schnell <[EMAIL PROTECTED]>:


--
assignee:  -> barry
nosy: +barry
priority:  -> normal
type:  -> behavior

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1686>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2138] Add a factorial function

2008-03-17 Thread Ilan Schnell

Ilan Schnell <[EMAIL PROTECTED]> added the comment:

The factorial function is most likely to be used in context with other
combinatorial functions (like binomial coefficients) for these functions
an external module seems most appropriate.  Most likely people would
use a factorial function only for some small toy calculation, for those
cases one can always roll a factorial function oneself.  Python should
therefore not be cluttered with this function.  I discussed this with
several developers at PyCon08, and have therefore decided to close the
discussion for now.

--
components: +Library (Lib) -Interpreter Core
nosy: +ilan
priority:  -> normal
resolution:  -> rejected
status: open -> closed
title: Factorial -> Add a factorial function

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2138>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com