[issue7984] missing dependencies using cProfile

2010-02-22 Thread Mezhenin Artyom

New submission from Mezhenin Artyom a.mezhe...@gmail.com:

1) I have ubuntu 9.10 and python2.6 (and 2.5 too).
2) execution code like that:

  if __name__ == __main__:
  import cProfile
  cProfile.run('main()')

gives me traceback:

Traceback (most recent call last):
  File ./scribo.py, line 60, in module
cProfile.run('main()')
  File /usr/lib/python2.6/cProfile.py, line 36, in run
result = prof.print_stats(sort)
  File /usr/lib/python2.6/cProfile.py, line 80, in print_stats
import pstats
ImportError: No module named pstats

so I had to install python-profiler package manually

--
components: None
messages: 99739
nosy: artech
severity: normal
status: open
title: missing dependencies using cProfile
type: crash
versions: Python 2.6

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



[issue7866] it looks like a typo in unittest

2010-02-06 Thread Mezhenin Artyom

New submission from Mezhenin Artyom a.mezhe...@gmail.com:

Try to run any test a you will see something like this:

./TestModule.py 
...
--
Ran 7 tests in 0.069s

OK

But there is no word Ran in English. I think the word is Run.

--
components: Tests
messages: 98943
nosy: artech
severity: normal
status: open
title: it looks like a typo in unittest
versions: Python 2.6

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



[issue7866] it looks like a typo in unittest

2010-02-06 Thread Mezhenin Artyom

Mezhenin Artyom a.mezhe...@gmail.com added the comment:

Same text here:
http://docs.python.org/library/unittest.html#basic-example

--

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



[issue7866] it looks like a typo in unittest

2010-02-06 Thread Mezhenin Artyom

Mezhenin Artyom a.mezhe...@gmail.com added the comment:

Sorry, I'm from Russia.

P.S. http://translate.google.com/ sucks =)

--

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