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 jader.fabiano
Recipients barry, jader.fabiano, r.david.murray
Date 2014-05-06.19:51:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAPL4z65d=VV7qVvTf59jwLKadFUcDS7cwKX=VjqyfCw5+xRzUw@mail.gmail.com>
In-reply-to <1399404683.91.0.30453729315.issue21448@psf.upfronthosting.co.za>
Content
I am openning a file and I am passing the File Descriptor to this function
Parse().parse( fp ):
This file has two attachments
Example:
self.fileDescriptor( file, 'rb')
headers = Parser().parse(self.fileDescriptor )
#Here the process starts to consume  100% of the CPU and It takes around
four minutes to go the next line.
print 'Headers OK'

The File's size is 12M

Thanks.

2014-05-06 16:31 GMT-03:00 R. David Murray <report@bugs.python.org>:

>
> R. David Murray added the comment:
>
> Can you provide more details on how to reproduce the problem, please?  For
> example, a sample message and the sequence of python calls you use to parse
> it.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue21448>
> _______________________________________
>
History
Date User Action Args
2014-05-06 19:51:14jader.fabianosetrecipients: + jader.fabiano, barry, r.david.murray
2014-05-06 19:51:14jader.fabianolinkissue21448 messages
2014-05-06 19:51:14jader.fabianocreate