This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Quentin Millardet
Recipients Quentin Millardet, steven.daprano
Date 2018-05-02.14:55:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525272913.02.0.682650639539.issue33411@psf.upfronthosting.co.za>
In-reply-to
Content
In a bash terminal, obtained result: 

$python > Normal.txt 2> Error.txt
import a
$cat Normal.txt 
$cat Error.txt 
Python 2.7.12 (default, Dec  4 2017, 14:50:18) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named a
>>> 
$


That i was expected  :

$python > Normal.txt 2> Error.txt
import a
$cat Normal.txt 

Python 2.7.12 (default, Dec  4 2017, 14:50:18) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> $cat Error.txt 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named a
$
History
Date User Action Args
2018-05-02 14:55:13Quentin Millardetsetrecipients: + Quentin Millardet, steven.daprano
2018-05-02 14:55:13Quentin Millardetsetmessageid: <1525272913.02.0.682650639539.issue33411@psf.upfronthosting.co.za>
2018-05-02 14:55:13Quentin Millardetlinkissue33411 messages
2018-05-02 14:55:12Quentin Millardetcreate