Re: [Python-Dev] SPARC testers (and buildbot!) needed

2012-08-10 Thread Stefan Krah
Floris Bruynooghe  wrote:
> One more thing that might be interesting, the OpenCSW project provides
> access to their build farm to upstream maintainers.  They say
> various/all versions of solaris are available and compilers etc are
> already setup, but I have never tried this out.  In case someone is
> interested in this, see
> http://www.opencsw.org/extend-it/signup/to-upstream-maintainers/

Thanks for the link. Perhaps I'll try to get an account there.


Stefan Krah


___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] SPARC testers (and buildbot!) needed

2012-08-10 Thread Floris Bruynooghe
On 10 August 2012 06:48, "Martin v. Löwis"  wrote:
> Actually, there appears to be a glitch in the network setup: it appears
> that connections to localhost are not possible in your zone. The tests
> fail with an assertion
>
> self.assertEqual(cm.exception.errno, errno.ECONNREFUSED)
> AssertionError: 128 != 146
>
> where 128 is ENETUNREACH. It would be good if localhost was reachable
> on a build slave.

The localhost network seems fine, which is shown by the test_socket
test just before.  I think the issue here is that
socket.create_connection iterates over the result of
socket.getaddrinfo('localhost', port, 0, SOCK_STREAM) which returns
[(2, 2, 0, '', ('127.0.0.1', 0)), (26, 2, 0, '', ('::1', 0, 0, 0))] on
this host.

The first result is tried and returns ECONNREFUSED but then the second
address is tried and this returns ENETUNREACH because this host has
not IPv6 network configured.  And create_connection() raises the last
exception it received.

If getaddrinfo() is called with the AI_ADDRCONFIG flag then it will
only return the IPv4 version of localhost.

I've created an issue to track this: http://bugs.python.org/issue15617


> Also, if you haven't done so, please make sure that the build slave
> restarts when the zone or the machine is restarted. Don't worry that
> restarting will abort builds in progress - that happens from time
> to time on any slave.

I'll check this, thanks for the reminder.


Regards,
Floris
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Summary of Python tracker Issues

2012-08-10 Thread Python tracker

ACTIVITY SUMMARY (2012-08-03 - 2012-08-10)
Python tracker at http://bugs.python.org/

To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.

Issues counts and deltas:
  open3588 (+24)
  closed 23808 (+44)
  total  27396 (+68)

Open issues with patches: 1543 


Issues opened (47)
==

#13072: Getting a buffer from a Unicode array uses invalid format
http://bugs.python.org/issue13072  reopened by haypo

#15527: Double parens in functions references
http://bugs.python.org/issue15527  reopened by storchaka

#15552: gettext: if looking for .mo in default locations, also look in
http://bugs.python.org/issue15552  opened by Dominique.Leuenberger

#15553: Segfault in test_6_daemon_threads() of test_threading, on Mac 
http://bugs.python.org/issue15553  opened by haypo

#1: Default newlines of io.TextIOWrapper
http://bugs.python.org/issue1  opened by ishimoto

#15556: os.stat fails for file pending delete on Windows
http://bugs.python.org/issue15556  opened by jkloth

#15557: Tests for webbrowser module
http://bugs.python.org/issue15557  opened by anton.barkovsky

#15561: update subprocess docs to reference io.TextIOWrapper
http://bugs.python.org/issue15561  opened by cjerdonek

#15564: cgi.FieldStorage should not call read_multi on files
http://bugs.python.org/issue15564  opened by patrick.vrijlandt

#15566: tarfile.TarInfo.frombuf documentation is out of date
http://bugs.python.org/issue15566  opened by sebastinas

#15569: Doc doc: incorrect description of some roles as format-only
http://bugs.python.org/issue15569  opened by cjerdonek

#15570: email.header.decode_header parses differently
http://bugs.python.org/issue15570  opened by ddvoinikov

#15571: Python version of TextIOWrapper ignores "write_through" arg
http://bugs.python.org/issue15571  opened by ncoghlan

#15573: Support unknown formats in memoryview comparisons
http://bugs.python.org/issue15573  opened by skrah

#15574: IDLE crashes using clipboard copy command on OS X with ActiveT
http://bugs.python.org/issue15574  opened by Leon.Maurer

#15575: Tutorial is unclear on multiple imports of a module.
http://bugs.python.org/issue15575  opened by roysmith

#15576: importlib: ExtensionFileLoader not used to load packages from 
http://bugs.python.org/issue15576  opened by scoder

#15577: Real argc and argv in embedded interpreter
http://bugs.python.org/issue15577  opened by nordaux

#15578: Crash when modifying sys.modules during import
http://bugs.python.org/issue15578  opened by twouters

#15581: curses: segfault in addstr()
http://bugs.python.org/issue15581  opened by hut

#15582: Enhance inspect.getdoc to follow inheritance chains
http://bugs.python.org/issue15582  opened by ncoghlan

#15586: Provide some examples for usage of ElementTree methods/attribu
http://bugs.python.org/issue15586  opened by Sarbjit.singh

#15588: quopri: encodestring and decodestring handle bytes, not string
http://bugs.python.org/issue15588  opened by patrick.vrijlandt

#15589: Bus error on Debian sparc
http://bugs.python.org/issue15589  opened by skrah

#15590: --libs is inconsistent for python-config --libs and pkgconfig 
http://bugs.python.org/issue15590  opened by doko

#15591: when building the extensions, stdout is lost when stdout is re
http://bugs.python.org/issue15591  opened by doko

#15592: subprocess.communicate() breaks on no input with universal new
http://bugs.python.org/issue15592  opened by cjerdonek

#15593: urlparse.parse_qs documentation wrong re: urlencode
http://bugs.python.org/issue15593  opened by Rob.Kinyon

#15594: test_copyfile_named_pipe() fails on Mac OS X Snow Leopard: OSE
http://bugs.python.org/issue15594  opened by haypo

#15595: subprocess.Popen(universal_newlines=True) does not work for ce
http://bugs.python.org/issue15595  opened by cjerdonek

#15596: pickle: Faster serialization of Unicode strings
http://bugs.python.org/issue15596  opened by haypo

#15599: test_circular_imports() of test_threaded_import fails on FreeB
http://bugs.python.org/issue15599  opened by haypo

#15600: expose the finder details used by the FileFinder path hook
http://bugs.python.org/issue15600  opened by eric.snow

#15604: PyObject_IsTrue failure checks
http://bugs.python.org/issue15604  opened by storchaka

#15605: Explain sphinx documentation building in devguide
http://bugs.python.org/issue15605  opened by Daniel.Ellis

#15606: re.VERBOSE doesn't ignore certain whitespace
http://bugs.python.org/issue15606  opened by stevencollins

#15607: New print's argument "flush" is not mentioned in docstring
http://bugs.python.org/issue15607  opened by storchaka

#15608: Improve socketserver doc
http://bugs.python.org/issue15608  opened by terry.reedy

#15609: Format string: add more fast-path
http://bugs.python.org/issue15609  opened by haypo

#15610: PyImport_ImportModuleEx always fails in 3.3 with "ValueError: 
http://bugs.python.org/issue15610  opened by dmalcolm

#15611: devguide: add "core men

[Python-Dev] Tests of of 2.7 tip on Ubuntu 12.04 amd64

2012-08-10 Thread Juancarlo Añez (Apalala)

Hello,

Please let me know if this is normal:

1 test failed:
test_readline
1 test altered the execution environment:
test_subprocess
32 tests skipped:
test_aepack test_al test_applesingle test_bsddb test_bsddb185
test_bsddb3 test_cd test_cl test_curses test_dl test_gl
test_imageop test_imgfile test_kqueue test_linuxaudiodev
test_macos test_macostools test_msilib test_ossaudiodev
test_scriptpackages test_smtpnet test_socketserver test_startfile
test_sunaudiodev test_timeout test_tk test_ttk_guionly
test_urllib2net test_urllibnet test_winreg test_winsound
test_zipfile64
2 skips unexpected on linux2:
test_bsddb test_bsddb3

Thanks in advance,

--
Juancarlo

___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Tests of of 2.7 tip on Ubuntu 12.04 amd64

2012-08-10 Thread Brian Curtin
On Fri, Aug 10, 2012 at 3:52 PM, "Juancarlo Añez (Apalala)"
 wrote:
> Hello,
>
> Please let me know if this is normal:
>
> 1 test failed:
> test_readline
> 1 test altered the execution environment:
> test_subprocess
> 32 tests skipped:
> test_aepack test_al test_applesingle test_bsddb test_bsddb185
> test_bsddb3 test_cd test_cl test_curses test_dl test_gl
> test_imageop test_imgfile test_kqueue test_linuxaudiodev
> test_macos test_macostools test_msilib test_ossaudiodev
> test_scriptpackages test_smtpnet test_socketserver test_startfile
> test_sunaudiodev test_timeout test_tk test_ttk_guionly
> test_urllib2net test_urllibnet test_winreg test_winsound
> test_zipfile64
> 2 skips unexpected on linux2:
> test_bsddb test_bsddb3

It's never normal to have tests failing. Perhaps try running
test_readline directly and then report your findings on
http://bugs.python.org

As for the skips, those are fine. As for the unexpected skips, you
probably need to install bsddb in your system for those tests to be
executed.
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Tests of of 2.7 tip on Ubuntu 12.04 amd64

2012-08-10 Thread Antoine Pitrou
On Fri, 10 Aug 2012 16:07:53 -0500
Brian Curtin  wrote:

> On Fri, Aug 10, 2012 at 3:52 PM, "Juancarlo Añez (Apalala)"
>  wrote:
> > Hello,
> >
> > Please let me know if this is normal:
> >
> > 1 test failed:
> > test_readline
> > 1 test altered the execution environment:
> > test_subprocess
> > 32 tests skipped:
> > test_aepack test_al test_applesingle test_bsddb test_bsddb185
> > test_bsddb3 test_cd test_cl test_curses test_dl test_gl
> > test_imageop test_imgfile test_kqueue test_linuxaudiodev
> > test_macos test_macostools test_msilib test_ossaudiodev
> > test_scriptpackages test_smtpnet test_socketserver test_startfile
> > test_sunaudiodev test_timeout test_tk test_ttk_guionly
> > test_urllib2net test_urllibnet test_winreg test_winsound
> > test_zipfile64
> > 2 skips unexpected on linux2:
> > test_bsddb test_bsddb3
> 
> It's never normal to have tests failing. Perhaps try running
> test_readline directly and then report your findings on
> http://bugs.python.org

In any case, please also take a look at
http://docs.python.org/devguide/runtests.html

Regards

Antoine.


-- 
Software development and contracting: http://pro.pitrou.net


___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Tests of of 2.7 tip on Ubuntu 12.04 amd64

2012-08-10 Thread Juancarlo Añez
On Fri, Aug 10, 2012 at 4:37 PM, Brian Curtin  wrote:

> It's never normal to have tests failing. Perhaps try running
> test_readline directly and then report your findings on
> http://bugs.python.org
>

The test script depends on a readline function not available in readline 5
or 6. Reported.


> As for the skips, those are fine. As for the unexpected skips, you
> probably need to install bsddb in your system for those tests to be
> executed.
>

The bsddb development library was missing when I issued 'make'.

As to the others:

Is the bsddb185 test still relevant in 2.7?

Why is the imageops test disabled for amd64?

Thanks!

-- 
Juancarlo *Añez*
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [Python-checkins] cpython: update docstring per the extension package fix, refactor

2012-08-10 Thread Eric Snow
On Fri, Aug 10, 2012 at 2:17 PM, philip.jenvey
 wrote:
> http://hg.python.org/cpython/rev/e024f6ba5ed8
> changeset:   78487:e024f6ba5ed8
> user:Philip Jenvey 
> date:Fri Aug 10 11:53:54 2012 -0700
> summary:
>   update docstring per the extension package fix, refactor
>
> files:
>   Lib/importlib/_bootstrap.py | 9 +-
>   Python/importlib.h  |  3353 +++---
>   2 files changed, 1685 insertions(+), 1677 deletions(-)
>
>
> diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
> --- a/Lib/importlib/_bootstrap.py
> +++ b/Lib/importlib/_bootstrap.py
> @@ -1102,13 +1102,10 @@
>  raise
>
>  def is_package(self, fullname):
> -"""Return False as an extension module can never be a package."""
> +"""Return if the extension module is a package."""

s/Return if/Return True if/

-eric
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [Python-checkins] cpython: Issue #15502: Finish bringing importlib.abc in line with the current

2012-08-10 Thread Chris Jerdonek
On Fri, Aug 10, 2012 at 9:21 AM, brett.cannon
 wrote:
> http://hg.python.org/cpython/rev/0a75ce232f56
> changeset:   78485:0a75ce232f56
> user:Brett Cannon 
> date:Fri Aug 10 12:21:12 2012 -0400
> summary:
>   Issue #15502: Finish bringing importlib.abc in line with the current

> +  cache used by the finder. Used by :func:`invalidate_caches()` when

Minor style nit: the Dev Guide says not to include the trailing
parentheses in :func: text:

"func: The name of a Python function; dotted names may be used. The
role text should not include trailing parentheses to enhance
readability..."

(from http://hg.python.org/devguide/file/f518f23d06d5/documenting.rst#l888 )

(though I don't know why the Dev Guide says the opposite for :c:func:
and is silent on :meth:.)

On a related note: this may not be common knowledge, but it is
possible to hyperlink to a function definition while still showing
different text (in particular passed arguments) by using the following
Sphinx syntax:

  :func:`locale.getpreferredencoding(False) `

This is in the Dev Guide, but I haven't seen the construct used in
many places where it seems like it would be helpful and appropriate.

--Chris
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com