[Python-Dev] [issue19494] Problems with HTTPBasicAuthHandler

2013-11-20 Thread Matej Cepl
Hello, I am trying to work on fixing issue 19494 (HTTPBasicAuthHandler doesn't work with Github and other websites which require prior Authorization header in the first request). I have created this testing script calling GitHub v3 API using new “authentication handlers” (they are subclasses

Re: [Python-Dev] Difference in RE between 3.2 and 3.3 (or Aaron Swartz memorial)

2013-05-05 Thread Matej Cepl
- Original Message - > From: "Armin Rigo" > To: "Matej Cepl" > Cc: python-dev@python.org > Sent: Saturday, May 4, 2013 11:59:42 AM > Subject: Re: [Python-Dev] Difference in RE between 3.2 and 3.3 (or Aaron > Swartz memorial) > > Hi Matej,

Re: [Python-Dev] Difference in RE between 3.2 and 3.3 (or Aaron Swartz memorial)

2013-03-07 Thread Matej Cepl
On 2013-03-06, 18:34 GMT, Victor Stinner wrote: > In short, Unicode was rewritten in Python 3.3 for the PEP 393. It's > not surprising that minor details like singleton differ. You should > not use "is" to compare strings in Python, or your program will fail > on other Python implementations (like

Re: [Python-Dev] Suggested addition to PEP 8 for context managers

2012-04-17 Thread Matej Cepl
On 16.4.2012 18:10, Nam Nguyen wrote: a_list[pos + 1 : -1] or other way around a_list[pos+1:-1] ? Matěj ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mai

Re: [Python-Dev] .{git,bzr}ignore in cpython HG repo

2012-04-02 Thread Matej Cepl
On 2.4.2012 05:26, Scott Dial wrote: Create an issue on the bug tracker. In the meantime, you can either commit the change to your clone, or you can put your ignores into .git/info/exclude. No reason to be so sore about it, since Git lets you have your own ignore file without requiring it be a tr

Re: [Python-Dev] PEP 414 - Unicode Literals for Python 3

2012-02-28 Thread Matej Cepl
On 28.2.2012 01:16, mar...@v.loewis.de wrote: Armin, I propose that you correct the *factual* deficits of the PEP He cannot, because he would have to throw away whole PEP ... it is all based on non-sensical concept of "native string". There is no such animal (there are only strings and bytes,