[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: You can open script made in python 2.x and it stops immediately working after saving, if it is coding-aware. You can have bigger project and use idle for editing config and text files from this project too. It is unfair to change without notification

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: I forgot about Perhaps IDLE should offer to convert it on opening. That would be nice, too. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4815 ___

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Here is a patch to provide an explicit message that the file will be converted when the file is opened (also querying what encoding should be converted from), answering the complaint that the conversion is without notice. If you want to edit

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: Sorry, where is the patch? ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4815 ___ ___ Python-bugs-list mailing

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- keywords: +patch Added file: http://bugs.python.org/file12561/conv.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4815 ___

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- keywords: +needs review priority: - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4815 ___

[issue4796] Decimal to receive from_float method

2009-01-03 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- assignee: rhettinger - marketdickinson keywords: +needs review -patch Added file: http://bugs.python.org/file12562/decimal2.diff ___ Python tracker rep...@bugs.python.org

[issue4796] Decimal to receive from_float method

2009-01-03 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: Removed file: http://bugs.python.org/file12558/decimal.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4796 ___

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: OK, I got it. In my opinion it would nice if user can either convert file to utf8 or to do nothing and add new encodings declaration or cancel. Current Cancel gives an Decoding error. If you give an encodings that doesn't exist, it shouldn't

[issue4796] Decimal to receive from_float method

2009-01-03 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Instead of the repeated divisions and Inexact tests, how about a direct approach: n/2**k = (n*5**k)/10**k, so something like: sign = 0 if copysign(1.0, self) == 1.0 else 1 n, d = abs(self).as_integer_ratio() k = d.bit_length() -

[issue4816] Patch of itertools.{combinations, permutations} for empty combinations

2009-01-03 Thread Thomas Finley
New submission from Thomas Finley tfin...@gmail.com: This is a patch for the Python 3.1 build checked out from http://svn.python.org/projects/python/branches/py3k The current behavior of itertools.combinations(iterable,r) and itertools.permutations(iterable,r) is to throw a ValueError if

[issue4608] urllib.request.urlopen does not return an iterable object

2009-01-03 Thread Jakub Wilk
Jakub Wilk uba...@users.sf.net added the comment: Oops, __next__ is OK. Sorry for the confusion. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4608 ___ ___

[issue4817] PyOS_GetLastModificationTime is unused

2009-01-03 Thread Ulrich Eckhardt
New submission from Ulrich Eckhardt eckha...@satorlaser.com: This is just to record that the above function is wrongly documented, inconsistently implemented, but fortunately unused, so it can be removed. In addition to the patch attached, there are two files that can be removed:

[issue4751] Patch for better thread support in hashlib

2009-01-03 Thread ebfe
Changes by ebfe knabberknusperh...@yahoo.de: Removed file: http://bugs.python.org/file12557/md5module_small_locks.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4751 ___

[issue4796] Decimal to receive from_float method

2009-01-03 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: A couple more things: 1. There's a typo 'equilvalent' in the decimal.py part of the patch. 2. Can I suggest using return d._fix(self) instead of return self.plus(d) in create_decimal_from_float. The plus method does two things: rounds

[issue4818] Patch for thread-support in md5module.c

2009-01-03 Thread ebfe
New submission from ebfe knabberknusperh...@yahoo.de: Here is another patch, this time for the fallback-md5-module. I know that situations are rare where openssl is not present but threading is. However they might occur out there and the md5module needed some love anyway: - The MD5 class from

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: In my opinion it would nice if user can either convert file to utf8 or to do nothing and add new encodings declaration or cancel. Ypu can still add an encoding declaration after the file got converted. Cancelling is also possible. If you

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: Removed file: http://bugs.python.org/file12561/conv.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4815 ___

[issue4818] Patch for thread-support in md5module.c

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: ebfe, please identify yourself with a real name; please also sign a contributor form. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4818

[issue4812] Junk in the decimals namespace

2009-01-03 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Done (r68191 through r68194). -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4812 ___

[issue4816] Patch of itertools.{combinations, permutations} for empty combinations

2009-01-03 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I agree that the proposed behaviour seems more correct: the collection of all subsets of size 4 of range(3) is perfectly valid and well-defined; it just happens to be empty. I've also encountered this in practice (in code that was

[issue4751] Patch for better thread support in hashlib

2009-01-03 Thread ebfe
ebfe knabberknusperh...@yahoo.de added the comment: Haypo, we can probably reduce overhead by defining ENTER_HASHLIB like this: #define ENTER_HASHLIB(obj) \ if ((obj)-lock) { \ if (!PyThread_acquire_lock((obj)-lock, 0)) { \ Py_BEGIN_ALLOW_THREADS \

[issue1717] Get rid of more refercenes to __cmp__

2009-01-03 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: [Georg Brandl, on spark.py] This is used by asdl_c.py which generates Python-ast.c -- it should be updated. The only issue here is a single comment, which reads: # GenericASTMatcher. AST nodes must have __getitem__ and __cmp__ Still,

[issue1717] Get rid of more references to __cmp__

2009-01-03 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- title: Get rid of more refercenes to __cmp__ - Get rid of more references to __cmp__ ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1717 ___

[issue4580] slicing of memoryviews when itemsize != 1 is wrong

2009-01-03 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- keywords: -needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4580 ___ ___

[issue4580] slicing of memoryviews when itemsize != 1 is wrong

2009-01-03 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- assignee: - pitrou resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4580 ___

[issue4818] Patch for thread-support in md5module.c

2009-01-03 Thread Lukas Lueg
Lukas Lueg knabberknusperh...@yahoo.de added the comment: Sent the form by fax ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4818 ___ ___ Python-bugs-list

[issue4819] Misc/cheatsheet needs updating

2009-01-03 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: Misc/cheatsheet could do with an upgrade, both for the 2.x and 3.x branches. For 3.x, I guess the changes needed are quite extensive. I'm not sure how much needs to be changed or added for 2.x; at a quick glance, the 'with' statement, the

[issue4753] Faster opcode dispatch on gcc

2009-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I'm not an expert in this kind of optimizations. Could we gain more speed by making the dispatcher table more dense? Python has less than 128 opcodes (len(opcode.opmap) == 113) so they can be squeezed in a smaller table. I naively assume a

[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

2009-01-03 Thread Hagen Fürstenau
Hagen Fürstenau hfuerste...@gmx.net added the comment: I'm getting confused about whether it's actually desired behaviour that generators can be star arguments. The error message seems to say it's not: argument after * must be a sequence. The docs seem to agree: If the syntax *expression

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file11200/tkinter_remove_mainloop.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3638 ___

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Tkapp_Mainloop is supposed to work both as a module function and a method, and it tests for self to find out which case it is. Now, this test is apparently broken in 3.x, ... Ok. In Python 2.x, selfptr is NULL whereas selfptr is

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Ok. In Python 2.x, selfptr is NULL whereas selfptr is a pointer to the module in Python 3.x. New attached patch uses PyModule_Check() to check if selfptr is the module or an object. The patch looks right in principle. Please make sure

[issue4811] invalid reST markup in several documents

2009-01-03 Thread Akira Kitada
Akira Kitada akit...@gmail.com added the comment: Could you also fix the indentation of Queues example code at http://docs.python.org/library/multiprocessing.html#exchanging-objects-between-processes ? -- nosy: +akitada ___ Python tracker

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Victor, you seem to be confusing code that supports it with functions that use it. There are some conditional code inside Tkapp_MainLoop that depends on self being available, that is what Martin meant by code that supports it, and since it would

[issue4818] Patch for thread-support in md5module.c

2009-01-03 Thread Lukas Lueg
Lukas Lueg knabberknusperh...@yahoo.de added the comment: fixed naming, lock get's tried before releasing the gil to wait for it Added file: http://bugs.python.org/file12568/md5module_small_locks-2.diff ___ Python tracker rep...@bugs.python.org

[issue4818] Patch for thread-support in md5module.c

2009-01-03 Thread Lukas Lueg
Changes by Lukas Lueg knabberknusperh...@yahoo.de: Removed file: http://bugs.python.org/file12565/md5module_small_locks.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4818 ___

[issue4820] ctypes.util.find_library incorrectly documented

2009-01-03 Thread David M. Beazley
New submission from David M. Beazley beaz...@users.sourceforge.net: In the ctypes reference / Finding shared libraries section of the ctypes documentation, the find_library() function is described as being located in ctypes.util. However, it's formal description right below that lists it as

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Now, I'm much more in favour to remove it from moduleMethods than from adjusting it to work in py3k. Would you apply the same reasoning to the other Tkapp methods available on _tkinter? IIRC, these functions were there first; the Tkapp

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: seems to be working. Seems to me now I get it. The file encoding is ruled by the encoding declaration. When I stated # -*- coding: cp1250 -*- then the file would be saved in cp1250. Now hoping that I would keep this issue, cause it comes with

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Now hoping that I would keep this issue, cause it comes with this patches: when I open file *with* say # -*- coding: cp1250 -*-, I am asked to change to utf8. This behaviour was not before and is probably unwanted. Actually, the

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Victor, you seem to be confusing code that supports it with functions that use it Oh ok, I didn't understood what code that supports it mean. There are some conditional code inside Tkapp_MainLoop that depends on self being

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Martin v. Löwis mar...@v.loewis.de added the comment: Now, I'm much more in favour to remove it from moduleMethods than from adjusting it to work in py3k. Would you apply the same reasoning to the other Tkapp methods available on

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: Well, thanks a lot. (aware this is really off this issue): Now I even get the system of patches - issue 4008 solved the inconvenience in print Unicode signs inside IDLE. Still not sure how works patches for Python versions. I vote for including

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: But I don't see a RPC being used there, I just see some polling. Consider Tkapp_Call (e.g.). If this is invoked in the Tk interpreter thread, then there is a direct call to Tcl_EvalObjv/Tkapp_CallResult. If the call is made from a

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I vote for including this a that patch about IDLE even in some 3.0.1, not only in branch 3.1. This is my plan, yes - hence I marked them all release-critical. They still need review. I agree that IDLE in 3.0 is fairly broken wrt.

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Martin v. Löwis mar...@v.loewis.de added the comment: But I don't see a RPC being used there, I just see some polling. Consider Tkapp_Call (e.g.). If this is invoked in the Tk interpreter thread, then there is a direct call to

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This is all true but the dispatching isn't used there actually. dispatching is being used in a polling manner to try to catch the thread running the tcl interpreter which someone tried to call into, the code then proceeds to do what you

[issue4821] Patches for thread-support in built-in SHA modules

2009-01-03 Thread Lukas Lueg
New submission from Lukas Lueg knabberknusperh...@yahoo.de: Here is the follow-up to issue #4818. The patches attached allow the built-in SHA modules to release the GIL. Also the build-in SHA modules will now no longer accept s# as input. Input is parsed just as in the openssl-driven classes

[issue4751] Patch for better thread support in hashlib

2009-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I'm not sure about the approach of dynamically allocating self-lock. Imagine you allocate this lock while another thread is between ENTER_HASHLIB and LEAVE_HASHLIB. What happens on LEAVE_HASHLIB? The thread tries to release a lock it hadn't

[issue4821] Patches for thread-support in built-in SHA modules

2009-01-03 Thread Lukas Lueg
Changes by Lukas Lueg knabberknusperh...@yahoo.de: -- keywords: +patch Added file: http://bugs.python.org/file12569/sha1module_small_locks.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4821

[issue4821] Patches for thread-support in built-in SHA modules

2009-01-03 Thread Lukas Lueg
Changes by Lukas Lueg knabberknusperh...@yahoo.de: Added file: http://bugs.python.org/file12570/sha256module_small_locks.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4821 ___

[issue4821] Patches for thread-support in built-in SHA modules

2009-01-03 Thread Lukas Lueg
Changes by Lukas Lueg knabberknusperh...@yahoo.de: Added file: http://bugs.python.org/file12571/sha512module_small_locks.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4821 ___

[issue4580] slicing of memoryviews when itemsize != 1 is wrong

2009-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch is committed in r68200, r68202. Thanks! ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4580 ___

[issue4822] Fix indentation in memoryobject.c

2009-01-03 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: The rules state new files should be indented with 4-spaces, but indentation has no consistent indentation: parts of it are indented with tabs, others with spaces. We could probably reindent it all with 4-spaces, especially since it hasn't been

[issue4580] slicing of memoryviews when itemsize != 1 is wrong

2009-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: accepted - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4580 ___

[issue4751] Patch for better thread support in hashlib

2009-01-03 Thread Lukas Lueg
Lukas Lueg knabberknusperh...@yahoo.de added the comment: The lock is created while having the GIL in EVP_update. No other function releases the GIL (besides the creator-function which does not need the local lock). Thereby no other thread can be in between ENTER and LEAVE while the lock is

[issue4817] PyOS_GetLastModificationTime is unused

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the patch. Committed as r68203 and r68204. -- nosy: +loewis resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4817

[issue4753] Faster opcode dispatch on gcc

2009-01-03 Thread djc
Changes by djc dirk...@ochtman.nl: -- nosy: +djc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4753 ___ ___ Python-bugs-list mailing list

[issue4822] Fix indentation in memoryobject.c

2009-01-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I think this is the kind of reindention that Guido approved of on python-dev, along with unicodeobject.c. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org

[issue4822] Fix indentation in memoryobject.c

2009-01-03 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: +1 -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4822 ___ ___

[issue4823] idle height and place

2009-01-03 Thread Pavel Kosina
New submission from Pavel Kosina g...@post.cz: Nearly always (after opening) is IDLE window outside visible area. Mainly the status bar is hidden under bottom windows menu bar. Same situation happens when choosing Window-Zoom Height from IDLE menu. xpsp3, 1024x768, py2.x-3.x --

[issue3959] Add Google's ipaddr.py to the stdlib

2009-01-03 Thread Duncan McGreggor
Duncan McGreggor duncan.mcgreg...@gmail.com added the comment: I am a contributor to netaddr, having deprecated my own old and crufty IP address library in its favor. JP's comments on the library in this ticket are included in the set of reasons that I initially chose it to replace my own.

[issue3959] Add Google's ipaddr.py to the stdlib

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Perhaps the following might be a prudent course: This sounds all good. It is better if the experts in a domain make a recommendation, than if some random committer makes a choice. As for shutting down any project that is chosen, does such

[issue4822] Fix indentation in memoryobject.c

2009-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here's a patch. -- keywords: +patch Added file: http://bugs.python.org/file12572/reindent-memview.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4822

[issue3959] Add Google's ipaddr.py to the stdlib

2009-01-03 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3959 ___ ___ Python-bugs-list mailing

[issue4822] Fix indentation in memoryobject.c

2009-01-03 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Do you expect a review? ;) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4822 ___ ___ Python-bugs-list

[issue3959] Add Google's ipaddr.py to the stdlib

2009-01-03 Thread Duncan McGreggor
Duncan McGreggor duncan.mcgreg...@gmail.com added the comment: As for shutting down any project that is chosen, does such an action not leave older Python versions out in the cold? Shouldn't the project remain open to support Python versions 2.7, with a highly visible note that the

[issue3959] Add Google's ipaddr.py to the stdlib

2009-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: If there's going to be lots of discussion, perhaps it should be taken to python-dev? ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3959 ___

[issue4718] wsgiref package totally broken

2009-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It is committed now in py3k and the 3.0 maintenance branch. Thanks all for your participation! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue4823] idle height and place

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: sorry it is duplicate to issue 3286 pls close ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4823 ___ ___

[issue3286] IDLE opens window too low on Windows

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: +1 -- nosy: +geon versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3286 ___ ___

[issue4796] Decimal to receive from_float method

2009-01-03 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: The direct method is *much* faster! Applied Mark's suggestions. Committed as r68208 and r68211 . -- resolution: - fixed status: open - closed versions: +Python 2.7, Python 3.1 ___

[issue4822] Fix indentation in memoryobject.c

2009-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, committed. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4822 ___

[issue4823] idle height and place

2009-01-03 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4823 ___

[issue3329] API for setting the memory allocator used by Python

2009-01-03 Thread Neil Richardson
Neil Richardson richyn...@gmail.com added the comment: I'll be in agreement here. I integrated Python into a game engine not too long ago, and had to a do a fair chunk of work to isolate Python into it's own heap - given that fragmentation on low memory systems can be a bit of a killer. Would

[issue4718] wsgiref package totally broken

2009-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Reopening, the patch actually produces failures when run with python -bb, that is there are comparisons between str and bytes. See the errors at the end of

[issue4718] wsgiref package totally broken

2009-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: People, does this patch look ok to you? Added file: http://bugs.python.org/file12573/wsgiref-bb.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4718

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Here is a patch, two actually. The next one deprecates the functions in trunk Added file: http://bugs.python.org/file12574/issue3638.diff ___ Python tracker rep...@bugs.python.org

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: Added file: http://bugs.python.org/file12575/deprecated_funcs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3638 ___

[issue4718] wsgiref package totally broken

2009-01-03 Thread Dmitry Vasiliev
Dmitry Vasiliev d...@hlabs.spb.ru added the comment: Antoine Pitrou wrote: People, does this patch look ok to you? Oh, didn't know about -bb. The patch looks OK for me. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4718

[issue4718] wsgiref package totally broken

2009-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Le samedi 03 janvier 2009 à 20:24 +, Dmitry Vasiliev a écrit : Dmitry Vasiliev d...@hlabs.spb.ru added the comment: Antoine Pitrou wrote: People, does this patch look ok to you? Oh, didn't know about -bb. Well, it's meant to catch

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: These look fine. I think further changes are necessary: tkinter/__init__.py tries to load createfilehandler/deletefilehandler; this becomes redundant. Also, why did you leave DoOneEvent and Quit as-is - don't they fall into the same category?

[issue4718] wsgiref package totally broken

2009-01-03 Thread Dmitry Vasiliev
Dmitry Vasiliev d...@hlabs.spb.ru added the comment: Antoine Pitrou wrote: There's another problem in that buildbot failure with the environment variable NO_PROXY. We'll see if it's still there after the patch. Strange error and it seems there is only part of the traceback. I've already seen

[issue4718] wsgiref package totally broken

2009-01-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Strange error and it seems there is only part of the traceback. I've already seen such partially displayed Python 3 traceback and error actually can be in very different place. If you can reproduce such a problem, please open a bug.

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: I might have another problem with this patch and maybe also that one in issue 4008. Having a file with print (ěščřžýáíé) # saved in cp1250 Open - confirm converting to utf8 - F5 - error: see attached file idleunicode1.jpg Added file:

[issue4718] wsgiref package totally broken

2009-01-03 Thread Dmitry Vasiliev
Dmitry Vasiliev d...@hlabs.spb.ru added the comment: Antoine Pitrou wrote: Strange error and it seems there is only part of the traceback. I've already seen such partially displayed Python 3 traceback and error actually can be in very different place. If you can reproduce such a problem,

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: print (ěščřžýáíé) # saved in cp1250 I can't reproduce the problem. Can you please attach the exact file that failed to work? ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4815

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: These look fine. I think further changes are necessary: tkinter/__init__.py tries to load createfilehandler/deletefilehandler; this becomes redundant. Indeed, I forgot to look into the Python code. I also see as redundant the checks for

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: I get an empty string with the text below, but I was expecting some s/text/test ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3638 ___

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: Martin v. Löwis napsal(a), dne 3.1.2009 22:24: I can't reproduce the problem. Can you please attach the exact file that failed to work? You can use that one that is already here: cp1250.py. It is the same error with me.

[issue3638] tkinter.mainloop() is meaningless and crash: remove it

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: But these all would deserve another(s) issues, so I will be moving quit and dooneevent from there too. I haven't tried reproducing these problems, but this all sounds plausible. So go ahead and check in all the changes for this issue.

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: You can use that one that is already here: cp1250.py. It is the same error with me. Ok, then what are the exact steps to reproduce? What code base, what patches applied, what user interaction in what order?

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: Microsoft Windows XP [Verze 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\prg\Python30\Lib\idlelibsvn update# from http://svn.python.org/projects/python/branches/py3k/Lib/idlelib Restored 'AutoCompleteWindow.py' Restored 'ToolTip.py'

[issue4718] wsgiref package totally broken

2009-01-03 Thread Dmitry Vasiliev
Dmitry Vasiliev d...@hlabs.spb.ru added the comment: Attached patch for test_urllib, possible source of the NO_PROXY problem. Added file: http://bugs.python.org/file12577/no_proxy.patch ___ Python tracker rep...@bugs.python.org

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I see. Here is a revised patch. This sets the modified flag on the buffer after conversion, so that you get asked to save it before running it. Added file: http://bugs.python.org/file12578/conv.diff ___

[issue3638] Remove module level functions in _tkinter that depend on TkappObject

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Thanks Martin, trunk: r68231 (blocked on py3k) py3k: r68237 release30-maint: r68239 -- resolution: - fixed status: open - closed title: tkinter.mainloop() is meaningless and crash: remove it - Remove module level functions in

[issue4753] Faster opcode dispatch on gcc

2009-01-03 Thread Yann Ramin
Changes by Yann Ramin at...@stackworks.net: -- nosy: +theatrus ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4753 ___ ___ Python-bugs-list mailing

[issue4815] idle 3.1a1 utf8

2009-01-03 Thread Pavel Kosina
Pavel Kosina g...@post.cz added the comment: Yes. God job. ;-) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4815 ___ ___ Python-bugs-list mailing

[issue3638] Remove module level functions in _tkinter that depend on TkappObject

2009-01-03 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Uh, I forgot about the code removal in __init__ in the first commits. r68242, r68244 now ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3638 ___

  1   2   >