[issue826897] Proto 2 pickle vs dict subclass

2014-09-08 Thread Andres Riancho
Andres Riancho added the comment: Well, closing this as wont-fix is far from ideal. +4 years have past from the last activity in this issue but people are still being hit by this issue. In my case I'm not creating any special sub-class, I just use one of Python's built-in libs: ```python

[issue826897] Proto 2 pickle vs dict subclass

2014-09-08 Thread Andres Riancho
Andres Riancho added the comment: Django's issue [0] shows the ugly code people write to work around this python bug. [0] https://code.djangoproject.com/ticket/15863 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue826897

[issue826897] Proto 2 pickle vs dict subclass

2014-09-08 Thread Andres Riancho
Changes by Andres Riancho andres.rian...@gmail.com: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue826897 ___ ___ Python

[issue826897] Proto 2 pickle vs dict subclass

2014-09-08 Thread Andres Riancho
Changes by Andres Riancho andres.rian...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue826897 ___ ___ Python-bugs

[issue826897] Proto 2 pickle vs dict subclass

2014-09-08 Thread Andres Riancho
Andres Riancho added the comment: FYI, I'm using Python 2.7.6 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue826897 ___ ___ Python-bugs-list

[issue14881] multiprocessing.dummy craches when self._parent._children does not exist

2013-10-18 Thread Andres Riancho
Andres Riancho added the comment: Is this a duplicate for http://bugs.python.org/issue10015 #10015 ? -- nosy: +Andres.Riancho ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14881

[issue17836] multiprocessing exceptions with useful traceback

2013-04-24 Thread Andres Riancho
New submission from Andres Riancho: In pool.py, the worker function reads as follows: http://svn.python.org/view/python/trunk/Lib/multiprocessing/pool.py?view=markup 68 job, i, func, args, kwds = task 69 try: 70 result = (True, func(*args, **kwds)) 71

[issue11280] urllib2 http_error_302 calls undefined getheaders method

2011-02-22 Thread Andres Riancho
Andres Riancho andres.rian...@gmail.com added the comment: Please take a deeper look. I think you're trusting the old code more than my bug report. Some things to keep in mind: * The headers parameter is a dict. It will never have a getheaders method * The If you search the whole urllib2.py

[issue11280] urllib2 http_error_302 calls undefined getheaders method

2011-02-22 Thread Andres Riancho
Andres Riancho andres.rian...@gmail.com added the comment: One more comment to be added. Please take a look at the following [0] w3af bug report. The interesting part starts at [ Sun Nov 28 01:25:47 2010 - debug ] Traceback (most recent call last):. In there you'll find that my w3af code had

[issue11280] urllib2 http_error_302 calls undefined getheaders method

2011-02-22 Thread Andres Riancho
Andres Riancho andres.rian...@gmail.com added the comment: Yes, the traceback was in my code because as I stated before: my w3af code had a section of urllib2's code in logHandler.py in other words, I copy+pasted a section of urllib2 into my code. Can't provide a test case now, sorry

[issue7920] urllib2.HTTPRedirectHandler incorrect redirect

2010-02-13 Thread Andres Riancho
Andres Riancho andresrian...@users.sourceforge.net added the comment: The problem is still there in 2.7: urlparts = urlparse.urlparse('C:\\boot.ini') urlparts ('c', '', '\\boot.ini', '', '', '') if not urlparts.path: ... urlparts = list(urlparts) ... urlparts[2] = / ... urlparts

[issue7920] urllib2.HTTPRedirectHandler incorrect redirect

2010-02-12 Thread Andres Riancho
New submission from Andres Riancho andresrian...@users.sourceforge.net: Buggy code: if 'location' in headers: newurl = headers.getheaders('location')[0] elif 'uri' in headers: newurl = headers.getheaders('uri')[0] else: return

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-10 Thread Andres Riancho
Andres Riancho [EMAIL PROTECTED] added the comment: - Problem: The secure flag of cookies is ignored by the load method. - Why is it related to this issue? Because the secure flag is a name without a value: pie=good; other=thing; secure - Why is it bad? Because the RFC says that we should

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-09 Thread Andres Riancho
Andres Riancho [EMAIL PROTECTED] added the comment: My problem, and the problem if the original bug reporter (sirilyan) is that the load method ignores names that don't have values. Quoting the original bug report: import Cookie q = Cookie.SimpleCookie(pie=good; broken; other=thing) q

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-08 Thread Andres Riancho
Andres Riancho [EMAIL PROTECTED] added the comment: The RFC I'm talking about is: http://www.ietf.org/rfc/rfc2109.txt ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1028088

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-07 Thread Andres Riancho
Andres Riancho [EMAIL PROTECTED] added the comment: Sorry to bother you guys after so much time, but I think that there is at least one bit of the RFC that isn't respected by this name=value thing... If we look at the RFC we'll see this: cookie-av = Comment = value

[issue1401] urllib2 302 POST

2007-11-09 Thread Andres Riancho
Andres Riancho added the comment: As I said in my original bug report, if you don't remove the content-length header or add the data, you are sending an invalid request: START Request= GET http://f00/1.php HTTP/1.1 Content-length: 63 Accept-encoding: identity Accept: */* User-agent

[issue1401] urllib2 302 POST

2007-11-08 Thread Andres Riancho
Andres Riancho added the comment: As mentioned in the RFC, and quoted by orsenthil, however, most existing user agent implementations treat 302 as if it were a 303 response, which is true for urllib2.py too ( see line 585 ): http_error_301 = http_error_303 = http_error_307 = http_error_302

[issue1401] urllib2 302 POST

2007-11-08 Thread Andres Riancho
Andres Riancho added the comment: According to the RFC: If urllib2 gets a 302 in response to a request, it MUST send the *same* request to the URI specified in the Location header, without modifying the method, headers, or any data (urllib2 is not RFC compliant here) In urllib2, a 301

[issue1401] urllib 302 POST

2007-11-07 Thread Andres Riancho
New submission from Andres Riancho: There is an error in urllib2 when doing a POST request to a URI that responds with a 302 redirection. The problem is in urllib2.py:536, where the HTTPRedirectHandler creates the new Request based on the original one: newurl = newurl.replace

[issue1401] urllib2 302 POST

2007-11-07 Thread Andres Riancho
Changes by Andres Riancho: -- title: urllib 302 POST - urllib2 302 POST __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1401 __ ___ Python-bugs-list mailing list

[issue1217] infinite loop in re module

2007-09-27 Thread Andres Riancho
Andres Riancho added the comment: Have you tested it ? Is the re.findall() finishing it's work ? I left it working for 5 minutes or more, and got no response. Cheers, __ Tracker [EMAIL

[issue1217] infinite loop in re module

2007-09-27 Thread Andres Riancho
Andres Riancho added the comment: I think this should be reopened. The findall call is running for 3 hours now. I think that it's a clear case of an infinite loop. __ Tracker [EMAIL