[ python-Bugs-1543467 ] test_tempfile fails on cygwin

2006-08-20 Thread SourceForge.net
Bugs item #1543467, was opened at 2006-08-20 16:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543467&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Miki Tebeka (tebeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_tempfile fails on cygwin

Initial Comment:
This is RC1:
[16:07] ~/src/Python-2.5c1 $./python.exe -c 'from
test.test_tempfile import test_main; test_main()'
test_exports (test.test_tempfile.test_exports) ... ok
test_get_six_char_str
(test.test_tempfile.test__RandomNameSequence) ... ok
test_many (test.test_tempfile.test__RandomNameSequence)
... ok
test_supports_iter
(test.test_tempfile.test__RandomNameSequence) ... ok
test_nonempty_list
(test.test_tempfile.test__candidate_tempdir_list) ... ok
test_wanted_dirs
(test.test_tempfile.test__candidate_tempdir_list) ... ok
test_retval
(test.test_tempfile.test__get_candidate_names) ... ok
test_same_thing
(test.test_tempfile.test__get_candidate_names) ... ok
test_basic (test.test_tempfile.test__mkstemp_inner) ... ok
test_basic_many
(test.test_tempfile.test__mkstemp_inner) ... ok
test_choose_directory
(test.test_tempfile.test__mkstemp_inner) ... ok
test_file_mode (test.test_tempfile.test__mkstemp_inner)
... ok
test_noinherit (test.test_tempfile.test__mkstemp_inner)
... FAIL
test_textmode (test.test_tempfile.test__mkstemp_inner)
... ok
test_sane_template
(test.test_tempfile.test_gettempprefix) ... ok
test_usable_template
(test.test_tempfile.test_gettempprefix) ... ok
test_directory_exists
(test.test_tempfile.test_gettempdir) ... ok
test_directory_writable
(test.test_tempfile.test_gettempdir) ... ok
test_same_thing (test.test_tempfile.test_gettempdir) ... ok
test_basic (test.test_tempfile.test_mkstemp) ... ok
test_choose_directory (test.test_tempfile.test_mkstemp)
... ok
test_basic (test.test_tempfile.test_mkdtemp) ... ok
test_basic_many (test.test_tempfile.test_mkdtemp) ... ok
test_choose_directory (test.test_tempfile.test_mkdtemp)
... ok
test_mode (test.test_tempfile.test_mkdtemp) ... ok
test_basic (test.test_tempfile.test_mktemp) ... ok
test_many (test.test_tempfile.test_mktemp) ... ok
test_basic (test.test_tempfile.test_NamedTemporaryFile)
... ok
test_creates_named
(test.test_tempfile.test_NamedTemporaryFile) ... ok
test_del_on_close
(test.test_tempfile.test_NamedTemporaryFile) ... ok
test_multiple_close
(test.test_tempfile.test_NamedTemporaryFile) ... ok

==
FAIL: test_noinherit
(test.test_tempfile.test__mkstemp_inner)
--
Traceback (most recent call last):
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_tempfile.py",
line 310, in test_noinherit
self.failIf(retval > 0, "child process reports
failure %d"%retval)
AssertionError: child process reports failure 127

--
Ran 31 tests in 1.077s

FAILED (failures=1)
Traceback (most recent call last):
  File "", line 1, in 
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_tempfile.py",
line 665, in test_main
test_support.run_unittest(*test_classes)
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_support.py",
line 441, in run_unittest
run_suite(suite, testclass)
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_support.py",
line 426, in run_suite
raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent
call last):
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_tempfile.py",
line 310, in test_noinherit
self.failIf(retval > 0, "child process reports
failure %d"%retval)
AssertionError: child process reports failure 127

[16:12] ~/src/Python-2.5c1 $


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543467&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1543469 ] test_subprocess fails on cygwin

2006-08-20 Thread SourceForge.net
Bugs item #1543469, was opened at 2006-08-20 16:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543469&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Miki Tebeka (tebeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_subprocess fails on cygwin

Initial Comment:
This is RC1.

test_subprocess fails. IMO due to the fact that there
is a directory called "Python" in the python source
directory.

The fix should be that sys.executable will return the
name with the '.exe' suffix on cygwin.

Attached log of running the test.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543469&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1543303 ] tarfile in mode w|gz adds padding that annoys gunzip

2006-08-20 Thread SourceForge.net
Bugs item #1543303, was opened at 2006-08-20 01:48
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543303&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
Status: Open
Resolution: None
>Priority: 8
Submitted By: alexis (asak)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: tarfile in mode w|gz adds padding that annoys gunzip

Initial Comment:
In mode w|gz tarfile pads the final block with NULs,
until its size reaches the bufsize value passed to
tarfile.open.  This makes gunzip complain about
"invalid compressed data" because of CRC and length errors.

To reproduce it, put this fragment in a file archive.py


import sys
import tarfile

tar = tarfile.open(mode='w|gz', fileobj=sys.stdout)
tar.close()


and then:
$ python2.5 archive.py | gunzip -c

gunzip: stdin: invalid compressed data--crc error

gunzip: stdin: invalid compressed data--length error

Everything works fine with python 2.3.5 and 2.4.1 on
Debian sarge.

The padding is added by the following lines in
_Stream.close:

blocks, remainder = divmod(len(self.buf), self.bufsize)
if remainder > 0:
self.buf += NUL * (self.bufsize - remainder)

They were added in revision 38581, but I'm not sure why
- at first sight, "Add tarfile open mode r|*" shouldn't
have to change this write path.

Removing them makes gunzip happy again, but I have no
idea if it breaks something else (test_tarfile doesn't
complain).

A similar problem happens if you use mode w|bz2 and
feed the output to bunzip - it complains about
"trailing garbage after EOF ignored".

Problems found while running the test suite from the
Mercurial SCM.

--

>Comment By: Georg Brandl (gbrandl)
Date: 2006-08-20 14:17

Message:
Logged In: YES 
user_id=849994

This should be resolved before 2.5 final.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543303&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1543306 ] "from __future__ import foobar; " causes wrong SyntaxError

2006-08-20 Thread SourceForge.net
Bugs item #1543306, was opened at 2006-08-20 02:16
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543306&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parser/Compiler
Group: Python 2.4
Status: Open
Resolution: None
>Priority: 3
Submitted By: daniel hahler (blueyed)
Assigned to: Nobody/Anonymous (nobody)
Summary: "from __future__ import foobar;" causes wrong SyntaxError

Initial Comment:
Instead of "SyntaxError: future feature foobar is not 
defined", you will get "SyntaxError: from __future__ 
imports must occur at the beginning of the file", if 
you use a semicolon at the end of the line (which is 
valid for existing future-imports of course).

Python 2.4.3 (#2, Apr 27 2006, 14:43:58)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for 
more information.
>>> from __future__ import foobar;
  File "", line 1
SyntaxError: from __future__ imports must occur at 
the beginning of the file
>>> from __future__ import generators;
>>>


--

>Comment By: Georg Brandl (gbrandl)
Date: 2006-08-20 14:33

Message:
Logged In: YES 
user_id=849994

The 2.5+ AST compiler gives the correct error message.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543306&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1543347 ] Operator precedence inconsistent for complex literal

2006-08-20 Thread SourceForge.net
Bugs item #1543347, was opened at 2006-08-20 05:59
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543347&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.3
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: [N/A] (ymasuda)
Assigned to: Nobody/Anonymous (nobody)
Summary: Operator precedence inconsistent for complex literal

Initial Comment:
Using complex, real and imag attributes are computed collectly as
follows:

>>> 1+2j
(1+2j)
>>> z = 1+2j
>>> z.real
1.0
>>> z.imag
2.0
>>> (1+2j).real
1.0  
>>> (1+2j).imag
2.0

But, if there's no explicit literal boundary, it seems to break
consistensy in operator precedence:

>>> 1+2j.real# addition succeeds j-suffux
1.0
>>> 1+2j.imag  # addition precedes (j-suffix and) attribute 
reference 
3.0
>>> 0+1+2j.real   # same as above
1.0
>>> 0+1+2j.imag
3.0
>>> 1+0+2j.imag
3.0
>>> 1+0+2j.real
1.0
>>> 1+(2j).imag# brace puts no bless
3.0
>>> 1*1+2j.imag  # star fails to steer
3.0

This happens at least on Python 2.3.5 (OSX bundled), Python 2.4.2 
(build from ports, FreeBSD 5.4).

# Practically, of course, you always explicit (1+2j) to construct complex
thus hardly troubled with this :) but it would be happy for beginners to 
mention it on standard tutorial or something.

--

>Comment By: Georg Brandl (gbrandl)
Date: 2006-08-20 14:37

Message:
Logged In: YES 
user_id=849994

I can't see anything inconsistent here. Attribute access
always happens before "+" or "*" are applied.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543347&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1543347 ] Operator precedence inconsistent for complex literal

2006-08-20 Thread SourceForge.net
Bugs item #1543347, was opened at 2006-08-20 01:59
Message generated for change (Comment added) made by tim_one
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543347&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.3
Status: Closed
Resolution: Works For Me
Priority: 5
Submitted By: [N/A] (ymasuda)
Assigned to: Nobody/Anonymous (nobody)
Summary: Operator precedence inconsistent for complex literal

Initial Comment:
Using complex, real and imag attributes are computed collectly as
follows:

>>> 1+2j
(1+2j)
>>> z = 1+2j
>>> z.real
1.0
>>> z.imag
2.0
>>> (1+2j).real
1.0  
>>> (1+2j).imag
2.0

But, if there's no explicit literal boundary, it seems to break
consistensy in operator precedence:

>>> 1+2j.real# addition succeeds j-suffux
1.0
>>> 1+2j.imag  # addition precedes (j-suffix and) attribute 
reference 
3.0
>>> 0+1+2j.real   # same as above
1.0
>>> 0+1+2j.imag
3.0
>>> 1+0+2j.imag
3.0
>>> 1+0+2j.real
1.0
>>> 1+(2j).imag# brace puts no bless
3.0
>>> 1*1+2j.imag  # star fails to steer
3.0

This happens at least on Python 2.3.5 (OSX bundled), Python 2.4.2 
(build from ports, FreeBSD 5.4).

# Practically, of course, you always explicit (1+2j) to construct complex
thus hardly troubled with this :) but it would be happy for beginners to 
mention it on standard tutorial or something.

--

>Comment By: Tim Peters (tim_one)
Date: 2006-08-20 12:52

Message:
Logged In: YES 
user_id=31435

Note that Python doesn't have complex literals, only
imaginary literals:  1+2j is the integer 1 added to the
imaginary literal 2j.  IOW, it's the same as (1)+(2j) = 1 +
complex(0, 2).  Everything follows from that; e.g.,
0+1+2j.imag is parsed as (0+1)+(2j.imag) = 1 + 2.0 = 3.0.

--

Comment By: Georg Brandl (gbrandl)
Date: 2006-08-20 10:37

Message:
Logged In: YES 
user_id=849994

I can't see anything inconsistent here. Attribute access
always happens before "+" or "*" are applied.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543347&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1543467 ] test_tempfile fails on cygwin

2006-08-20 Thread SourceForge.net
Bugs item #1543467, was opened at 2006-08-20 06:18
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543467&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Miki Tebeka (tebeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_tempfile fails on cygwin

Initial Comment:
This is RC1:
[16:07] ~/src/Python-2.5c1 $./python.exe -c 'from
test.test_tempfile import test_main; test_main()'
test_exports (test.test_tempfile.test_exports) ... ok
test_get_six_char_str
(test.test_tempfile.test__RandomNameSequence) ... ok
test_many (test.test_tempfile.test__RandomNameSequence)
... ok
test_supports_iter
(test.test_tempfile.test__RandomNameSequence) ... ok
test_nonempty_list
(test.test_tempfile.test__candidate_tempdir_list) ... ok
test_wanted_dirs
(test.test_tempfile.test__candidate_tempdir_list) ... ok
test_retval
(test.test_tempfile.test__get_candidate_names) ... ok
test_same_thing
(test.test_tempfile.test__get_candidate_names) ... ok
test_basic (test.test_tempfile.test__mkstemp_inner) ... ok
test_basic_many
(test.test_tempfile.test__mkstemp_inner) ... ok
test_choose_directory
(test.test_tempfile.test__mkstemp_inner) ... ok
test_file_mode (test.test_tempfile.test__mkstemp_inner)
... ok
test_noinherit (test.test_tempfile.test__mkstemp_inner)
... FAIL
test_textmode (test.test_tempfile.test__mkstemp_inner)
... ok
test_sane_template
(test.test_tempfile.test_gettempprefix) ... ok
test_usable_template
(test.test_tempfile.test_gettempprefix) ... ok
test_directory_exists
(test.test_tempfile.test_gettempdir) ... ok
test_directory_writable
(test.test_tempfile.test_gettempdir) ... ok
test_same_thing (test.test_tempfile.test_gettempdir) ... ok
test_basic (test.test_tempfile.test_mkstemp) ... ok
test_choose_directory (test.test_tempfile.test_mkstemp)
... ok
test_basic (test.test_tempfile.test_mkdtemp) ... ok
test_basic_many (test.test_tempfile.test_mkdtemp) ... ok
test_choose_directory (test.test_tempfile.test_mkdtemp)
... ok
test_mode (test.test_tempfile.test_mkdtemp) ... ok
test_basic (test.test_tempfile.test_mktemp) ... ok
test_many (test.test_tempfile.test_mktemp) ... ok
test_basic (test.test_tempfile.test_NamedTemporaryFile)
... ok
test_creates_named
(test.test_tempfile.test_NamedTemporaryFile) ... ok
test_del_on_close
(test.test_tempfile.test_NamedTemporaryFile) ... ok
test_multiple_close
(test.test_tempfile.test_NamedTemporaryFile) ... ok

==
FAIL: test_noinherit
(test.test_tempfile.test__mkstemp_inner)
--
Traceback (most recent call last):
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_tempfile.py",
line 310, in test_noinherit
self.failIf(retval > 0, "child process reports
failure %d"%retval)
AssertionError: child process reports failure 127

--
Ran 31 tests in 1.077s

FAILED (failures=1)
Traceback (most recent call last):
  File "", line 1, in 
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_tempfile.py",
line 665, in test_main
test_support.run_unittest(*test_classes)
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_support.py",
line 441, in run_unittest
run_suite(suite, testclass)
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_support.py",
line 426, in run_suite
raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent
call last):
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_tempfile.py",
line 310, in test_noinherit
self.failIf(retval > 0, "child process reports
failure %d"%retval)
AssertionError: child process reports failure 127

[16:12] ~/src/Python-2.5c1 $


--

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-08-20 19:13

Message:
Logged In: YES 
user_id=33168

What version of cygwin?  I've been testing with 1.5.19 and
greater and not had this problem.  However, I've only run
with regrtest.  Do you have this problem only if running
directly?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543467&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1543469 ] test_subprocess fails on cygwin

2006-08-20 Thread SourceForge.net
Bugs item #1543469, was opened at 2006-08-20 06:22
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543469&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Miki Tebeka (tebeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_subprocess fails on cygwin

Initial Comment:
This is RC1.

test_subprocess fails. IMO due to the fact that there
is a directory called "Python" in the python source
directory.

The fix should be that sys.executable will return the
name with the '.exe' suffix on cygwin.

Attached log of running the test.

--

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-08-20 19:15

Message:
Logged In: YES 
user_id=33168

Cygwin recently changed their behaviour.  I have an
outstanding hack to fix this.  Patches would help get things
fixed up.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543469&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1543467 ] test_tempfile fails on cygwin

2006-08-20 Thread SourceForge.net
Bugs item #1543467, was opened at 2006-08-20 16:18
Message generated for change (Comment added) made by tebeka
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543467&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Miki Tebeka (tebeka)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_tempfile fails on cygwin

Initial Comment:
This is RC1:
[16:07] ~/src/Python-2.5c1 $./python.exe -c 'from
test.test_tempfile import test_main; test_main()'
test_exports (test.test_tempfile.test_exports) ... ok
test_get_six_char_str
(test.test_tempfile.test__RandomNameSequence) ... ok
test_many (test.test_tempfile.test__RandomNameSequence)
... ok
test_supports_iter
(test.test_tempfile.test__RandomNameSequence) ... ok
test_nonempty_list
(test.test_tempfile.test__candidate_tempdir_list) ... ok
test_wanted_dirs
(test.test_tempfile.test__candidate_tempdir_list) ... ok
test_retval
(test.test_tempfile.test__get_candidate_names) ... ok
test_same_thing
(test.test_tempfile.test__get_candidate_names) ... ok
test_basic (test.test_tempfile.test__mkstemp_inner) ... ok
test_basic_many
(test.test_tempfile.test__mkstemp_inner) ... ok
test_choose_directory
(test.test_tempfile.test__mkstemp_inner) ... ok
test_file_mode (test.test_tempfile.test__mkstemp_inner)
... ok
test_noinherit (test.test_tempfile.test__mkstemp_inner)
... FAIL
test_textmode (test.test_tempfile.test__mkstemp_inner)
... ok
test_sane_template
(test.test_tempfile.test_gettempprefix) ... ok
test_usable_template
(test.test_tempfile.test_gettempprefix) ... ok
test_directory_exists
(test.test_tempfile.test_gettempdir) ... ok
test_directory_writable
(test.test_tempfile.test_gettempdir) ... ok
test_same_thing (test.test_tempfile.test_gettempdir) ... ok
test_basic (test.test_tempfile.test_mkstemp) ... ok
test_choose_directory (test.test_tempfile.test_mkstemp)
... ok
test_basic (test.test_tempfile.test_mkdtemp) ... ok
test_basic_many (test.test_tempfile.test_mkdtemp) ... ok
test_choose_directory (test.test_tempfile.test_mkdtemp)
... ok
test_mode (test.test_tempfile.test_mkdtemp) ... ok
test_basic (test.test_tempfile.test_mktemp) ... ok
test_many (test.test_tempfile.test_mktemp) ... ok
test_basic (test.test_tempfile.test_NamedTemporaryFile)
... ok
test_creates_named
(test.test_tempfile.test_NamedTemporaryFile) ... ok
test_del_on_close
(test.test_tempfile.test_NamedTemporaryFile) ... ok
test_multiple_close
(test.test_tempfile.test_NamedTemporaryFile) ... ok

==
FAIL: test_noinherit
(test.test_tempfile.test__mkstemp_inner)
--
Traceback (most recent call last):
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_tempfile.py",
line 310, in test_noinherit
self.failIf(retval > 0, "child process reports
failure %d"%retval)
AssertionError: child process reports failure 127

--
Ran 31 tests in 1.077s

FAILED (failures=1)
Traceback (most recent call last):
  File "", line 1, in 
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_tempfile.py",
line 665, in test_main
test_support.run_unittest(*test_classes)
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_support.py",
line 441, in run_unittest
run_suite(suite, testclass)
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_support.py",
line 426, in run_suite
raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent
call last):
  File
"/home/mtebeka/src/Python-2.5c1/Lib/test/test_tempfile.py",
line 310, in test_noinherit
self.failIf(retval > 0, "child process reports
failure %d"%retval)
AssertionError: child process reports failure 127

[16:12] ~/src/Python-2.5c1 $


--

>Comment By: Miki Tebeka (tebeka)
Date: 2006-08-21 08:55

Message:
Logged In: YES 
user_id=358087

Cygwin version is 1.5.21 (see attached output of cygcheck -s
-v -r).
What do you mean by "running directly"? I ran the test with
the following command line (and it failed):
./python.exe -c 'from test.test_tempfile import test_main;
test_main()'


--

Comment By: Neal Norwitz (nnorwitz)
Date: 2006-08-21 05:13

Message:
Logged In: YES 
user_id=33168

What version of cygwin?  I've been testing with 1.5.19 and
greater and not had this problem.  However, I've only run
with regrtest.  Do you have this problem only if running
directly?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1543467&group_id=5470
__