[issue6508] expose setresuid

2009-11-09 Thread Gregory P. Smith

Gregory P. Smith  added the comment:

Attaching an updated patch that includes unittests.

I also changed the set functions to take input as long's instead of int's 
as that is more likely to fit within a uid_t and forced the return values 
on the get's to fit within a long and used Py_BuildValue() to handle 
memory errors and such that could happen while allocating the ints and 
tuple rather than PyTuple_Pack.

Remaining work: os module documentation.

--
Added file: http://bugs.python.org/file15297/issue6508-gps01.diff

___
Python tracker 

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



[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

2009-11-09 Thread Martin v . Löwis

Martin v. Löwis  added the comment:

As you now have access to freshly-installed systems: can you propose
such a key?

--
nosy: +loewis

___
Python tracker 

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



[issue7293] test_msvc9compiler test_reg_class failure on new Windows box

2009-11-09 Thread David Bolen

David Bolen  added the comment:

Well, I can at least start by comparing XP and Win7 immediately
post-installation.  Any suggestions on guidelines to what can be chosen?
 Does it have to be a DWORD, or a 0/1 value, or under HKCU for a
specific reason?

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

There are some related comments in issue #7281.

--

___
Python tracker 

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



[issue7281] copysign() with NaN arguments on OpenSolaris

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

Yes, I don't think Python 2.6 had a deliberate workaround.  I suspect
that it's just that one version of Python happened to use something like
0.0/0.0 to generate NaN, while another used some equivalent of
strtod("nan", ...).

I also remember noticing at some point that even on a single machine/OS,
the sign bit of 0.0/0.0 depends on which version of gcc and which
optimization flags are present.

So I think we're in agreement that there's no need to change anything
here;  I'll close this issue.

But:  I really *would* like to get the short float repr working with
suncc!  Issue #5792 is already open for this, so discussion should move
there.  (This is about much more than consistent nan signs: 
implementing short float repr gives a whole bunch of benefits: correctly
rounded float <-> string conversions (including all float formatting
operations), a correctly rounded 'round' function, a prettier float
repr, ...).

--
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



[issue7281] copysign() with NaN arguments on OpenSolaris

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

Just to confirm the above:

In 2.6, PyFloat_FromString in Objects/floatobject.c ends up using the
system strtod to parse "nan" and "-nan" (except that if the system
strtod fails to recognise "nan" for some reason then it returns the
result of 0.0 * Infinity instead, and in that case disregards the sign).
 In 2.7 and 3.x, it ends up calling _Py_parse_inf_or_nan in
Python/pystrtod.c, and this returns 0.0 * Infinity for "nan" and -(0.0 *
Infinity) for "-nan".  And depending on compiler flags, 0.0 * Infinity
ends up being either +nan (this usually seems to happen when
optimization is on, so that the compiler itself evaluates 0.0 *
Infinity), or -nan (which happens when there's no optimization and the
FPU ends up doing the 0.0 * Infinity multiplication at runtime.) This
should explain the results you're seeing.

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Stefan Krah

Stefan Krah  added the comment:

I can confirm that short float repr() is active and all float tests are
passed on this combination:

Ubuntu64bit -> KVM -> OpenSolaris32bit/Python3.2/gcc

--
nosy: +skrah

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

Stefan Krah mentions in the issue 7281 discussion that suncc supports
the C99 fenv functions.  I'm not sure how to use these to set the x87
precision, though.  (Setting the rounding mode is straightforward.)

--

___
Python tracker 

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



[issue7276] UnboundLocalError scoping problem with nested functions

2009-11-09 Thread Ole Laursen

Ole Laursen  added the comment:

OK, sorry, I was under the impression that the global binding was still 
available (I can't find anything to the contrary here 
http://docs.python.org/reference/simple_stmts.html#assignment-statements 
) but it's obviously using a static definition of scope.

The error message isn't super helpful, though. :) Would it make sense to 
add a "(non-local "tmp" is shadowed)"? I guess that's easy to detect?

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

I see two alternatives:

(1) Use fesetenv.  I don't know what the appropriate value to pass would
be though, or even whether solaris lets you use fesetenv to control the
x87 precision.  It seems that its primary purpose is to set flags and traps.

(2) Use inline assembly, assuming that suncc supports this.  This seems
simpler.  It's just a matter of figuring out the syntax that suncc
expects for asm, and making sure the code is properly tested.

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

Looking at:

http://docs.sun.com/app/docs/doc/816-5172/fesetenv-3m

it seems that fesetenv isn't what we want here.  It 'only installs the
state of the floating-point status flags represented through its argument'.

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

Stefan, is it possible that suncc already accepts the assembler syntax
used in Python/pymath.h (py3k or trunk) for the functions
_Py_get_387controlword and _Py_set_387controlword?

--

___
Python tracker 

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



[issue7282] RLocks leak references when used in raw threads

2009-11-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

An updated patch with test.

--
Added file: http://bugs.python.org/file15298/rlock_leak2.patch

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Changes by Mark Dickinson :


--
assignee:  -> mark.dickinson

___
Python tracker 

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



[issue7242] Forking in a thread raises RuntimeError

2009-11-09 Thread Zsolt Cserna

Zsolt Cserna  added the comment:

Additional info:
I've tested it on solaris 10 / sparc 32-bit, and my test script runs
fine on that.
Based on my test it seems that this bug does not affect solaris 10.

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Stefan Krah

Stefan Krah  added the comment:

The inline asm compiles, but I don't know how good the GNU inline asm
support is with suncc in general. I'm not a heavy user of suncc, I just
use it for testing.

That said, perhaps fesetprec works, too:

http://docs.sun.com/app/docs/doc/816-5172/fesetprec-3m

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

Excellent!  From a bit of searching, it looks as though this assembler
syntax works on icc as well, which is very good news.

Thanks for finding fesetprec as well.  It's a shame this isn't standard
C.  Oh well;  maybe for C201X.  I think I'd prefer to stick with the
inline assembly, since it seems that there's very little to do to make
this just work.

Next problem:  when compiling with suncc, how do I detect (in the
configure script)

(1) that I'm using suncc, and
(2) whether the hardware is x86 or not (preferably excluding the case of
x86-64).

For gcc, configure.in is using:

if test -n "`$CC -dM -E - 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

fesetprec and fegetprec are at least semi-standard, it seems.  They're
recommended in the C99 rationale (see page 121 of

http://www.open-std.org/jtc1/sc22/wg14/www/C99RationaleV5.10.pdf

).

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Stefan Krah

Stefan Krah  added the comment:

If gcc and suncc are present, ./configure chooses gcc and everything is
fine.

If only suncc is present, it's detected as cc. These tests should be
possible:

ste...@opensolaris:~/svn/py3k$ cc -V
cc: Sun C 5.9 SunOS_i386 Patch 124868-07 2008/10/07
usage: cc [ options] files.  Use 'cc -flags' for details
ste...@opensolaris:~/svn/py3k$ if cc -V 2>&1 | grep -q 'SunOS_i386';
then echo yes; fi
yes
ste...@opensolaris:~/svn/py3k$ uname -a
SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc Solaris
ste...@opensolaris:~/svn/py3k$ if uname -a | grep -q i386; then echo yes; fi
yes

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

Thanks.  uname looks like the way to go, then.

Is your copy of OpenSolaris running in 32-bit mode or 64-bit mode?  Does
the mode make a difference to the output of uname, or is uname -p always
i386, regardless of the mode?

I think the configure test for the inline assembly should go ahead on
both x86 and x86-64:  it seems likely that a 64-bit OS would be using
SSE2 instructions for floating-point (which would make setting and
getting the x87 control word unnecessary) instead of the x87 FPU, but I
don't know that for sure.

Actually, I guess I could just make that configure test unconditional.
It'll fail on non-x86 hardware, but that's no big deal.

--

___
Python tracker 

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



[issue7294] MSDN URL in subprocess.py is incorrect

2009-11-09 Thread Eric Smith

New submission from Eric Smith :

subprocess.py includes this comment, in list2cmdline():

# See
# http://msdn.microsoft.com/library/en-us/vccelng/htm/progs_12.asp

MSDN gets reorganized with surprising regularity, and this URL is no
longer valid. I think the current URL is:
http://msdn.microsoft.com/en-us/library/17w5ykft.aspx
The best way to find this is to go to:
http://msdn.microsoft.com
and search on "Parsing C++ Command-Line Arguments".

--
components: Library (Lib)
keywords: easy
messages: 95081
nosy: eric.smith
severity: normal
status: open
title: MSDN URL in subprocess.py is incorrect
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



[issue7294] MSDN URL in subprocess.py is incorrect

2009-11-09 Thread Eric Smith

Changes by Eric Smith :


--
versions: +Python 3.2

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

Stefan, please could you test the attached patch (against py3k) with
suncc?  With this patch, sys.float_repr_style should report 'short', and
'make test' should not produce any obviously float-related failures.

--
keywords: +patch
Added file: http://bugs.python.org/file15299/sun_short_float_repr.patch

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Stefan Krah

Stefan Krah  added the comment:

My copy is 32-bit. I never installed a 64-bit version, but I strongly
assume that uname -p gives x86_64. BTW, uname -p works on Solaris, but
returns 'unknown' on my 64 bit Linux.

--

___
Python tracker 

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



[issue7294] MSDN URL in subprocess.py is incorrect

2009-11-09 Thread Eric Smith

Changes by Eric Smith :


--
assignee:  -> eric.smith
versions: +Python 2.6, Python 3.1

___
Python tracker 

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



[issue7294] MSDN URL in subprocess.py is incorrect

2009-11-09 Thread Eric Smith

Eric Smith  added the comment:

Fixed in:

trunk: r76168
release26-maint: r76169
py3k: r76170
release31-maint: r76171

--
priority:  -> low
resolution:  -> fixed
stage:  -> 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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Stefan Krah

Stefan Krah  added the comment:

Tested the patch against an updated 3.2. repr-style is 'short', and I
did not see obvious float errors. In particular, test_float.py is
passed. I also did not see new compile warnings.

As for the other tests, the errors I get seem to be the same with or
without the patch. Any other tests I should watch out for apart from
test_float.py?

--

___
Python tracker 

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



[issue7295] test_tarfile uses a hardcoded file name

2009-11-09 Thread Antoine Pitrou

New submission from Antoine Pitrou :

I got this error on my buildbot:

test test_tarfile crashed -- : [Errno 13] Permission
denied: '/tmp/test_tarfile_tmp/testtar.tar.gz'

test_tarfile should not use a hardcoded file name but rely on TESTFN
instead (or any of tempfile.mk*), so that concurrent test runs don't fail.

--
assignee: lars.gustaebel
components: Library (Lib), Tests
messages: 95086
nosy: lars.gustaebel, pitrou
priority: low
severity: normal
stage: needs patch
status: open
title: test_tarfile uses a hardcoded file name
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

Many thanks for testing this, Stefan!  I'll tidy up the patch a little bit 
and add a Misc/NEWS entry, then commit this.

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

> As for the other tests, the errors I get seem to be the same with or
> without the patch. Any other tests I should watch out for apart from
> test_float.py?

Well *ideally* you shouldn't be getting any test failures :-).  But I 
could imagine than running Solaris within a VM might cause some 
problems.  Which tests are failing?

Tests I'd be worried about for the float repr change include: 
test_float, test_complex, test_math, test_cmath, test_ast, test_format, 
test_marshal, test_pickle, test_json, test_builtin, test_capi.

--

___
Python tracker 

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



[issue7282] RLocks leak references when used in raw threads

2009-11-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Committed in r76172-r76175.

--
resolution:  -> fixed
stage: patch review -> 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



[issue7251] Mark expected failures of test_math, test_cmath and test_round as such.

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

The round tests for large values have been broken out into their own test;  
this test is now skipped (only if it would fail) on Linux/alpha.  See 
r76176 (trunk), r76177 (py3k) and r76178 (release31-maint).

The round function itself needs fixing in release26-maint:  issue #7070.

--

___
Python tracker 

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



[issue7070] round(x) gives wrong result for large odd integers

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

Fixed in r76179.

--
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



[issue7251] Mark expected failures of test_math, test_cmath and test_round as such.

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

The round function in release26-maint is fixed (r76179).  I'm not sure 
whether the round_large test needs to be skipped for release26-maint, 
since the Python  2.6 version of round doesn't use the libm round 
function.

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Stefan Krah

Stefan Krah  added the comment:

The tests that you mention run o.k., except capi, but that looks harmless:

ste...@opensolaris:~/svn/py3k/Lib/test# ../../python test_capi.py
test_instancemethod (__main__.CAPITest) ... ok

--
Ran 1 test in 0.000s

OK
internal test_L_code
internal test_Z_code
internal test_capsule
internalTraceback (most recent call last):
  File "test_capi.py", line 170, in 
test_main()
  File "test_capi.py", line 130, in test_main
print("internal", name)
ImportError: No module named _curses



Tests that fail:

test_ascii_formatd, test_calendar, test_datetime, test_distutils,
test_email, test_httpservers, test_mailbox, test_multiprocessing,
test_os, test_pipes, test_platform, test_poll, test_popen, test_pty,
test_pydoc, test_quopri, test_select, test_signal, test_strftime,
test_strptime, test_subprocess, test_sys, test_tempfile, test_threading


A lot of these fail either due to the inability to allocate resources or
the fact that strftime appears to give weird results.

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

Is the test_ascii_formatd failure due to a failed 'from ctypes import 
...'?  That's the only failure that looks like it could be related.

Thanks for this.

--

___
Python tracker 

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



[issue7276] UnboundLocalError scoping problem with nested functions

2009-11-09 Thread R. David Murray

R. David Murray  added the comment:

The relevant section is
http://docs.python.org/reference/executionmodel.html#naming-and-binding.
 Perhaps a cross-reference should be added to the assignment section. 
If you think it should, please open a new issue for that.

I have opened issue 7290 with a suggested improvement to the FAQ entry
that most closely deals with this.  Could you review that and let me
know in that issue if you think it is a worthwhile improvement?

--
nosy: +r.david.murray
priority:  -> low
stage:  -> committed/rejected
type: compile error -> behavior

___
Python tracker 

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



[issue3999] Real segmentation fault handler

2009-11-09 Thread Adam Olsen

Adam Olsen  added the comment:

That's fine, but please provide a link to the new issue once you create it.

--

___
Python tracker 

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



[issue5792] Enable short float repr() on Solaris/x86

2009-11-09 Thread Stefan Krah

Stefan Krah  added the comment:

Yes, test_ascii_formatd fails with 'ImportError: No module named _ctypes'.

--

___
Python tracker 

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



[issue1752919] Exception in HTMLParser for special JavaScript code

2009-11-09 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +ezio.melotti

___
Python tracker 

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



[issue7296] OverflowError: signed integer is greater than maximum on mips64

2009-11-09 Thread jasper

New submission from jasper :

While trying to get Python 2.6 working on OpenBSD/sgi (64-bit port)
I ran into the following during build:

OverflowError: signed integer is greater than maximum

I ran the command that triggered this by hand with -v added:

(sgi Python-2.6.3 40)$ export PATH; PATH="`pwd`:$PATH";  export
PYTHONPATH; PYTHONPATH="`pwd`/Lib";  export DYLD_FRAMEWORK_PATH;
DYLD_FRAMEWORK_PATH="`pwd`";  export EXE; EXE="";  cd
./Lib/plat-openbsd4;  ./regen
python$EXE -v ../../Tools/scripts/h2py.py -i '(u_long)'
/usr/include/netinet/in.h
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/site.pyc matches
/usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/site.py
import site # precompiled from
/usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/site.pyc
'import site' failed; traceback:
Traceback (most recent call last):
  File "/usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/site.py", line 61,
in 
import sys
OverflowError: signed integer is greater than maximum
import encodings # directory
/usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/encodings
# /usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/encodings/__init__.pyc
matches /usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/encodings/__init__.py
import encodings # precompiled from
/usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/encodings/__init__.pyc
Python 2.6.3 (r263:75183, Nov  6 2009, 09:50:33) 
[GCC 3.3.5 (propolice)] on openbsd4
Type "help", "copyright", "credits" or "license" for more information.
# /usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/re.pyc matches
/usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/re.py
import re # precompiled from
/usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/re.pyc
Traceback (most recent call last):
  File "../../Tools/scripts/h2py.py", line 24, in 
import sys, re, getopt, os
  File "/usr/obj/ports/Python-2.6.3/Python-2.6.3/Lib/re.py", line 104,
in 
import sys
OverflowError: signed integer is greater than maximum
# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# clear sys.flags
# clear sys.float_info
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] zipimport
# cleanup[1] signal
# cleanup[1] exceptions
# cleanup[1] _warnings
# cleanup sys
# cleanup __builtin__
# cleanup ints: 3 unfreed ints
# cleanup floats
(sgi plat-openbsd4 41)$

There have been several patches applied:
http://www.openbsd.org/cgi-bin/cvsweb/ports/lang/python/2.6/patches/
Although none seem to be relevant as far as I can see.

Please find attached the build log and the configure log.

--
components: Build
files: config.log
messages: 95098
nosy: jasper
severity: normal
status: open
title: OverflowError: signed integer is greater than maximum on mips64
type: compile error
versions: Python 2.6
Added file: http://bugs.python.org/file15300/config.log

___
Python tracker 

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



[issue7296] OverflowError: signed integer is greater than maximum on mips64

2009-11-09 Thread jasper

jasper  added the comment:

And the build log on OpenBSD/sgi.

--
Added file: http://bugs.python.org/file15301/Python-2.6.3.log

___
Python tracker 

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



[issue6845] Restart support in binary upload for ftplib

2009-11-09 Thread Pablo Mouzo

Pablo Mouzo  added the comment:

Here is a new patch. It works with both ints and strings.

I'm working on a patch for py3k.

--
Added file: http://bugs.python.org/file15302/issue6845-trunk.diff

___
Python tracker 

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



[issue6845] Restart support in binary upload for ftplib

2009-11-09 Thread Pablo Mouzo

Changes by Pablo Mouzo :


Removed file: http://bugs.python.org/file15027/issue6845.diff

___
Python tracker 

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



[issue7297] Releasing FamousFoodFinder.com

2009-11-09 Thread Brandon Dixon



For the past 2 months a friend and I have been working 
on a site (http://www.famousfoodfinder.com";>www.famousfoodfinder.com) that would 
allow users to search for famous restaurants. The idea initially came from the 
fact that I love food and have been considering traveling around the US for 
quite some time. I couldn't think of a better way to enjoy good food and 
travel than to hit up all the places that I saw on all my favorite shows.

Searching online didn't reveal any site that contained multiple shows and 
allowed me to filter my searches. Rather then wait for someone to add the shows 
I wanted or the searching capabilities I felt were necessary, I decided to 
create my own. 

The site currently supports 5 popular shows:"Diners, Drive-Ins 
and Dives""Feasting on Asphalt 
1""Feasting on Asphalt 2""The Best Thing 
I Ever Ate""Throwdown with Bobby Flay"



We are currently working on adding more details to 
each show as well as a few other shows that feature more restaurants. The site 
is still in beta, but we wanted to release it in it's current state so that 
users could suggest ideas on how to improve the design/functionality. We hope 
you find it as useful as we do.



Please 
send any feedback, comments, or requests to: mailto:bran...@famousfoodfinder.com";>bran...@famousfoodfinder.com.

-- Brandon Dixon - CCNA, OSCP, WebSphere DataPower Solution 
DeveloperInformation Systems Security Engineerhttp://www.dueyesterday.net"; target="_blank">www.dueyesterday.net - 
Documentation for the masses


http://www.famousfoodfinder.com"; 
target="_blank">www.famousfoodfinder.com - Search for famous restaurants 
around you!



For the past 2 months a friend and I have been working 
on a site (http://www.famousfoodfinder.com";>www.famousfoodfinder.com) that would 
allow users to search for famous restaurants. The idea initially came from the 
fact that I love food and have been considering traveling around the US for 
quite some time. I couldn't think of a better way to enjoy good food and 
travel than to hit up all the places that I saw on all my favorite shows.

Searching online didn't reveal any site that contained multiple shows and 
allowed me to filter my searches. Rather then wait for someone to add the shows 
I wanted or the searching capabilities I felt were necessary, I decided to 
create my own. 

The site currently supports 5 popular shows:"Diners, Drive-Ins 
and Dives""Feasting on Asphalt 
1""Feasting on Asphalt 2""The Best Thing 
I Ever Ate""Throwdown with Bobby Flay"



We are currently working on adding more details to 
each show as well as a few other shows that feature more restaurants. The site 
is still in beta, but we wanted to release it in it's current state so that 
users could suggest ideas on how to improve the design/functionality. We hope 
you find it as useful as we do.



Please 
send any feedback, comments, or requests to: mailto:bran...@famousfoodfinder.com";>bran...@famousfoodfinder.com.

-- Brandon Dixon - CCNA, OSCP, WebSphere DataPower Solution 
DeveloperInformation Systems Security Engineerhttp://www.dueyesterday.net"; target="_blank">www.dueyesterday.net - 
Documentation for the masses


http://www.famousfoodfinder.com"; 
target="_blank">www.famousfoodfinder.com - Search for famous restaurants 
around you!
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7297] Releasing FamousFoodFinder.com

2009-11-09 Thread Ezio Melotti

Changes by Ezio Melotti :


--
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



[issue7297] Releasing FamousFoodFinder.com

2009-11-09 Thread Raymond Hettinger

Changes by Raymond Hettinger :


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

___
Python tracker 

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



[issue7297] Releasing FamousFoodFinder.com

2009-11-09 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--

___
Python tracker 

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



[issue7297] --spam--

2009-11-09 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
title: Releasing FamousFoodFinder.com -> --spam--

___
Python tracker 

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