From owner-freebsd-python@FreeBSD.ORG Mon Aug 26 13:28:13 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4384A32C for ; Mon, 26 Aug 2013 13:28:13 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A28A52442 for ; Mon, 26 Aug 2013 13:28:12 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id eh20so2316262lab.19 for ; Mon, 26 Aug 2013 06:28:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version; bh=VotpIF1KvGBInBvwkYzYotkFvTXQgGIeVBUKQ0vaibQ=; b=Myl+O3dDaTe9nL4aan75KMOeK/HwTzEjuD005k18/OWRdOgHgVTKb4E2Ig8ekzA/Zv vsYXUZDJr+4P55cX7uAaJpoHRQQm7LRa8f+o6DaHB6aBShpFWk35MInaCvyDOZL+qdXz skXSvWyqoO4csvsjqSMJRJni4UwB3NK7ITUTn8bPbgjc+dZ40I+rphpjixKcKXE5yCoY G1g7Z73OFKhSLqshih0e99GQDh/nrMVBV/IDgjdW1EdSs1Y2nM0yebuscgc/HhQticbh FoUsNmAmbwOViaVwOmBemgGOXAbmlHpp4ObYnaFcwsYWug/z3xQnrbPkgJEY282aqqo7 Xhig== X-Received: by 10.152.120.228 with SMTP id lf4mr752154lab.44.1377523690670; Mon, 26 Aug 2013 06:28:10 -0700 (PDT) Received: from dhcp174-208-red.yandex.net (dhcp174-208-red.yandex.net. [95.108.174.208]) by mx.google.com with ESMTPSA id i9sm5839987laa.3.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 Aug 2013 06:28:09 -0700 (PDT) From: Dmitry Sivachenko Content-Type: multipart/mixed; boundary="Apple-Mail=_B4F44D1A-9D7A-4222-958F-C0D52AFC0C2D" Subject: Unable to install pt-distribute on FreeBSD-current with python3 Message-Id: <13507354-54C6-4CC3-9F48-E0E962BE7F9D@FreeBSD.org> Date: Mon, 26 Aug 2013 17:28:08 +0400 To: "python@FreeBSD.org" Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-Mailer: Apple Mail (2.1508) X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 13:28:13 -0000 --Apple-Mail=_B4F44D1A-9D7A-4222-958F-C0D52AFC0C2D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hello! I am using FreeBSD-current with python3.3 compiled from ports. When I try to install py-distribute modules, installation script hangs: byte-compiling = build/bdist.freebsd-10.0-CURRENT-amd64/egg/setuptools/tests/test_upload_do= cs.py to test_upload_docs.cpython-33.pyc byte-compiling = build/bdist.freebsd-10.0-CURRENT-amd64/egg/setuptools/tests/__init__.py = to __init__.cpython-33.pyc byte-compiling = build/bdist.freebsd-10.0-CURRENT-amd64/egg/_markerlib/markers.py to = markers.cpython-33.pyc byte-compiling = build/bdist.freebsd-10.0-CURRENT-amd64/egg/_markerlib/__init__.py to = __init__.cpython-33.pyc writing byte-compilation script '/tmp/tmpj9wdmz.py' /usr/local/bin/python3.3 -O /tmp/tmpj9wdmz.py top(1) shown that python3.3 process is in ttyin state: 63174 root 1 52 0 25096K 8540K ttyin 1 0:00 0.00% = python3 If I run /usr/local/bin/python3.3 -O /tmp/tmpj9wdmz.py command manually, = it also hangs. I am attaching tmpj9wdmz.py script. If I press Ctrl+D while it waits, I = get the following: Traceback (most recent call last): File "/tmp/tmpj9wdmz.py", line 1, in from distutils.util import byte_compile File "/usr/local/lib/python3.3/distutils/util.py", line 9, in import imp File "/usr/local/lib/python3.3/imp.py", line 28, in import tokenize File "/usr/local/lib/python3.3/tokenize.py", line 37, in __all__ =3D token.__all__ + ["COMMENT", "tokenize", = "detect_encoding", AttributeError: 'module' object has no attribute '__all__' Anyone else can reproduce that? (Only with python3 and FreeBSD-10) Thanks! --Apple-Mail=_B4F44D1A-9D7A-4222-958F-C0D52AFC0C2D--