[issue18566] In unittest.TestCase docs for setUp() and tearDown() don't mention AssertionError

2014-03-14 Thread Sreepriya Chalakkal
Changes by Sreepriya Chalakkal : Added file: http://bugs.python.org/file34420/doc18566.patch ___ Python tracker <http://bugs.python.org/issue18566> ___ ___ Python-bug

[issue20692] Tutorial and FAQ: how to call a method on an int

2014-03-14 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: In tutorials, under section 3.1.1 - Numbers, it is mentioned about the type of integers. And also a statement as "we will see more about numeric types later in the tutorial". May be we can mention about type class there. But it might be to

[issue17110] sys.argv docs should explaining how to handle encoding issues

2014-03-15 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: I tried running with Python 3.4 the following code import sys print(sys.argv[1]) print(b'bytes') And I ran as follows trying to run with a different encoding. $ python ~/a.py `echo priya|iconv -t latin1` priya bytes There was no unicode en

[issue19662] smtpd.py should not decode utf-8

2014-03-17 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: Hi David, I would like to work on this bug. Can you give some more insights about the main issue? As far as I understood, the smtp server is now decoding the incoming bytes as UTF-8. Why do you say that it is not the right way? Can you give some idea

[issue17110] sys.argv docs should explaining how to handle encoding issues

2014-03-17 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: You are right. Instead of running ./python inside the python directory, I ran the default python of older version! Based on the stackoverflow link given, I tried to make some documentation. I am attaching the patch! -- keywords: +patch Added file

[issue19662] smtpd.py should not decode utf-8

2014-04-02 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: Hi David, The variable decode_data is included to control decoding. But I am not sure what needs to be done while calling the process_message inside found_terminator when it is binary data. How to work around with binary data? Can you tell me what are

[issue19662] smtpd.py should not decode utf-8

2014-04-02 Thread Sreepriya Chalakkal
Changes by Sreepriya Chalakkal : Added file: http://bugs.python.org/file34704/switch_while_decode2.patch ___ Python tracker <http://bugs.python.org/issue19662> ___ ___

[issue19662] smtpd.py should not decode utf-8

2014-04-24 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: Hi Maciej, I am travelling now and it might take some delay for me to work on this! I got to know that you are working on RFC 6532. You might take this up and fix it as this is related to your work and I don't want to create d

[issue20692] Tutorial section 9.4 and FAQ: how to call a method on an int

2014-03-11 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: This is a patch that includes the faq. -- keywords: +patch nosy: +sreepriya Added file: http://bugs.python.org/file34352/doc1.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20692] Tutorial section 9.4 and FAQ: how to call a method on an int

2014-03-11 Thread Sreepriya Chalakkal
Sreepriya Chalakkal added the comment: New patch after first review. -- Added file: http://bugs.python.org/file34355/doc2.patch ___ Python tracker <http://bugs.python.org/issue20

[issue20692] Tutorial section 9.4 and FAQ: how to call a method on an int

2014-03-12 Thread Sreepriya Chalakkal
Changes by Sreepriya Chalakkal : Added file: http://bugs.python.org/file34375/doc3.patch ___ Python tracker <http://bugs.python.org/issue20692> ___ ___ Python-bugs-list m

[issue20692] Tutorial section 9.4 and FAQ: how to call a method on an int

2014-03-12 Thread Sreepriya Chalakkal
Changes by Sreepriya Chalakkal : Added file: http://bugs.python.org/file34382/doc4.patch ___ Python tracker <http://bugs.python.org/issue20692> ___ ___ Python-bugs-list m