[issue11802] filecmp.cmp needs a documented way to clear cache

2011-05-15 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

-1 on backporting.

--

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



[issue6498] Py_Main() does not return on SystemExit

2011-05-15 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 0311f62714f7 by Georg Brandl in branch '3.1':
Closes #6498: fix several misspellings of SystemExit as SystemError.
http://hg.python.org/cpython/rev/0311f62714f7

New changeset 7089afd69a1a by Georg Brandl in branch '3.2':
Merge #6498 fix from 3.1.
http://hg.python.org/cpython/rev/7089afd69a1a

New changeset 94e3c44b0662 by Georg Brandl in branch 'default':
Merge #6498 fix from 3.2.
http://hg.python.org/cpython/rev/94e3c44b0662

New changeset 97a75fccd7c8 by Georg Brandl in branch '2.7':
Port #6498 fix: fix several misspellings of SystemExit as SystemError.
http://hg.python.org/cpython/rev/97a75fccd7c8

--
nosy: +python-dev
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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



[issue1746656] IPv6 Interface naming/indexing functions

2011-05-15 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset c2515cb23d9b by Gregory P. Smith in branch 'default':
Issue #1746656: Add if_nameindex, if_nametoindex, if_indextoname
http://hg.python.org/cpython/rev/c2515cb23d9b

--
nosy: +python-dev

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



[issue1746656] IPv6 Interface naming/indexing functions

2011-05-15 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

I added these with conditional compilation via autoconf for use on posix 
systems.  These methods are not IPv6 specific.

Anyone who wants to see them supported on windows will need to add whatever 
conditional compilation magic is required to enable that on appropriate builds.

--
resolution:  - fixed
stage: test needed - committed/rejected
status: open - closed
versions: +Python 3.3 -Python 3.2

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



[issue10756] Error in atexit._run_exitfuncs [...] Exception expected for value, str found

2011-05-15 Thread kai zhu

kai zhu kai...@ugcs.caltech.edu added the comment:

should this bug b closed? it seems fixed in python3.2 for me.

--

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



[issue12079] decimal.py: TypeError precedence in fma()

2011-05-15 Thread Stefan Krah

New submission from Stefan Krah stefan-use...@bytereef.org:

Hi, I think that TypeError should take precedence over InvalidOperation
in these two cases:

 Decimal('Infinity').fma(Decimal('0'), (3.91224318126786e+19+0j))
Traceback (most recent call last):
  File stdin, line 1, in module
  File /usr/local/lib/python3.2/decimal.py, line 1879, in fma
'INF * 0 in fma')
  File /usr/local/lib/python3.2/decimal.py, line 3926, in _raise_error
raise error(explanation)
decimal.InvalidOperation: INF * 0 in fma
 


 Decimal('1').fma(Decimal('snan'), 1.22)
Traceback (most recent call last):
  File stdin, line 1, in module
  File /usr/local/lib/python3.2/decimal.py, line 1871, in fma
return context._raise_error(InvalidOperation, 'sNaN', other)
  File /usr/local/lib/python3.2/decimal.py, line 3926, in _raise_error
raise error(explanation)
decimal.InvalidOperation: sNaN


--
components: Library (Lib)
messages: 136014
nosy: mark.dickinson, rhettinger, skrah
priority: normal
severity: normal
status: open
title: decimal.py: TypeError precedence in fma()
type: behavior
versions: Python 3.3, Python 3.4

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



[issue10756] Error in atexit._run_exitfuncs [...] Exception expected for value, str found

2011-05-15 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

Well, Victor still wanted to backport it.

--

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



[issue1746656] IPv6 Interface naming/indexing functions

2011-05-15 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

 New changeset c2515cb23d9b by Gregory P. Smith in branch 'default':
 Issue #1746656: Add if_nameindex, if_nametoindex, if_indextoname

The _socket module doesn't compile on OpenIndiana anymore:
http://www.python.org/dev/buildbot/all/builders/AMD64%20OpenIndiana%203.x/builds/1207/steps/test/logs/stdio

--
nosy: +haypo

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



[issue12079] decimal.py: TypeError precedence in fma()

2011-05-15 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Yes, I agree.  Do you have a patch?  I guess the only mildly tricky part here 
is making sure that the patch doesn't cause fma(2, 3, snan) (for example) to 
raise.

--

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



[issue12079] decimal.py: TypeError precedence in fma()

2011-05-15 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

 cause fma(2, 3, snan) ...

Gah!  That was nonsense.  Please ignore.

--

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



[issue1746656] IPv6 Interface naming/indexing functions

2011-05-15 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

 The _socket module doesn't compile on OpenIndiana anymore

Same problem of FreeBSD 8.2:
http://www.python.org/dev/buildbot/all/builders/AMD64%20FreeBSD%208.2%203.x/builds/291/steps/test/logs/stdio

--

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



[issue12075] python3.2 memory leak when setting integer key in dictionary

2011-05-15 Thread kai zhu

kai zhu kai...@ugcs.caltech.edu added the comment:

explicit gc.collect() doesn't seem to fix the leak in my application.
my current fix is to not re-instantiate the class attribute (which cost ~7mb) 
during reload  instead reference one created earlier.

i haven't pinpointed y, but i suspect its a corner case, which would rarely 
occur in general usage.  my class also inherits from subprocess.Popen, which 
has a __del__ method, which might interfere w/ collection (although gc.garbage 
says otherwise ;).

the reason i reload is that the script gets modified frequently, which the 
auto-build system will detect  reload.

--

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



[issue12060] Python doesn't support real time signals

2011-05-15 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 945ca78c38b1 by Victor Stinner in branch '3.1':
Issue #12060: Use sig_atomic_t type and volatile keyword in the signal module.
http://hg.python.org/cpython/rev/945ca78c38b1

New changeset b74999f561ca by Victor Stinner in branch '3.2':
(Merge 3.1) Issue #12060: Use sig_atomic_t type and volatile keyword in the
http://hg.python.org/cpython/rev/b74999f561ca

New changeset 1aa48391da30 by Victor Stinner in branch 'default':
(Merge 3.2) Issue #12060: Use sig_atomic_t type and volatile keyword in the
http://hg.python.org/cpython/rev/1aa48391da30

--
nosy: +python-dev

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



[issue12080] decimal.py: performance in _power_exact

2011-05-15 Thread Stefan Krah

New submission from Stefan Krah stefan-use...@bytereef.org:

I found another performance issue in _power_exact:

 Decimal(4) ** Decimal(-1.2e-9)
^CTraceback (most recent call last):
  File stdin, line 1, in module
  File /home/stefan/pydev/cpython/Lib/decimal.py, line 2343, in __pow__
ans = self._power_exact(other, context.prec + 1)
  File /home/stefan/pydev/cpython/Lib/decimal.py, line 2098, in _power_exact
ten_pow = 10**-ye
KeyboardInterrupt



This one is in the power operation in line 2098. There are several
other places where huge integer powers are calculated if 'ye' is
sufficiently large.

--
components: Library (Lib)
messages: 136022
nosy: mark.dickinson, skrah
priority: normal
severity: normal
status: open
title: decimal.py: performance in _power_exact
type: performance
versions: Python 3.3, Python 3.4

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



[issue12060] Python doesn't support real time signals

2011-05-15 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

 if someone comes up with a situation where this is a real problem,
 feel free to reopen it.

Ok I agree, no problem. But I commited at least Charles's patch ;-)

--

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



[issue12079] decimal.py: TypeError precedence in fma()

2011-05-15 Thread Stefan Krah

Stefan Krah stefan-use...@bytereef.org added the comment:

Ok, I'll write a patch.

--

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



[issue11963] Remove human verification from test suite (test_parser and test_subprocess)

2011-05-15 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

I had a shot at test_subprocess but it’s harder than test_parser.  The method 
that outputs to stdout tests the behavior of Popen(..., stdout=None).  Putting 
another layer of indirection with script_helper could obfuscate it to the point 
of making it unreadable (what stdout are we talking about?  It’s a subprocess 
in a subprocess in a test).  I’ll try to do it in a few weeks but will not 
commit it without review.

--

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



[issue1746656] IPv6 Interface naming/indexing functions

2011-05-15 Thread Nadeem Vawda

Nadeem Vawda nadeem.va...@gmail.com added the comment:

Also failing to compile on OS X:

http://www.python.org/dev/buildbot/all/builders/AMD64%20Leopard%203.x/builds/1385/steps/test/logs/stdio

The problem seems to be that net/if.h is not being included on these
non-Linux systems. Looking at Modules/socketmodule.h reveals that its
inclusion is conditional on HAVE_NETPACKET_PACKET_H:

#ifdef HAVE_NETPACKET_PACKET_H
# include sys/ioctl.h
# include net/if.h
# include netpacket/packet.h
#endif

Changing it to something like this should solve the problem:

#ifdef HAVE_NET_IF_H
# include net/if.h
#endif

#ifdef HAVE_NETPACKET_PACKET_H
# include sys/ioctl.h
# include netpacket/packet.h
#endif

--
nosy: +nadeem.vawda

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



[issue1746656] IPv6 Interface naming/indexing functions

2011-05-15 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 434dfe42fde1 by Nadeem Vawda in branch 'default':
Fix _socket compilation failures on non-Linux buildbots (cf. issue #1746656).
http://hg.python.org/cpython/rev/434dfe42fde1

--

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



[issue1746656] IPv6 Interface naming/indexing functions

2011-05-15 Thread Nadeem Vawda

Nadeem Vawda nadeem.va...@gmail.com added the comment:

The OpenIndiana bots are now green, but the BSD and OS X bots are still
failing. It seems that on those systems, net/if.h depends on sys/types.h 
and maybe some other headers, so the current configure
script detects it as present but not usable.

I'm currently setting up a FreeBSD VM so I can poke around and figure out
what the missing dependencies are.

--

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



[issue11802] filecmp.cmp needs a documented way to clear cache

2011-05-15 Thread Nadeem Vawda

Nadeem Vawda nadeem.va...@gmail.com added the comment:

OK. I'll try to put together something cleaner just for 3.3, then.

--
assignee:  - nadeem.vawda
stage: patch review - needs patch
versions:  -Python 2.7, Python 3.1, Python 3.2

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



[issue10639] reindent.py converts newlines to platform default

2011-05-15 Thread Jason R. Coombs

Jason R. Coombs jar...@jaraco.com added the comment:

Re msg125818, I agree that the mixed EOLs is also a potential problem, though 
the proposed solution behaves better than the status quo, where the EOLs get 
converted without warning.

It would be desirable for the patch to be more robust in that situation 
(providing a useful error message about why it fails). What might even be 
better is to retain newlines even if they're mixed. I'll explore a 
cross-platform technique to consistently retain newlines as encountered.

--

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



[issue1615158] POSIX capabilities support

2011-05-15 Thread Arfrever Frehtes Taifersar Arahesis

Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:

posix module has many optional functions, which are available only on some 
systems.

--

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



[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure

2011-05-15 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 9874f213edb2 by Ronald Oussoren in branch '2.7':
Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in 
shell.
http://hg.python.org/cpython/rev/9874f213edb2

New changeset 5b108229a978 by Ronald Oussoren in branch '3.2':
Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in 
shell.
http://hg.python.org/cpython/rev/5b108229a978

New changeset 978016199be8 by Ronald Oussoren in branch '2.7':
NEWS entry for fix of issue #9516
http://hg.python.org/cpython/rev/978016199be8

New changeset 25040a6a68e9 by Ronald Oussoren in branch '3.2':
NEWS entry for fix of issue #9516
http://hg.python.org/cpython/rev/25040a6a68e9

New changeset 412d5f2c995f by Ronald Oussoren in branch 'default':
(merge from 3.2) Issue #9516: avoid errors in sysconfig when 
MACOSX_DEPLOYMENT_TARGET is set in shell.
http://hg.python.org/cpython/rev/412d5f2c995f

--
nosy: +python-dev

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



[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure

2011-05-15 Thread Ronald Oussoren

Ronald Oussoren ronaldousso...@mac.com added the comment:

I've applied the patches to 3.3, 3.2 and 2.7

--
resolution:  - fixed
stage: commit review - committed/rejected
status: open - closed

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



[issue12081] Remove distributed copy of libffi

2011-05-15 Thread Benjamin Peterson

New submission from Benjamin Peterson benja...@python.org:

I believe the bugs which the patched version of libffi used have been fixed in 
recent versions. We should stop distributing an old version.

--
components: ctypes
messages: 136034
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: Remove distributed copy of libffi
versions: Python 3.3

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



[issue12081] Remove distributed copy of libffi

2011-05-15 Thread Nadeem Vawda

Changes by Nadeem Vawda nadeem.va...@gmail.com:


--
nosy: +nadeem.vawda

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



[issue12081] Remove distributed copy of libffi

2011-05-15 Thread Ross Lagerwall

Changes by Ross Lagerwall rosslagerw...@gmail.com:


--
nosy: +rosslagerwall

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



[issue11614] import __hello__ is broken in Python 3

2011-05-15 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
priority: release blocker - deferred blocker

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



[issue12081] Remove distributed copy of libffi

2011-05-15 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

Sounds reasonable.  How will this work on Windows?

--
nosy: +georg.brandl

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



[issue10466] locale.py resetlocale throws exception on Windows (getdefaultlocale returns value not usable in setlocale)

2011-05-15 Thread Tim Lyons

Tim Lyons guy.lin...@gmail.com added the comment:

Surely the user of getlocale as the right to expect that the same thing (i.e. 
ISO language codes) would be returned on all platforms. I am looking at some 
code that provides special purpose date handling routines. The appropriate 
routine is selected by a language code (for the locale category LC_TIME as it 
happens) like fr_FR. In order  to get this to work on different platforms, you 
have to test whether it is windows, and if so use getdefaultlocale, while for 
other platforms, you use getlocale in order to return similar language codes. 
This code would actually be wrong if the application were to change the locale 
inside the application, because on other platforms the change would have an 
effect, while on windows, it would be ignored! [I am running on Mac OS X as it 
happens, not Linux or Windows].
 
So, don’t say that getdefaultloale is not useful, it is the one that is needed 
on Windows!
 
Note this is not a problem with the encoding – some of the discussion and many 
of the related bugs are concerned with the encoding.
 
Also note Marc-Andre pointing out in 
http://mail.python.org/pipermail/python-bugs-list/2004-December/026667.html 
that “getdefaultlocale() mimics the lookup mechanism of setlocale(LC_ALL, )”. 
I recognise that he is talking about the lookup mechanism rather than the 
results, but it seems to suggest that the results might be similar (if you do 
the same lookup you would get the same result). But “getdefaultlocale returns 
something that setlocale cannot consume on Windows”!

I recognise that it would be difficult to decide to code locale on python so 
that windows returns something that is not the same as the native call, but it 
does seem to me that python locale should translate the Windows language codes 
so that they are the same as are returned on all the other platforms (i.e. ISO 
codes etc).

--
nosy: +guy.linton

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



[issue11877] Change os.fsync() to support physical backing store syncs

2011-05-15 Thread Steffen Daode Nurpmeso

Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:

 Finally, depending on the workload, it could have a significant
 performance impact.

Oh yes (first replaces os.fsync() with an in-python wrapper):

18:12 ~/tmp $ ll mail
ls: mail: No such file or directory
18:12 ~/tmp $ ll X-MAIL
312 -rw-r-  1 steffen  staff  315963 15 May 17:49   X-MAIL
18:12 ~/tmp $ time s-postman.py --folder=~/tmp/mail --dispatch=X-MAIL
Dispatched 37 tickets to 4 targets.

real0m4.638s
user0m0.974s
sys 0m0.160s
18:13 ~/tmp $ rm -rf mail
18:13 ~/tmp $ time s-postman.py --folder=~/tmp/mail --dispatch=X-MAIL
Dispatched 37 tickets to 4 targets.

real0m1.228s
user0m0.976s
sys 0m0.122s

(I'm using the first one.)

--

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



[issue10756] Error in atexit._run_exitfuncs [...] Exception expected for value, str found

2011-05-15 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset 461e37a60187 by Victor Stinner in branch '3.1':
Issue #10756: atexit normalizes the exception before displaying it. Patch by
http://hg.python.org/cpython/rev/461e37a60187

--
nosy: +python-dev

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



[issue6721] Locks in python standard library should be sanitized on fork

2011-05-15 Thread Steffen Daode Nurpmeso

Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:

@ Charles-François Natali wrote (2011-05-15 01:14+0200):
 So if we really wanted to be safe, the only solution would be to
 forbid fork() in a multi-threaded program.
 Since it's not really a reasonable option

But now - why this?  The only really acceptable thing if you have
control about what you are doing is the following:

class SMP::Process
/*!
* \brief Daemonize process.
*[.]
* \note
* The implementation of this function is not trivial.
* To avoid portability no-goes and other such problems,
* you may \e not call this function after you have initialized
* Thread::enableSMP(),
* nor may there (have) be(en) Child objects,
* nor may you have used an EventLoop!
* I.e., the process has to be a single threaded, synchronous one.
* [.]
*/
pub static si32 daemonize(ui32 _daemon_flags=df_default);

namespace SMP::POSIX
/*!
* \brief \fn fork(2).
*[.]
* Be aware that this passes by all \SMP and Child related code,
* i.e., this simply \e is the system-call.
* Signal::resetAllSignalStates() and Child::killAll() are thus if
* particular interest; thread handling is still entirely up to you.
*/
pub static sir fork(void);

Which kind of programs cannot be written with this restriction?

--

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



[issue10756] Error in atexit._run_exitfuncs [...] Exception expected for value, str found

2011-05-15 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

Oh, I forgot the issue. I backported the fix to Python 3.1. Python 2.7 doesn't 
have the bug.

--
resolution:  - fixed
status: open - closed

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



[issue12081] Remove distributed copy of libffi

2011-05-15 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +Arfrever

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



[issue1746656] IPv6 Interface naming/indexing functions

2011-05-15 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

thanks i'll take a look at OS X here.  obviously i did development and
testing on linux.

--

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



[issue1746656] IPv6 Interface naming/indexing functions

2011-05-15 Thread Nadeem Vawda

Nadeem Vawda nadeem.va...@gmail.com added the comment:

OK, that's great. It'll be another couple of hours before I can do
anything from the FreeBSD side; I'm still waiting for the ISO to finish
downloading :/

--

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



[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-05-15 Thread Jiri Horky

Jiri Horky jiri.ho...@gmail.com added the comment:

I have the same problem as the original submitter.

The reason it previously worked for you was probably because you didn't utilize 
a right unicode string in the urllib2.request. The following code will raise 
the exception (I enclose the data file for completeness, but it fails with 
basically any binary data).

It works fine with Python 2.6.6, but fails with Python 2.7.1.

{{{
import urllib2

f = open(data, r)
mydata = f.read()
f.close()

#this fails
url=unicode('http://localhost/test')

#this works
#url=str('http://localhost/test')

#this also works 
#url=unicode('http://localhost')

req = urllib2.Request(url, data=mydata)
urllib2.urlopen(req)
}}}

--
nosy: +Jiri.Horky
Added file: http://bugs.python.org/file22004/data

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



[issue12080] decimal.py: performance in _power_exact

2011-05-15 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Thanks for the report;  I'll try to find some time to look at this.

This isn't the first time that I've thought that it might be better just to 
abandon the aim of getting correctly-rounded results for pow.

--
assignee:  - mark.dickinson

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



[issue6721] Locks in python standard library should be sanitized on fork

2011-05-15 Thread Nir Aides

Nir Aides n...@winpdb.org added the comment:

Is it possible the following issue is related to this one?
http://bugs.python.org/issue10037 - multiprocessing.pool processes started by 
worker handler stops working

--

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



[issue12080] decimal.py: performance in _power_exact

2011-05-15 Thread Raymond Hettinger

Changes by Raymond Hettinger raymond.hettin...@gmail.com:


--
nosy: +rhettinger

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



[issue1746656] IPv6 Interface naming/indexing functions

2011-05-15 Thread Roundup Robot

Roundup Robot devnull@devnull added the comment:

New changeset b6aafb20e5f5 by Gregory P. Smith in branch 'default':
issue #1746656: Fix for OS X. configure and #include changes so that the socket
http://hg.python.org/cpython/rev/b6aafb20e5f5

--

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



[issue6721] Locks in python standard library should be sanitized on fork

2011-05-15 Thread Charles-François Natali

Changes by Charles-François Natali neolo...@free.fr:


Removed file: http://bugs.python.org/file21991/reinit_locks.diff

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



[issue6721] Locks in python standard library should be sanitized on fork

2011-05-15 Thread Charles-François Natali

Charles-François Natali neolo...@free.fr added the comment:

 Is it possible the following issue is related to this one?

It's hard to tell, the original report is rather vague.
But the comment about the usage of the maxtasksperchild argument reminds me of 
issue #10332 Multiprocessing maxtasksperchild results in hang: basically, 
there's a race window in the Pool shutdown code where worker threads having 
completed their work can exit without being replaced.
So the connection with the current issue does not strike me, but you never know 
(that's the problem with those nasty race conditions ;-).

Concerning this issue, here's an updated patch.
I removed calls to pthread_mutex_destroy/pthread_condition_destroy/sem_destroy 
from the reinit functions: the reason is that I experienced a deadlock in 
test_concurrent_futures with the emulated semaphore code on Linux/NPTL inside 
pthread_condition_destroy: the new version strictly mimics what's done in 
glibc's malloc, and just calls pthrad_mutex_init and friends. It's safe, and 
shouldn't leak resources (and even if it does, it's way better than a deadlock).
I also placed the note on the interaction between locks and fork() at the top 
of Python/thread_pthread.h.

--
Added file: http://bugs.python.org/file22005/reinit_locks.diff

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



[issue11877] Change os.fsync() to support physical backing store syncs

2011-05-15 Thread Charles-François Natali

Charles-François Natali neolo...@free.fr added the comment:

(I'm not sure Rietveld sent the message so I post it here, sorry in case of 
duplicate).

Steffen, I've made a quick review of your patch, in case you're interested.
I think that this functionality can be really useful to some people, and it'd be
nice if your patch could stabilize somewhat so that committers can review it
properly and eventually merge it.

Concerning your benchmark:
I don't know exactly what you're measuring, but when performing I/O-related
benchmarks, it's always a good idea to run each test several times in a row, or
flush the page/buffer cache before each run: the reason is that the the second
run benefits from the page/buffer cache, which often speeds things up
dramatically.
Example:

# time find /lib -type f -exec cat {} \;  /dev/null 
real0m20.455s
user0m8.145s
sys 0m5.256s

# time find /lib -type f -exec cat {} \;  /dev/null 
real0m6.827s
user0m8.477s
sys 0m4.804s

# echo 3  /proc/sys/vm/drop_caches 

# time find /lib -type f -exec cat {} \;  /dev/null 
real0m19.954s
user0m8.069s
sys 0m5.364s

--

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



[issue12081] Remove distributed copy of libffi

2011-05-15 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

On windows work with patched version of library . Unpatched does not work but I 
cannot remember python issue number.

--
nosy: +rpetrov

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



[issue12081] Remove distributed copy of libffi

2011-05-15 Thread Arfrever Frehtes Taifersar Arahesis

Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:

Has the patch been sent to libffi upstream? What was the response from libffi 
upstream?

--

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



[issue12080] decimal.py: performance in _power_exact

2011-05-15 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@haypocalc.com:


--
nosy: +haypo

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



[issue1615158] POSIX capabilities support

2011-05-15 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

 The development headers for these are not installed by default on
 some distributions.

This is not an issue at all - that's what autoconf is for.

 Adding this to the posix module would enforce linking with lcap and
 lattr always.

That's a more serious problem, IMO; I think some people won't like the
additional dependency.

 I think it would be better if they are added to a separate module

Can you propose a name for the module?

--

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



[issue9667] NetBSD curses KEY_* constants

2011-05-15 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

unassigning, i don't have time to tackle netbsd issues right now.

--
assignee: gregory.p.smith - 

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



[issue7656] test_hashlib fails on some installations (specifically Neal's regression test runner)

2011-05-15 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

Misc/build.sh seems obsolete... its full of references to svn and we have had 
buildbots for many years now.

The buildbots do not seem to be hitting this issue.  Is there a real failure 
you can point at somewhere?  if so please reopen this with a pointer to that or 
with full details of how to reproduce it.  platform, os, configure flags, etc.

--
assignee: gregory.p.smith - 
resolution:  - out of date
status: open - closed

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



[issue11197] information leakage with SimpleHTTPServer

2011-05-15 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

unassigning, i don't have time for this one right now.  doubtful anyone is 
going to jump in for 3.2.1 given rc1 is being prepared right now. :)

General recommendation: don't use SimpleHTTPServer in production.

--
assignee: gregory.p.smith - 

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



[issue12082] Python/import.c still references fstat even with DONT_HAVE_FSTAT/!HAVE_FSTAT

2011-05-15 Thread Josh Triplett

New submission from Josh Triplett j...@joshtriplett.org:

Even if pyconfig.h defines DONT_HAVE_STAT and DONT_HAVE_FSTAT (which prevents 
the definitions of HAVE_STAT and HAVE_FSTAT), Python still references fstat in 
Python/import.c, along with struct stat and constants like S_IXUSR.  I ran into 
this when attempting to compile Python for an embedded platform, which has some 
basic file operations but does not have stat.  (I will likely end up faking 
fstat for now, but I'd rather not have to do so.)

--
components: Build
messages: 136055
nosy: joshtriplett
priority: normal
severity: normal
status: open
title: Python/import.c still references fstat even with 
DONT_HAVE_FSTAT/!HAVE_FSTAT
type: compile error
versions: Python 2.7

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



[issue12083] Compile-time option to avoid writing files, including generated bytecode

2011-05-15 Thread Josh Triplett

New submission from Josh Triplett j...@joshtriplett.org:

PEP 304 provides a runtime option to avoid saving generating bytecode files.  
However, for embedded usage, it would help to have a compile-time option to 
remove all the file-writing code entirely, hardcoding PYTHONBYTECODEBASE=.  I 
ran into this when porting Python to an embedded platform, which will never 
support any form of filesystem write operations; currently, I have to provide 
dummy functions for writing files, which error out when attempting to write to 
anything other than stdout or stderr.

--
components: Build
messages: 136056
nosy: joshtriplett
priority: normal
severity: normal
status: open
title: Compile-time option to avoid writing files, including generated bytecode
type: compile error
versions: Python 2.7

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



[issue12083] Compile-time option to avoid writing files, including generated bytecode

2011-05-15 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

This request is out of scope for 2.7. It is a new feature, and no new features 
can be added to 2.7.

--
nosy: +loewis
resolution:  - wont fix
status: open - closed

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



[issue7656] test_hashlib fails on some installations (specifically Neal's regression test runner)

2011-05-15 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

AFAIK build.sh is only as out of date as the svn/hg switchover.  I believe this 
particular issue was dealt with, but I haven't checked.

It runs the refcount tests for 2.7 (Antoine has a separate script that runs 
them for 3.x).

--

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



[issue6715] xz compressor support

2011-05-15 Thread Dan Stromberg

Dan Stromberg strom...@gmail.com added the comment:

Interesting thing to consider: maybe it'd be better to add support for 
libarchive, which includes xz support among other things.

http://code.google.com/p/libarchive/

--

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



[issue11898] Sending binary data with a POST request in httplib can cause Unicode exceptions

2011-05-15 Thread Senthil Kumaran

Senthil Kumaran sent...@uthcode.com added the comment:

The bug was about sending Binary data via httplib. In the example you
wrote, you are sending a unicode url and experiencing a failure for
certain examples.

In the 2.7, the urls should be str type, we don't have function to
deal with unicode url separately and sending of unicode url is an
error.

--

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



[issue7969] shutil.copytree error handling non-standard and partially broken

2011-05-15 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

I also found the doc confusing. Does This exception collects exceptions that 
raised during a multi-file operation. that Error is used for .rmtree or .move? 
If so, what format. If not, revise. And I also wondered how to access and use 
an Error.

--
nosy: +terry.reedy
versions:  -Python 2.6

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



[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-15 Thread Hirokazu Yamamoto

New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:

Hello. I noticed os.stat() on windows may traverse wrong path on relative 
symbolic when current working directory != the directory where symbolic link is 
in. This is because the relative path DeviceIoControl() returns is just passed 
to win32_xstat without converting to absolute path.

I'm sorry because I implemented this function, and it's hard for me to debug 
this because I don't have Vista/7. This patch uses GetFinalPathNameByHandle 
like original code does, plus should handle symlink to system locked file.

Can anyone test and commit this patch?

--
components: Windows
files: patches_v2.tar.gz
keywords: 3.2regression
messages: 136062
nosy: georg.brandl, ocean-city
priority: release blocker
severity: normal
stage: patch review
status: open
title: os.stat() on windows doesn't consider relative symlink
type: behavior
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file22006/patches_v2.tar.gz

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



[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2011-05-15 Thread Hirokazu Yamamoto

Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:

I'll close this entry because #12084 contains this fix.

--
status: open - closed
superseder:  - os.stat() on windows doesn't consider relative symlink

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



[issue12085] subprocess.Popen.__del__ raises AttributeError if __init__ was called with an invalid argument list

2011-05-15 Thread Oleg Oshmyan

New submission from Oleg Oshmyan chor...@inbox.lv:

If subprocess.Popen is called with a keyword argument whose name is undefined 
or simply too many arguments, an instance of the Popen class is created but its 
__init__ method call fails due to the invalid argument list. (Immediately) 
afterwards, the new instance is destroyed and its __del__ method is called, 
which checks the _child_created field that is defined by __init__; but __init__ 
never got the chance to execute, so the field is not defined, and __del__ 
raises an AttributeError, which is written out to stderr.

 subprocess.Popen(fdsa=1)
Exception AttributeError: 'Popen' object has no attribute '_child_created' in 
bound method Popen.__del__ of subprocess.Popen object at 0x1006ee790 ignored
Traceback (most recent call last):
  File stdin, line 1, in module
TypeError: __init__() got an unexpected keyword argument 'fdsa'
 subprocess.Popen((), 0, None, None, None, None, None, True, False, None, 
 None, False, None, 0, True, False, (), None)
Exception AttributeError: 'Popen' object has no attribute '_child_created' in 
bound method Popen.__del__ of subprocess.Popen object at 0x1006ee790 ignored
Traceback (most recent call last):
  File stdin, line 1, in module
TypeError: __init__() takes at most 18 positional arguments (19 given)

I encountered this while trying to write a piece of code compatible with Python 
3.2 and earlier versions simultaneously. The subprocess module in Python 3.2 
adds a new argument to the constructor of Popen, pass_fds, while changing the 
default value of another, close_fds, from False to True. In order to utilize 
pass_fds, I tried code that looked like this:

try:
process = Popen(*args, pass_fds=myfds, **kwargs)
except TypeError:
process = Popen(*args, **kwargs)

It worked but printed a message about the exception in __del__, which 
interfered with my own output. Without delving too much into the details of my 
code, I ended up just passing close_fds=False.

The attached patch avoids the exception by converting the reference to 
_child_created in __del__ into a three-argument getattr call.

--
components: Library (Lib)
files: _child_created.diff
keywords: patch
messages: 136064
nosy: chortos
priority: normal
severity: normal
status: open
title: subprocess.Popen.__del__ raises AttributeError if __init__ was called 
with an invalid argument list
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file22007/_child_created.diff

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



[issue12084] os.stat() on windows doesn't consider relative symlink

2011-05-15 Thread Nadeem Vawda

Changes by Nadeem Vawda nadeem.va...@gmail.com:


--
nosy: +nadeem.vawda

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



[issue12082] Python/import.c still references fstat even with DONT_HAVE_FSTAT/!HAVE_FSTAT

2011-05-15 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

Oh, so it's possible to not have the fstat() syscall. I asked me the question 
when I modified import.c (and other files related to importing a module).

--
nosy: +haypo

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



[issue1615158] POSIX capabilities support

2011-05-15 Thread Ross Lagerwall

Ross Lagerwall rosslagerw...@gmail.com added the comment:

  I think it would be better if they are added to a separate module

 Can you propose a name for the module?

I would say either posixcap or capabitilies.

--

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



[issue1615158] POSIX capabilities support

2011-05-15 Thread Ross Lagerwall

Ross Lagerwall rosslagerw...@gmail.com added the comment:

 I would say either posixcap or capabitilies.

The problem with capabilities is that it's easy to misspell, as I did :-)

--

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



[issue12079] decimal.py: TypeError precedence in fma()

2011-05-15 Thread Raymond Hettinger

Changes by Raymond Hettinger raymond.hettin...@gmail.com:


--
assignee:  - rhettinger

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



[issue1746656] IPv6 Interface naming/indexing functions

2011-05-15 Thread Nadeem Vawda

Nadeem Vawda nadeem.va...@gmail.com added the comment:

All the buildbots are back to normal. It looks like FreeBSD was having
the same problem as OS X.

--

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