[issue18642] enhancement for operator 'assert'

2013-08-03 Thread mrDoctorWho0 .

mrDoctorWho0 . added the comment:

Assert with this feature will make code simplest. Simplification isn't python 
way? Why don't add it in python? It's must be really useful. Sometimes its 
necessary, when need to catch specified exception. Its easier to search errors 
by type, not by error body

------
nosy: +mrDoctorWho0..

___
Python tracker 
<http://bugs.python.org/issue18642>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11220] Sometimes library raises URLError when trying POST with httpS

2013-09-20 Thread mrDoctorWho0 .

mrDoctorWho0 . added the comment:

Trying to use POST-request to https://vk.com and sometimes library raise an 
error.
  File "library/vkApi.py", line 31, in post
response = self.Opener.open(request)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: 

--
components: +Library (Lib) -None
nosy: +mrDoctorWho0..
title: https sslv3 error 14077417: illegal parameter -> Sometimes library 
raises URLError when trying POST with httpS
versions: +Python 2.7 -Python 2.6, Python 3.1
Added file: http://bugs.python.org/file31824/code.py

___
Python tracker 
<http://bugs.python.org/issue11220>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11220] Sometimes library raises URLError when trying POST with httpS

2013-09-20 Thread mrDoctorWho0 .

mrDoctorWho0 . added the comment:

oops! wrong place!

--

___
Python tracker 
<http://bugs.python.org/issue11220>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11220] Sometimes library raises URLError when trying POST with httpS

2013-09-20 Thread mrDoctorWho0 .

Changes by mrDoctorWho0 . :


Removed file: http://bugs.python.org/file31824/code.py

___
Python tracker 
<http://bugs.python.org/issue11220>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19057] Sometimes urllib2 raises URLError when trying POST with httpS

2013-09-20 Thread mrDoctorWho0 .

New submission from mrDoctorWho0 .:

Trying to use POST-request to https://vk.com and sometimes library raise an 
error.
  File "library/vkApi.py", line 31, in post
response = self.Opener.open(request)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: 

This exception appears randomly, connection is ok 100%. I tried it on different 
machines with python 2.7.4 and 2.7.3.

--
components: Library (Lib)
files: code.py
messages: 198141
nosy: mrDoctorWho0..
priority: normal
severity: normal
status: open
title: Sometimes urllib2 raises URLError when trying POST with httpS
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file31825/code.py

___
Python tracker 
<http://bugs.python.org/issue19057>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17970] Mutlithread XML parsing cause segfault

2013-05-13 Thread mrDoctorWho0 .

New submission from mrDoctorWho0 .:

Linux i386, Python 2.7.4. Multithread xml parsing via pyexpat cause 
segmentation fault

--
components: XML
files: pyexpat_crash_multithread.py
messages: 189131
nosy: mrDoctorWho0..
priority: normal
severity: normal
status: open
title: Mutlithread XML parsing cause segfault
versions: Python 2.7
Added file: http://bugs.python.org/file30250/pyexpat_crash_multithread.py

___
Python tracker 
<http://bugs.python.org/issue17970>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com