Bug report - Python 3.10 from Microsoft Store - IDLE won't start

2022-11-29 Thread Johan Gunnarsson via Python-list
Hello, IDLE won't start if ver. 3.10 is installed from Microsoft Store. 3.9 works just fine. Thanks in advance! Johan Gunnarsson Lunds universitet Medicinska fakulteten Bibliotek & IKT Box 118, 221 00 Lund<https://webmail.lu.se/owa/> Besöksadress: Sölvegatan 19, 221 84

[issue42115] Caching infrastructure for the evaluation loop: specialised opcodes

2021-01-09 Thread Johan Dahlin
Change by Johan Dahlin : -- nosy: +Johan Dahlin ___ Python tracker <https://bugs.python.org/issue42115> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41913] EnvBuilder.install_scripts should use explicit permissions

2020-10-02 Thread Johan Herland
Change by Johan Herland : -- nosy: +jherland ___ Python tracker <https://bugs.python.org/issue41913> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37868] `is_dataclass` returns `True` if `getattr` always succeeds.

2019-08-15 Thread Johan Hidding
New submission from Johan Hidding : Given a class `A` that overloads `__getattr__` ``` class A: def __getattr__(self, key): return 0 ``` An instance of this class is always identified as a dataclass. ``` from dataclasses import is_dataclass a = A() print(is_dataclass(a)) ``` gives

[issue37763] Need setup.py to pick up -isystem flags from CPPFLAGS

2019-08-05 Thread Johan Herland
Change by Johan Herland : -- keywords: +patch pull_requests: +14874 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15136 ___ Python tracker <https://bugs.python.org/issu

[issue37763] Need setup.py to pick up -isystem flags from CPPFLAGS

2019-08-05 Thread Johan Herland
New submission from Johan Herland : First time contributor here, still learning the ropes. We're cross-compiling python in an environment where we set up CPPFLAGS, LDFLAGS, etc. to point directly to the locations where we have built Python's dependencies. For example, we will typically build

[issue33608] [subinterpreters] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2018-11-10 Thread Johan Dahlin
Change by Johan Dahlin : -- nosy: +Johan Dahlin ___ Python tracker <https://bugs.python.org/issue33608> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34242] configparser: SectionProxy.get is silent on missing options

2018-07-27 Thread Stig Johan Berggren
Stig Johan Berggren added the comment: That's fair, I didn't consider consistency with dicts' `get`. Maybe a ConfigParser object could have an option to raise errors, because they are useful for discovering errors in config files. I still find the remark about the parser-level `get` being

[issue34242] configparser: SectionProxy.get is silent on missing options

2018-07-26 Thread Stig Johan Berggren
Change by Stig Johan Berggren : -- keywords: +patch pull_requests: +8009 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34242> ___ _

[issue34242] configparser: SectionProxy.get is silent on missing options

2018-07-26 Thread Stig Johan Berggren
New submission from Stig Johan Berggren : `get()` on a ConfigParser object behaves differently from `get()` on a section. The former raises an exception when the key does not exist and no fallback has been explicitly set. The latter returns None, with no option to raise an error for missing

[issue34083] Functional Programming HOWTO: Dictionary ordering isn't "essentially random"

2018-07-11 Thread Stig Johan Berggren
Change by Stig Johan Berggren : -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue34083> ___ ___ Python-bugs-list mailing list Unsub

[issue34083] Functional Programming HOWTO: Dictionary ordering isn't "essentially random"

2018-07-10 Thread Stig Johan Berggren
Change by Stig Johan Berggren : -- keywords: +patch pull_requests: +7768 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34083> ___ _

[issue34083] Functional Programming HOWTO: Dictionary ordering isn't "essentially random"

2018-07-10 Thread Stig Johan Berggren
Stig Johan Berggren added the comment: I'll try to patch it myself. -- ___ Python tracker <https://bugs.python.org/issue34083> ___ ___ Python-bugs-list mailin

[issue34083] Functional Programming HOWTO: Dictionary ordering isn't "essentially random"

2018-07-10 Thread Stig Johan Berggren
New submission from Stig Johan Berggren : The section about iterators in the Functional Programming HOWTO (https://docs.python.org/3/howto/functional.html#data-types-that-support-iterators) states the following about looping over dictionary keys: "Note that the order is essentially r

[issue24023] Django tutorial 2 not able to create a superuser on Windows 7

2015-04-22 Thread Johan Pretorius
New submission from Johan Pretorius: When running the $python manage.py createsuperuser command the following is returned: C:\Users\johanP\mysitepython manage.py cre Username (leave blank to use 'johanp'): Email address: jar...@gmail.com Traceback (most recent call last): File manage.py

[issue23985] Crash when deleting slices from duplicated bytearray

2015-04-20 Thread Johan Dahlberg
Johan Dahlberg added the comment: Thank you all for working really fast on this issue! I'm happy to see that a fix is already being tried out. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23985

[issue23985] Crash when deleting slices from duplicated bytearray

2015-04-17 Thread Johan Dahlberg
New submission from Johan Dahlberg: Python 3.4.3 crashes after some time when running the attached program under Windows 7. The program appends a fixed bytes string to two independent bytearray buffers. If slices are removed from the beginnging of the two buffers and the two buffers

multiprocessing in a while loop?

2014-05-06 Thread Johan Llewellyn
simultaneously. I've attached a script that captures what I am doing now.  unfortunately, the external queue object is not publicly accessible and I'm not quite sure how to set up a local object that would support testing.  any suggestions would be most welcome. thanks, Johan #!/usr/bin/env python

[issue17269] getaddrinfo segfaults on OS X when provided with invalid arguments combinations

2013-02-21 Thread Johan Tibell
New submission from Johan Tibell: The following call to getaddrinfo makes Python segfault: $ python Python 2.7.2 (default, Jun 20 2012, 16:23:33) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin Type help, copyright, credits or license for more information. import

Installing Python 3.2.3 on Win 7

2012-08-16 Thread Johan van Zyl
Hi I installed Python 3.2.3 successfully on my work laptop (XP) but cannot seem to do it on my home PC (Win7) I click the button to install and the window just disappears o the screen. So how do I in fact install Python 3.2.3 on Win 7? -- Johan van Zyl PMB - Box 21673, Mayors Walk, 3208

Re: Installing Python 3.2.3 on Win 7

2012-08-16 Thread Johan van Zyl
Python 32 bit on Win 7 32 bit. Thx! On 16 August 2012 12:32, Tommi Helander tommi.helan...@outlook.com wrote: Hi Johan, -Are you trying to install 32 or 64-bit Python? -Is your Win7 32 or 64-bits? -Have you tried running the Python installer from the command line to see if it generates any

[issue14976] Queue.PriorityQueue() is not interrupt safe

2012-06-01 Thread Johan Aires Rastén
New submission from Johan Aires Rastén jo...@oljud.se: Python 2.7.3 (default, Apr 20 2012, 22:39:59) [GCC 4.6.3] on linux2 If a signal handler calls Queue.PriorityQueue.put and a second signal is received while one is already being processed, neither of the calls to put will terminate

[issue14976] Queue.PriorityQueue() is not interrupt safe

2012-06-01 Thread Johan Aires Rastén
Changes by Johan Aires Rastén jo...@oljud.se: Added file: http://bugs.python.org/file25786/queue_deadlock.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14976

[issue14976] Queue.PriorityQueue() is not interrupt safe

2012-06-01 Thread Johan Aires Rastén
Changes by Johan Aires Rastén jo...@oljud.se: Added file: http://bugs.python.org/file25787/queue_sendint.c ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14976

[issue14976] Queue.PriorityQueue() is not interrupt safe

2012-06-01 Thread Johan Aires Rastén
Johan Aires Rastén jo...@oljud.se added the comment: Start queue_deadlock.py in one terminal and note the PID it prints. Compile queue_sendint.c in another terminal and execute it with previous PID as only argument. If the bug is triggered, nothing will print in the python terminal window

[issue14976] Queue.PriorityQueue() is not interrupt safe

2012-06-01 Thread Johan Aires Rastén
Johan Aires Rastén jo...@oljud.se added the comment: I did read some more on the subject and it seems like using locks with interrupts is in general a very difficult problem and not limited to Python. Don't know if this is considered common knowledge among programmers or if it would be useful

Re: Execute script from ipython

2011-08-22 Thread Johan Ekh
Thanks Chris! I tried using ! instead of run. It works but with a significant performance penalty. Best regards, Johan On Fri, Aug 19, 2011 at 5:11 PM, Chris Rebert c...@rebertia.com wrote: On Fri, Aug 19, 2011 at 6:00 AM, Johan Ekh ekh.jo...@gmail.com wrote: Hi all, I have a script

Execute script from ipython

2011-08-19 Thread Johan Ekh
Hi all, I have a script myscript.py located in /usr/local/bin on my linux box. I can execute it in ipython with run /usr/local/bin/myscript.py but not with run myscript.py even though /usr/local/bin is in my $PATH and in my $PYTHONPATH. What should I do to correct this? Best regards, Johan

[issue3581] failures in test_uuid

2011-07-26 Thread Karl Johan Kleist
Karl Johan Kleist karl.jo...@kleist-it-consulting.de added the comment: If it could be of interest to anybody: When running make test after building Python 2.7.2, I get the error message 1 test failed: test_uuid. uname -a Linux h1488277 2.6.18-028stab091.2 #1 SMP Fri Jun 3 00:02:40 MSD 2011

[issue3581] failures in test_uuid

2011-07-26 Thread Karl Johan Kleist
Karl Johan Kleist karl.jo...@kleist-it-consulting.de added the comment: == CPython 2.7.2 (default, Jul 26 2011, 12:29:47) [GCC 4.2.1 (SUSE Linux)] == Linux-2.6.18-028stab091.2-i686-athlon-with-SuSE-10.3-i586 little-endian == /home/kjk/local/src/Python-2.7.2/build/test_python_18037 Testing

[issue3581] failures in test_uuid

2011-07-26 Thread Karl Johan Kleist
Karl Johan Kleist karl.jo...@kleist-it-consulting.de added the comment: /sbin/ifconfig -a | grep -i -e hwaddr -e ether venet0Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

[issue11981] dupe self.fp.tell() in zipfile.ZipFile.writestr

2011-05-05 Thread Johan Euphrosine
Johan Euphrosine pro...@google.com added the comment: I just find it while reading the source, for fixing #11980 zinfo.header_offset is only read in self._write_check, and it seems to me that no file operation are performed on self.fp between the two call. So I can't see see how it could

[issue11981] dupe self.fp.tell() in zipfile.ZipFile.writestr

2011-05-05 Thread Johan Euphrosine
Johan Euphrosine pro...@google.com added the comment: Here is a log that shows zinfo.header_offset value after each .tell() when running test_zipfile -- Added file: http://bugs.python.org/file21895/zinfo.header_offset.log ___ Python tracker rep

[issue11981] dupe self.fp.tell() in zipfile.ZipFile.writestr

2011-05-03 Thread Johan Euphrosine
Changes by Johan Euphrosine pro...@google.com: -- keywords: +patch title: duplicated self.fp.tell() in zipfile.ZipFile.writestr - dupe self.fp.tell() in zipfile.ZipFile.writestr Added file: http://bugs.python.org/file21870/zipfile-fix-dupe-fp-tell.patch

[issue11980] zipfile.ZipFile.write should accept fp as argument

2011-05-03 Thread Johan Euphrosine
Johan Euphrosine pro...@google.com added the comment: Here is a tentative implementation. Feel free to review it. -- keywords: +patch Added file: http://bugs.python.org/file21871/zipfile-add-writefp.patch ___ Python tracker rep...@bugs.python.org

[issue11980] zipfile.ZipFile.write should accept fp as argument

2011-05-02 Thread Johan Euphrosine
New submission from Johan Euphrosine pro...@google.com: Currently it only accept a filename (and writestr only accept bytes). -- components: Library (Lib) messages: 134989 nosy: Johan.Euphrosine priority: normal severity: normal status: open title: zipfile.ZipFile.write should accept fp

[issue11981] duplicated self.fp.tell() in zipfile.ZipFile.writestr

2011-05-02 Thread Johan Euphrosine
New submission from Johan Euphrosine pro...@google.com: See: http://hg.python.org/cpython/file/2e3346fc880f/Lib/zipfile.py#l1168 http://hg.python.org/cpython/file/2e3346fc880f/Lib/zipfile.py#l1182 -- messages: 134990 nosy: Johan.Euphrosine priority: normal severity: normal status: open

[issue11981] duplicated self.fp.tell() in zipfile.ZipFile.writestr

2011-05-02 Thread Johan Euphrosine
Changes by Johan Euphrosine pro...@google.com: -- components: +Library (Lib) type: - performance ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11981

Using dicts and lists as default arguments of functions

2010-08-09 Thread Johan
()? Thanks in advance, Best regards, Johan -- http://mail.python.org/mailman/listinfo/python-list

Re: how to install all python plugins

2010-07-15 Thread Johan Grönqvist
, this is how it works on fedora) and install them using the above mentioned package manager software. To install all packages whose names start with python- in ubuntu: apt-get install python-* (as root, or prepended with sudo) / johan -- http://mail.python.org/mailman/listinfo/python-list

Re: Plot problem.. ?? No sign at all

2010-07-15 Thread Johan Grönqvist
to generate. Regards Johan -- http://mail.python.org/mailman/listinfo/python-list

Re: Plot problem.. ?? No sign at all

2010-07-11 Thread Johan Grönqvist
2010-07-11 02:12, Ritchy lelis skrev: On 7 jul, 08:38, Johan Grönqvistjohan.gronqv...@gmail.com wrote: About the plot draw it's a curve that it's a set of points wich it's the result of the comput of the Vref and Vi together. I don't know if i had to make a break instruction (like in other's

Re: Plot problem.. ?? No sign at all

2010-07-07 Thread Johan Grönqvist
relating the Vi and Vref values to the V0 values, but I do not think I will understand those until after the above points are explained clearer. I definitely think your english is not a problem here. Johan -- http://mail.python.org/mailman/listinfo/python-list

tkinter function outout to text widget

2010-05-29 Thread Johan Lans
Hi I'm totally new on python and I'm doing an assignement where I'm doing a class that manipulates a text. The program is also supposed to have a GUI, for which I have used tkinter. So far I have entry widgets for file names and buttons, its all working like I want it to. What is missing is a way

Re: open(False) in python3

2010-05-12 Thread Johan Förberg
suppose its mainly an excellent way to confuse people when you open(0).read(), but it would be interesting to know. Johan Förberg -- http://mail.python.org/mailman/listinfo/python-list

NumPy and vectorize

2010-04-28 Thread Carl Johan Rehn
I'm having problem with the return values of NumPy's vectorize function. When I pass an array of strings in the following simple example, vectorize truncates the strings in the returned list. Any clues of what to do? Yours, Carl import numpy as np def __f(x): return x f = vectorize(__f)

Re: python as pen and paper substitute

2010-04-06 Thread Johan Grönqvist
(sys.argv[0]) as file: for line in file: print line, a = 1 b = 2 c = 3 result = a + b print_source() print(result =\t, result) print(result + c =\t, result + c) Does that help towards a solution of your problem? / johan -- http://mail.python.org

Re: python as pen and paper substitute

2010-04-06 Thread Johan Grönqvist
=\t, result) print(result + c =\t, result + c) -- Is this getting closer? / johan -- http://mail.python.org/mailman/listinfo/python-list

Re: python as pen and paper substitute

2010-04-06 Thread Johan Grönqvist
= A1 + A2 print (Sum of areas:\t, Sum_Of_Areas) - / johan -- http://mail.python.org/mailman/listinfo/python-list

numpy performance and random numbers

2009-12-19 Thread Carl Johan Rehn
Dear friends, I plan to port a Monte Carlo engine from Matlab to Python. However, when I timed randn(N1, N2) in Python and compared it with Matlab's randn, Matlab came out as a clear winner with a speedup of 3-4 times. This was truly disappointing. I ran tthis test on a Win32 machine and without

Re: numpy performance and random numbers

2009-12-19 Thread Carl Johan Rehn
On Dec 19, 12:29 pm, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: On Sat, 19 Dec 2009 02:05:17 -0800, Carl Johan Rehn wrote: Dear friends, I plan to port a Monte Carlo engine from Matlab to Python. However, when I timed randn(N1, N2) in Python and compared it with Matlab's

Re: numpy performance and random numbers

2009-12-19 Thread Carl Johan Rehn
On Dec 19, 2:49 pm, sturlamolden sturlamol...@yahoo.no wrote: On 19 Des, 11:05, Carl Johan Rehn car...@gmail.com wrote: I plan to port a Monte Carlo engine from Matlab to Python. However, when I timed randn(N1, N2) in Python and compared it with Matlab's randn, Matlab came out as a clear

Re: numpy performance and random numbers

2009-12-19 Thread Carl Johan Rehn
On Dec 19, 3:16 pm, sturlamolden sturlamol...@yahoo.no wrote: On 19 Des, 14:06, Carl Johan Rehn car...@gmail.com wrote: Matlab and numpy have (by chance?) the exact names for the same functionality, Common ancenstry, NumPy and Matlab borrowed the name from IDL. LabView, Octave and SciLab

Re: numpy performance and random numbers

2009-12-19 Thread Carl Johan Rehn
On Dec 19, 4:47 pm, sturlamolden sturlamol...@yahoo.no wrote: On 19 Des, 16:20, Carl Johan Rehn car...@gmail.com wrote: How about mulit-core or (perhaps more exciting) GPU and CUDA? I must admit that I am extremely interested in trying the CUDA-alternative. Obviously, cuBLAS

Re: numpy performance and random numbers

2009-12-19 Thread Carl Johan Rehn
On 19 Dec, 23:09, sturlamolden sturlamol...@yahoo.no wrote: On 19 Des, 22:58, sturlamolden sturlamol...@yahoo.no wrote: If you pick two random states (using any PRNG), you need error- checking that states are always unique, i.e. that each PRNG never reaches the starting state of the

Multiple python installations on opensuse?

2009-12-17 Thread Johan Ekh
opensuse laptop. How can I do this without interference with my python 2.6 installation that I use for all my non-ABAQUS python work? Best regards, Johan -- http://mail.python.org/mailman/listinfo/python-list

Re: pylab/matplotlib large plot memory management - bug? or tuning parameter needed?

2009-10-20 Thread Johan Grönqvist
, and then call gc.collect() after each call to close(). docs at: http://docs.python.org/library/gc.html Hope it helps / johan -- http://mail.python.org/mailman/listinfo/python-list

[issue6966] Ability to refer to arguments in TestCase.fail* methods

2009-09-22 Thread Johan Tufvesson
New submission from Johan Tufvesson j...@hms.se: In the unittest module, TestCase class: If one wants to provide a more descriptive fail message compared to the default, it is often valuable to be able to refer to the arguments evaluated by the fail*- (or assert*-) method. This can

[issue6966] Ability to refer to arguments in TestCase.fail* methods

2009-09-22 Thread Johan Tufvesson
Johan Tufvesson j...@hms.se added the comment: I admit that I had not seen the longMessage attribute. That is better than the present possibilities in 2.6, although not as configurable as my suggestion (but with better backwards compatibility). Personally I will be a user of the longMessage

Re: Creating a local variable scope.

2009-09-18 Thread Johan Grönqvist
that hides those bindings. 3) If I define a few values intended to be used very locally, delete those after use. Thanks again, Johan -- http://mail.python.org/mailman/listinfo/python-list

Re: Shebang line problems and python

2009-09-17 Thread Johan Grönqvist
6f77 6c72 2e64 6e5c 2922 040 000a 041 You can perhaps use hexdump -c shebang-test to get characters instead of hexadecimals. / johan -- http://mail.python.org/mailman/listinfo/python-list

Creating a local variable scope.

2009-09-11 Thread Johan Grönqvist
) or use let-bindings (SML, Haskell etc.) to form local scopes. Are there suggestions or conventions to maximize readability for these cases in python? (Execution time is not important in the cases I currently consider.) Regards Johan -- http://mail.python.org/mailman/listinfo/python-list

Re: please include python26_d.lib in the installer

2009-03-30 Thread Johan Compen
the 4 versions of the runtime libraries. P.S. If pyconfig.h really wanted to use the correct CRT, then it would need to reference different lib files for both VS2005 and 2008. Johan. -- http://mail.python.org/mailman/listinfo/python-list

[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC

2009-02-01 Thread johan de taeye
johan de taeye jdeta...@users.sourceforge.net added the comment: Is the report posted in: http://groups.google.com/group/comp.lang.python/browse_thread/thread/3ec 6af1279a162ca# also a symptom of the same problem? Johan -- nosy: +jdetaeye ___ Python

[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC

2009-02-01 Thread johan de taeye
johan de taeye jdeta...@users.sourceforge.net added the comment: @koen: You're aboslutely right. The issue is solved indeed by adding a dependency in the manifest. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4120

Re: optparse with numpy.array?

2009-01-27 Thread Johan Ekh
to my program. This is just an example. I would like to pass several arrays. My program will be wrapped inside a loop and the arrays are updated in each loop. I have never heard of the argparse library. Do you think that it would be better to use that in my case? Best regards, Johan On Tue, Jan 27

optparse with numpy.array?

2009-01-26 Thread Johan Ekh
. By the way, I am a Python newbie so please be gentle... Best regards, Johan -- http://mail.python.org/mailman/listinfo/python-list

Re: optparse with numpy.array?

2009-01-26 Thread Johan Ekh
that route just to pass an array? Lot's of people must have done this before! Best regards, Johan On Tue, Jan 27, 2009 at 1:00 AM, Robert Kern robert.k...@gmail.com wrote: On 2009-01-26 17:44, Johan Ekh wrote: Hi all, I'm trying to use optparse to process command line parameters given to my program

Re: optparse with numpy.array?

2009-01-26 Thread Johan Ekh
= parser.parse_args(sys.argv[1:]) I want this to work for m_i = array([1.0, 2.0, 3.0]) but the optparse complains that m_i is not a float. Best regards, Johan On Tue, Jan 27, 2009 at 6:53 AM, James Mills prolo...@shortcircuit.net.auwrote: On Tue, Jan 27, 2009 at 3:45 PM, Johan Ekh ekh.jo

[pygtk] ANNOUNCE: PyGObject 2.15.3

2008-09-01 Thread Johan Dahlin
of porting to Python 3.0. glib gobject modules ported. (Johan) - Wrap g_app_info_* functions (Gian) - Wrap gio.FileAttributeInfo (Gian) - Wrap g_vfs_get_supported_uri_schemes (Johan, #545846) - Wrap g_file_info_get_modification_time (Johan, #545861) - Wrap

[pygtk] ANNOUNCE: PyGObject 2.15.1

2008-07-16 Thread Johan Dahlin
software and proprietary applications. It is already in use in many applications ranging from small single purpose scripts up to large full featured applications. PyGObject requires glib = 2.8.0 and Python = 2.3.5 to build. GIO bindings require glib = 2.16.0. -- Johan Dahlin [EMAIL PROTECTED] -- http

[pygtk] ANNOUNCE: PyGObject 2.15.0

2008-07-15 Thread Johan Dahlin
? - Add GIO bindings (Johan, Mario Tagliaretti, Thomas Leonard) - Move codegen from PyGTK (Johan, Paul Pogonyshev, #542821) - Add more variables to the .pc files (Damien Carbery, Paul, Dan Winship, #486876) - Add pyg_option_group_new to the public API (Johan

[pygtk] ANNOUNCE: PyGObject 2.14.2

2008-05-25 Thread Johan Dahlin
and proprietary applications. It is already in use in many applications ranging from small single purpose scripts up to large full featured applications. PyGObject requires GObject = 2.8.0 and Python = 2.3.5 to build. -- Johan Dahlin [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python

[issue2674] unittest.TestProgram uses sys.exit()

2008-04-23 Thread Johan Tufvesson
New submission from Johan Tufvesson [EMAIL PROTECTED]: The class TestProgram (and its synonym main) in module unittest is (probably) meant to be an easy way to use the functionality of the module unittest. It is very surprising (and error-prone) that it uses sys.exit() with a status code instead

[pygtk] ANNOUNCE: PyGTK 2.12.1

2008-01-04 Thread Johan Dahlin
polling in the main loop for threaded programs (Johan, #481569) - Fix TreeView coordinate wrappers (Jeremey Katz, #479012) - Allow None in tooltip methods (Gian) - Mention how to build documentation (Björn Lindqvist, #479379) - Plug a leak in GtkContainer.forall (Mark

PyGTK 2.12.0 released

2007-09-24 Thread Johan Dahlin
/ Overview of Changes from PyGTK 2.11.0 to 2.12.0 === The GTK+ Team: Gustavo Carneiro, Johan Dahlin, John Finlay Christian Robottom Reis Special thanks to: Gian Mario Tagliaretti Paul Pogonyshev Thanks to everybody else who has contributed to PyGTK+ 2.12.0

some problems with mod_python

2007-08-27 Thread Johan
All AddHandler mod_python .py PythonHandler mptest PythonDebug On /Directory this is my mptest.py: from mod_python import apache def handler(req): req.content_type = 'text/plain' req.write(Hello World!) return apache.OK /johan -- http

Re: some problems with mod_python

2007-08-27 Thread Johan
is different from yours. If I did understand the docs about the difference between python- program and mod_python is that the later is the new way, while using python-program still works. It does not matter which I use, same result. /johan -- http://mail.python.org/mailman/listinfo/python-list

Re: some problems with mod_python

2007-08-27 Thread Johan
dirpath to be handled by mptest, you need to use SetHandler, not AddHandler. Yes, this is what I missed. Using SetHandler instead solved my problem. Many thanks to the people on the list that pointed that out for me. (and will use mod_python mailing list in the future as suggested) /johan -- http

ANNOUNCE: PyGTK 2.10.5

2007-07-05 Thread Johan Dahlin
software and proprietary applications. It is already in use in many applications ranging from small single purpose scripts up to large full features applications. What's new since 2.10.4 ? - Do access private GtkTooltip member tips_data_list, fixes build against Gtk+ 2.11.x (Johan) - Allow

ICFP Programming Contest 2007

2007-04-26 Thread johan . t . jeuring
Want to show off your programming skills? Your favorite programming language? Your best programming tools? Join the ICFP Programming Contest 2007! The 10th ICFP Programming Contest celebrates a decade of contests. This is one of the world's most advanced and prestiguous programming contest you

ANNOUNCE: PyGTK 2.10.4

2007-02-05 Thread Johan Dahlin
GdkEvent.string member when setting it (#382428, Gustavo, John Ehresman) - Make it possible to use automake 1.10 (Kjartan Maraas) - distutils build fixes (#385934, Sebastien Bacher, Michael Bienia) - Allow None to be passed into gdk.Display (Johan) - Undeprecate

Re: A question on Encoding and Decoding.

2006-11-17 Thread Johan von Boisman
stringtype throughout your Python program? (of course you may need to encode/decode when interfacing with the world outside your program) /johan -- http://mail.python.org/mailman/listinfo/python-list

Re: os.lisdir, gets unicode, returns unicode... USUALLY?!?!?

2006-11-17 Thread Johan von Boisman
Lövis and others: http://www.thescripts.com/forum/thread41954.html /johan -- http://mail.python.org/mailman/listinfo/python-list

ANNOUNCE: PyGObject 2.12.2

2006-10-03 Thread Johan Dahlin
safe for Python 2.5 (Gustavo) - All headers are now LGPL and not GPL (Johan) - Remove a couple of GCC warnings (Gustavo) - Revive distutils support (Cedric Gustin) - Emission hook reference count bugfix (Gustavo) - MSVC/ANSI C compilation fix (John Ehresman

Re: for: else: - any practical uses for the else clause?

2006-09-29 Thread Johan Steyn
home about, but I still like it. Johan. -- http://mail.python.org/mailman/listinfo/python-list

[pygtk] ANNOUNCE: PyGTK 2.10.0

2006-09-05 Thread Johan Dahlin
the GNU LGPL, so is suitable for use in both free software and proprietary applications. It is already in use in many applications ranging from small single purpose scripts up to large full features applications. What's new since 2.9.6? - Issue a warning when a DISPLAY is not set (#316877, Johan

ANNOUNCE: PyGObject 2.12.0

2006-09-05 Thread Johan Dahlin
when using --disable-docs (#353159, Johan, Matthias Clasen) Blurb: GObject is a object system library used by GTK+ and GStreamer. PyGObject provides a convenient wrapper for the GObject+ library for use in Python programs, and takes care of many of the boring details such as managing

ANNOUNCE: kiwi 1.9.9

2006-08-23 Thread Johan Dahlin
/kiwi-1.9.9.tar.gz What's new since 1.9.8? === - KiwiEntry improvements (Johan, Patrick, Ronaldo) - Win32 installation fixes for Gazpacho Kiwi (Johan) - DateEntry fixes (Ronaldo, Johan) - DateEntry win32 support (Aaron Spike) - Logging improvements (Johan

ANNOUNCE: kiwi 1.9.8

2006-04-25 Thread Johan Dahlin
() replacement - date tests - FileChooser FileChooserButton - Rename all proxy widgets to start with Proxy - Win32 installation fixes - UI test threading fixes - Sizegroup merging (Ronaldo) - Mask improvements (Ronaldo) - ObjectList improvements (Johan, Ronaldo, Patrick

ANNOUNCE: PyGTK 2.8.6

2006-04-12 Thread Johan Dahlin
to be set in gtk.TreeSortable.set_default_sort_func() (Johan, Patrick O'Brien) - 327778: Increase property size limit to G_MAXLONG (Gustavo, Wander Boessenkool) - 334027: Fix leaks in enum/flags (Michael Smith) - 334188: Call g_log_default_handler when python isn't

ANNOUNCE: PyGObject 2.10.1

2006-04-12 Thread Johan Dahlin
: - uint64 property bug fix (Andy Wingo) - Hard code path to 2.0 (Gustavo) - Allow only tuples and lists in strv to value (Gustavo) - Include dsextras.py in the dist (Johan) Blurb: GObject is a object system library used by GTK+ and GStreamer. PyGObject provides a convenient wrapper

standard library audio/image support

2006-04-06 Thread Johan Kotlinski
for the standard library than imaging? Regards, Johan -- http://mail.python.org/mailman/listinfo/python-list

ANNOUNCE: PyGTK 2.8.5

2006-03-30 Thread Johan Dahlin
(Christopher Aillon) - Improved examples (Johan) - Proper refcounting in gdk.Window constructor (John Ehresman) - Fix a bunch of reference leaks (Gustavo) - __init__.py fixes for pydoc (Johan) - gtk.Dialog.new_with_buttons leak (#332771, Gustavo) Blurb: GTK is a toolkit

ANNOUNCE: kiwi 1.9.7

2006-03-11 Thread Johan Dahlin
/2ccch [3] http://epydoc.sourceforge.net/ -- Johan Dahlin [EMAIL PROTECTED] Async Open Source -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html

Difference between CPython, Python for .NET and IronPython?

2006-02-18 Thread Carl Johan Rehn
What is the difference between CPython, Python for .NET, and IronPython? For example, if I'm running IronPython, can I access modules such as Numeric and numarray? As I understand it, interoperability with C# and .NET works in both directions with IronPython, but CPython modules cannot be

Re: wxPython Conventions

2006-02-01 Thread Johan Lindberg
Iain King skrev: How do you gain access to the system tray? Use wx.TaskBarIcon. See http://wiki.wxpython.org/index.cgi/FlashingTaskbarIcon for snippets. /Johan -- http://mail.python.org/mailman/listinfo/python-list

Re: sending keystrokes to gtk window

2006-01-25 Thread Johan Dahlin
bindings which can be found in the python-gnome2-extras, which unfortunately is broken on ubuntu/breezy. There is a separate list for the gtk python bindings: http://www.daa.com.au/mailman/listinfo/pygtk Johan -- http://mail.python.org/mailman/listinfo/python-list

Re: PyGTK Notebook button_press_event connection

2006-01-24 Thread Johan Dahlin
() eventbox.add(label) notebook.append_page(..., eventbox) Perhaps you should subscribe to the PyGTK mailing list[1] though, where this kind of question is more appropriately asked [1]: http://www.daa.com.au/mailman/listinfo/pygtk Johan Dahlin -- http://mail.python.org/mailman/listinfo/python

Problem compiling Postgresql-7.3.4 + Python

2006-01-09 Thread Johan Barelds
error: Anyone any clues? Thanks for any reply! Grz. Johan Barelds - /usr/bin/ld: /usr/local/lib/python2.3/config/libpython2.3.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC /usr/local/lib

  1   2   >