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

[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 rep...@bugs.python.org http://bugs.python.org/issue17143 ___ ___

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

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

[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

[issue17143] trace.py uses _warn without importing it

2013-02-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17143 ___ ___

[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 rep...@bugs.python.org http://bugs.python.org/issue17143 ___

[issue17143] trace.py uses _warn without importing it

2013-02-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- Removed message: http://bugs.python.org/msg182097 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17143 ___

[issue17143] trace.py uses _warn without importing it

2013-02-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- hgrepos: -174 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17143 ___ ___ Python-bugs-list

[issue17143] trace.py uses _warn without importing it

2013-02-14 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: -Ronald.Chapman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17143 ___ ___

[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 rep...@bugs.python.org http://bugs.python.org/issue17143 ___ ___

[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 rep...@bugs.python.org http://bugs.python.org/issue17143 ___ ___

[issue17143] trace.py uses _warn without importing it

2013-02-07 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: - patch review type: - behavior versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17143 ___

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

[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 rep...@bugs.python.org http://bugs.python.org/issue17143 ___

[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 rep...@bugs.python.org http://bugs.python.org/issue17143