[issue31514] There is a problem with the setdefault type conversion in the tuple

2017-09-18 Thread sk xing

New submission from sk xing:

The setdefault method of the tuple allows the introduction of custom data 
types.At this point, the __repr__ method is implemented so that the returned 
data type has an error.The type of str is returned, but the int type is written 
to the tuple.Also, write str without quotation marks.
Look at the demo.py in the attachment

--
components: Windows
files: demo.py
messages: 302497
nosy: paul.moore, sk xing, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: There is a problem with the setdefault type conversion in the tuple
versions: Python 3.6
Added file: https://bugs.python.org/file47151/demo.py

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



troubleshooting

2016-04-04 Thread Sk. Amirul Islam
i recently installed the application but when i ran it it gave a 'runtime
error". i even reinstalled it. but it gives the same error everytime i try.
im eclosing a screenshot of the error . thank you
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: NumPy, SciPy, Python 3X Installation/compatibility issues

2014-09-23 Thread SK
Hi EK,
Did you figure out questions 1, 2 and 3? SciPy (0.14.0) on installation asks me 
for Python 2.7. First day on Python here, I am really struggling :/
Thanks,
SK

On Saturday, May 10, 2014 7:07:33 PM UTC+2, esa...@gmail.com wrote:
 Hi All--
 
 
 
 Let me state at the start that I am new to Python. I am moving away from 
 Fortran and Matlab to Python and I use all different types of numerical and 
 statistical recipes in my work. I have been reading about NumPy and SciPy and 
 could not find any definitive answers to my questions, below.  I had run into 
 many mostly installation problems that I could never get NumPy or SciPy to 
 work with Python 3.3 or newer.  I am using Windows7 64 bit OS. 
 
 A few questions:
 
 1.What are the latest versions of NumPy and SciPy that are compatible 
 with Python 3.3 or newer and Windows7 64 bit? 
 
 2.What is the best source to download and install them on my computer?
 
 3.Are they all installable on my OS w/o any major problems/addition?
 
 4.In the long run, would it be better to use UNIX instead of Windows, if 
 I were to use Python for all of my research?
 
 Thanks in advance. EK

-- 
https://mail.python.org/mailman/listinfo/python-list


Free chat for u.....hot.hot.....hot..............

2010-02-21 Thread sk raj
http://chattingfree.blogspot.com/
-- 
http://mail.python.org/mailman/listinfo/python-list


Why do you use python?

2009-10-31 Thread sk
What would be your answer if this question is asked to you in an
interview?

a modified version might be:
Where would you use python over C/C++/Java?

(because my resume says I know C/C++/Java)?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: multiprocessing and freezing on Windows

2009-07-18 Thread SK
Thanks Gabriel.

Posted as: http://bugs.python.org/issue6461

The multiprocessing author has tentatively confirmed the bug.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: multiprocessing and freezing on Windows

2009-07-04 Thread SK
To add a bit more information, I found that I needed to patch
get_command_line in multiprocessing/forking.py replacing:

if getattr(sys, 'frozen', False):
return [sys.executable, '--multiprocessing-fork']
else:
prog = 'from multiprocessing.forking import main; main()'
return [_python_exe, '-c', prog, '--multiprocessing-fork']

with:

if WINEXE:
prog = 'from multiprocessing.forking import main; main()'
return [_python_exe, '-c', prog, '--multiprocessing-fork']
elif getattr(sys, 'frozen', False):
return [sys.executable, '--multiprocessing-fork']
else:
prog = 'from multiprocessing.forking import main; main()'
return [_python_exe, '-c', prog, '--multiprocessing-fork']

and then using py2exe I can get a working frozen package if I
include pythonw.exe and a subset of Python's Lib directory in my
package and call multiprocessing.set_executable to point to that
pythonw.exe.

Does the above patch address a real bug?

Is packaging with multiprocessing supposed to be this hard? If so,
some documentation is needed.
-- 
http://mail.python.org/mailman/listinfo/python-list


multiprocessing and freezing on Windows

2009-07-02 Thread SK
Is there a method for freezing a Python 2.6 app using multiprocessing
on Windows using PyInstaller or py2exe that works? It is trying to
call my executable instead of python.exe when the process starts and
passes it --multiprocessing-fork . Adding a freeze_support() to my
main doesn't help. Do I have to bundle all of Python and use
set_executable() to point to the bundled python.exe? I can't find any
workable information on the canonical way to do this.

Thanks!
-- 
http://mail.python.org/mailman/listinfo/python-list


[issue3924] cookielib chokes on non-integer cookie version, should ignore it instead

2009-04-08 Thread Andy Sk

Andy Sk python...@bitjug.com added the comment:

Thank you Henrik.  The workaround in the first comment caused some
cookies to be handled incorrectly due to ignoring version on all
cookies, but your workaround is nice.  

It seems that the patch jjlee supplied should really be applied,
however, to save others from having this problem.

--
nosy: +andysk

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3924
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2191] SubProcess Startup error

2008-02-25 Thread Madhusudan SK

New submission from Madhusudan SK:

After installing the Python.msi x86 installer on an Intel P4 machine 
running Windows XP SP2, I am getting the error Subprocess startup 
error and when i click OK on the dialog box the Python IDLE closes. I 
do not have Microsoft Visual Studio installed on my system but do have 
the .NET framework 1.1 installed. The reason code in the pop up says 
either the IDLE cannot start a subprocess or a firewall is blocking the 
connection. Is it necessary that the anitvirus/firewall software needs 
to be disabled before installing Python 3.0 or is it the case as 
mentioned in the http://www.python.org/download/releases/3.0/ Read 
this first section i.e. python30.dll cannot be installed in system32 
folder?

--
components: IDLE
files: Python3.0a IDLE startup error.htm
messages: 62996
nosy: madhusudan.sk
severity: major
status: open
title: SubProcess Startup error
type: crash
versions: Python 3.0
Added file: http://bugs.python.org/file9554/Python3.0a IDLE startup error.htm

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2191
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2191] SubProcess Startup error

2008-02-25 Thread Madhusudan SK

Madhusudan SK added the comment:

One more thing i am already running Python 2.5.2 and concurrently 
installed Python 3.0 a without uninstalling the 2.5.2.

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2191
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2191] SubProcess Startup error

2008-02-25 Thread Madhusudan SK

Madhusudan SK added the comment:

hi,
thanks so much for the clarification but i never faced this problem
with 2.5.2. This is the only instance of pyhton that causes the
mentioned error.

On 2/26/08, Facundo Batista [EMAIL PROTECTED] wrote:

 Facundo Batista added the comment:

 IDLE works in a server/client configuration with itself. Most probably
 the firewall is blocking IDLE's connections.

 Best way to try this is full disabling the firewall, and trying.

 If it works, remember to activate the firewall back, and configure it
 properly to work with IDLE.

 --
 nosy: +facundobatista
 resolution:  - works for me
 status: open - closed

 __
 Tracker [EMAIL PROTECTED]
 http://bugs.python.org/issue2191
 __


__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2191
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com