[issue17143] trace.py uses _warn without importing it

2013-02-19 Thread Ezio Melotti
Ezio Melotti added the comment: This should be fixed now. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue17143] trace.py uses _warn without importing it

2013-02-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 662f97427acf by Ezio Melotti in branch '3.3': #17143: fix buildbot failures on Windows. http://hg.python.org/cpython/rev/662f97427acf New changeset 1bf0ff7db856 by Ezio Melotti in branch 'default': #17143: merge with 3.3. http://hg.python.org/cpytho

[issue17143] trace.py uses _warn without importing it

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: The windows buildbots are failing with the following error: ERROR: test_deprecated_find_strings (test.test_trace.TestDeprecatedMethods) -- Traceback (most recent call last): File "C:\buildbot.pyt

[issue17143] trace.py uses _warn without importing it

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! I changed a couple of things: 1) test_deprecated_usage was printing the usage on stderr while running the tests -- I changed it to use a StringIO and added a minimal test to check that the usage is actually written; 2)

[issue17143] trace.py uses _warn without importing it

2013-02-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f8b5fcbf07e by Ezio Melotti in branch '3.3': #17143: fix a missing import in the trace module. Initial patch by Berker Peksag. http://hg.python.org/cpython/rev/3f8b5fcbf07e New changeset 46e9f668aea9 by Ezio Melotti in branch 'default': #17143: m

[issue17143] trace.py uses _warn without importing it

2013-02-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Eric, do you want to commit? -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue17143] trace.py uses _warn without importing it

2013-02-14 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: -Ronald.Chapman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue17143] trace.py uses _warn without importing it

2013-02-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- hgrepos: -174 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue17143] trace.py uses _warn without importing it

2013-02-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- Removed message: http://bugs.python.org/msg182097 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue17143] trace.py uses _warn without importing it

2013-02-14 Thread Ronald Chapman
Ronald Chapman added the comment: Islamabad l guythen vkd dudziozl -- hgrepos: +174 nosy: +Ronald.Chapman ___ Python tracker ___ ___ P

[issue17143] trace.py uses _warn without importing it

2013-02-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue17143] trace.py uses _warn without importing it

2013-02-08 Thread Éric Araujo
Éric Araujo added the comment: Great patch with tests. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17143] trace.py uses _warn without importing it

2013-02-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review type: -> behavior versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs

[issue17143] trace.py uses _warn without importing it

2013-02-06 Thread Berker Peksag
Berker Peksag added the comment: Patch attached with tests. -- keywords: +patch nosy: +berker.peksag Added file: http://bugs.python.org/file28979/issue17143.diff ___ Python tracker _

[issue17143] trace.py uses _warn without importing it

2013-02-06 Thread Dmitry Jemerov
Dmitry Jemerov added the comment: Workaround: "import warnings; trace._warn = warnings.warn" after importing trace -- ___ Python tracker ___ _

[issue17143] trace.py uses _warn without importing it

2013-02-06 Thread Dmitry Jemerov
New submission from Dmitry Jemerov: trace.py in Python 3.3 standard library uses the _warn function without importing it. As a result, an attempt to use a now-deprecated function fails with a NameError: > python3 Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 01:25:11) [GCC 4.2.1 (Apple Inc.