[issue3678] Ignored LDFLAGS during linking libpython$(VERSION).so

2008-08-29 Thread Ali Polatel
Changes by Ali Polatel [EMAIL PROTECTED]: -- nosy: +hawking ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3678 ___ ___ Python-bugs-list mailing list

[issue3563] fix_idioms.py generates bad code

2008-08-16 Thread Ali Polatel
New submission from Ali Polatel [EMAIL PROTECTED]: fix_idioms.py generates bad code for conversions in try/except blocks. Example: s=(1, 2, 3) try: t = list(s) t.sort() except TypeError: pass fix_idioms.py generates this diff: --- test.py (original) +++ test.py (refactored) @@ -7,8

[issue756093] complex pow() crash on Alpha

2008-05-25 Thread Ali Polatel
Ali Polatel [EMAIL PROTECTED] added the comment: Probably related to this. test_pow fails on alpha with both 2.4.4 and 2.5.2. test test_pow failed -- Traceback (most recent call last): File /var/tmp/portage/dev-lang/python-2.4.4-r9/work/Python-2.4.4/Lib/test/test_pow.py, line 109

[issue1651995] sgmllib _convert_ref UnicodeDecodeError exception, new in 2.5

2007-11-01 Thread Ali Polatel
Changes by Ali Polatel: -- nosy: +hawking _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1651995 _ ___ Python-bugs-list mailing list Unsubscribe: http

Programming challenge (C++ and Python)

2005-02-01 Thread Ali Polatel
://ftp.chessclub.com/pub/icc/interface/blitzin2/plugins/ under the name PluginDevkit.zip Any kind of help is appreciated. Regards, Ali Polatel Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'-- http://mail.python.org/mailman/listinfo/python-list

Proxy

2005-01-29 Thread Ali Polatel
is it possible to connect to somewhere through a proxy while using sockets module of Python to connect? If yes can you show me some basic examples? regards Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'-- http://mail.python.org/mailman/listinfo/python-list

Re: on the way to find pi!

2005-01-24 Thread Ali Polatel
when we change the code that way the programme gets awful slow when I want to calculate say 100 digits or more .Can't we just get the numbers out of there without changing the code radically thus not making the programme sloww? Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'--

on the way to find pi!

2005-01-23 Thread Ali Polatel
dear friends , I found acode which calculates pi with an interesting algorithm the programme code is below: from sys import stdout def f((q,r,t,k)): n = (3*q+r) / t if (4*q+r) / t == n: return (10*q,10*(r-n*t),t,k,n) else: return (q*k, q*(4*k+2)+r*(2*k+1),t*(2*k+1),k+1) # Call pi(20) for first 20

Re: on the way to find pi!

2005-01-23 Thread Ali Polatel
that's just little near to pi... pi is so far away ;)__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://mail.python.org/mailman/listinfo/python-list

Re: on the way to find pi!

2005-01-23 Thread Ali Polatel
write the code type str(pi(5)) and see what I mean__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://mail.python.org/mailman/listinfo/python-list

Python Scripting

2005-01-22 Thread Ali Polatel
Hi Dear Python programmers, I want to ask you a question about python scripting.I want to know if I can design web-pages with python or at least write html files with python. and if I write html files with python and some CGI scripts and upload them to the web-page .. does the people who view