[issue6300] encode and decode should accept 'errors' as a keyword argument

2009-09-16 Thread Jeff Bradberry
Jeff Bradberry added the comment: As it turns out, someone had previously made this adjustment to str() and unicode(). My updated patch adds this behavior to unicode.decode and unicode.encode, adds a couple of tests to test_unicode.py, and updates the documentation to show that these functions

[issue5483] [PATCH]Add FastDbfilenameShelf: shelf nerver sync cache even when writeback=True

2009-09-16 Thread Zhigang Wang
Zhigang Wang added the comment: Thanks Robert for pointing out issue553171. After read that issue, I still think we paid too much to make shelf less surprising. We should at lease provide a option for the *smart* programmers to get better speed and less exceptions. The write-back-all-cache-o

[issue6919] Link CRT Statically

2009-09-16 Thread Henri Hein
Henri Hein added the comment: If you do not *want* to change it, that is your prerogative, but it *can* definitely work. -- ___ Python tracker ___ __

[issue6300] encode and decode should accept 'errors' as a keyword argument

2009-09-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: They should also probably be added to unicode(), str(), unicode.decode, and unicode.encode then. (Also some tests, please!) -- nosy: +benjamin.peterson ___ Python tracker __

[issue6300] encode and decode should accept 'errors' as a keyword argument

2009-09-16 Thread Jeff Bradberry
Jeff Bradberry added the comment: This patch adds the requested behavior to the current 2.7 svn trunk. Both 'encoding' and 'errors' may be used as keyword arguments for encode() and decode(). -- keywords: +patch nosy: +jbradberry Added file: http://bugs.python.org/file14905/python27.pa

[issue6926] socket module missing IPPROTO_IPV6, IPPROTO_IPV4

2009-09-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: I think a suitable test case for this issue is: if hasattr(sys, 'getwindowsversion'): if sys.getwindowsversion() >= (5,1): assert hasattr(socket, 'IPPROTO_IPV6') -- ___ Python tracker

[issue6926] socket module missing IPPROTO_IPV6, IPPROTO_IPV4

2009-09-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: I think I found the problem. It appears Python is compiled with #define _WIN32_WINNT 0x0500 But IPPROTO_IPV6 (and other constants) are only defined #if(_WIN32_WINNT >= 0x0501) What's the proper fix for this issue? --

[issue6905] inspect.getargspec(print) fails

2009-09-16 Thread Yuv Gre
Yuv Gre added the comment: You're right, I was confused by the statement "arg is not a Python function". I didn't realize 'arg' meant the function I passed to getargspec, I thought it was just strange. After digging a bit into inspect.py, may I suggest line 814 be changed from: raise TypeErr

[issue6928] Doc: Class statements and metaclass = xxx

2009-09-16 Thread Terry J. Reedy
New submission from Terry J. Reedy : For 3.x, I think 7.7 Class Definitions should mention the metaclass keyword arg and cross-reference 3.3.3 Customizing class creation. Since it is no longer a 'special' name, let alone a 'special method name', there is no reason to know to look for it under tha

[issue6927] Metaclass doc (Ref 3.3.3) errors

2009-09-16 Thread Terry J. Reedy
New submission from Terry J. Reedy : 3.3.3. Customizing class creation 3.1/3.2 docs say "If the metaclass keyword argument is based with the bases, it is used." (new version for 3.x) I presume 'based' was meant to be 'passed'. However, with that correction, would it really be correct? I presume

[issue1294232] Error in metaclass search order

2009-09-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> georg.brandl nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue6926] socket module missing IPPROTO_IPV6, IPPROTO_IPV4

2009-09-16 Thread Jason R. Coombs
Jason R. Coombs added the comment: This comment from the MSDN docs may be relevant: On the Microsoft Windows Software Development Kit (SDK) released for Windows Vista and later, the organization of header files has changed and IPPROTO_IPV6 level is defined in the Ws2def.h header file which is a

[issue6925] Doc for locals and vars

2009-09-16 Thread Terry J. Reedy
New submission from Terry J. Reedy : Doc for locals(): after correctly stating "Update and return a dictionary representing the current local symbol table. Note The contents of this dictionary should not be modified; changes may not affect the values of local variables used by the interpreter."

[issue6926] socket module missing IPPROTO_IPV6, IPPROTO_IPV4

2009-09-16 Thread Jason R. Coombs
New submission from Jason R. Coombs : It appears that somewhere between Python 2.5 and Python 2.6, some socket constants were lost in Windows builds. Python 2.6.2 (r262:71605, Apr 14 2009, 22:46:50) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more in

[issue6921] recursion wierdness ... related to variable scoping?

2009-09-16 Thread David Hanney
David Hanney added the comment: Ooops. I'm just learning Python and it never occurred to me that I could get through the for without k begin defined. At least not until about an hour ago in the cinema. I came here ASAP but you'd already got to it. Sorry for wasting your time. I should have spen

[issue6713] Integer & Long types: Performance improvement of 1.6x to 2x for base 10 conversions

2009-09-16 Thread Mark Dickinson
Mark Dickinson added the comment: Applied long_decimal_conversion_py3k_2.patch in r74851; backported to trunk in r74853. Still to do: - look at the 'two-digits-at-a-time' optimization. - rip out the non-binary-base code from _PyLong_Format While we're at it, it would also be good to look a

[issue6508] expose setresuid

2009-09-16 Thread Dave Malcolm
Dave Malcolm added the comment: > I cannot test this in my current environment because I'm stuck with Red > Hat and it does not have a recent enough automake to re-create configure > from configure.in. FWIW, it may be an _autoconf_ version issue; I'm able to recreate a "configure" from Python's

[issue6924] struct.unpack weird behavior with "bi" (byte then integer)

2009-09-16 Thread Mark Dickinson
Mark Dickinson added the comment: I think this is expected behaviour: the key point is that structs can include padding bytes. From the documentation: "By default, C numbers are represented in the machine’s native format and byte order, and properly aligned by skipping pad bytes if necessar

[issue6924] struct.unpack weird behavior with "bi" (byte then integer)

2009-09-16 Thread Emmanuel Bengio
New submission from Emmanuel Bengio : Using the following command in Python 2.6.1: >>> struct.unpack("BI","12345") Traceback (most recent call last): File "", line 1, in struct.unpack("BI","12345") error: unpack requires a string argument of length 8 I get this error message. What confus

[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6

2009-09-16 Thread Kevin Walzer
Kevin Walzer added the comment: Ronald: No, unfortunately I was never able to reproduce the bug in pure Tcl. I tried various examples with the Tk text widget. I also tried various examples with the text widget via Tkinter. Each time the text widget, cutting, pasting, etc. worked as expected.

[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6

2009-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: kevin: do you know if there is a plain Tcl script that shows the bug? If there is we can file a bugreport with Apple that clearly shows a problem in the Tk framework and hence makes it more likely that the issue will get fixed. -- _

[issue6851] urllib.urlopen crashes in a thread on Snow Leopard

2009-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch seems to fix the issue, but needs further testing. Warning: the patch is not entirely clean, the patch contains an unrelated change to setup.py. The patch replaces some code that uses ctypes to read configuration data using the SystemCon

[issue6508] expose setresuid

2009-09-16 Thread Travis H.
Travis H. added the comment: I have coded up a first draft at implemented {get,set}res{gid,uid} functions. This completes the exposure of the user and group setting functions, and enables python programmers to be able to safely drop privileges, for example when running network daemons as root t

[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6

2009-09-16 Thread Kevin Walzer
Kevin Walzer added the comment: The bug with the edit menu sounds like the same issues I noted in http://bugs.python.org/issue6463. I think it was related to something in Tk-Cocoa 8.5, which was resolved in a later build of Tk, and which is why I closed the bug. The build of Tk-Cocoa that shi

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: OK, I added another test for pickling, committed in r74845, and backported to 2.6 in r74848. -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue6918] ctypes compilation error on SnowLeopard

2009-09-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Annoyingly PyObjC suffers from the same issue. I hadn't noticed this yet because I've been linked to the system copy of libffi the last couple of months. Luckily Apple has already released the source code for libffi in 10.6 (see http://www.opensource.apple.

[issue1590864] Function-level import in os triggering an threaded import deadlock

2009-09-16 Thread Thomas Wouters
Thomas Wouters added the comment: Checked in the patch to fix the forks-through-os.fork() cases, which should be most of them. Forks from other C code will need some more work, created http://bugs.python.org/issue6923 to track that. -- resolution: -> fixed status: open -> closed ___

[issue6923] Need pthread_atfork-like functionality in CPython

2009-09-16 Thread Thomas Wouters
New submission from Thomas Wouters : In order to properly handle multiple threads and fork()-calls from C code (rather than os.fork()), Python should provide pthread_atfork()-like functionality: a function to call before a fork, to acquire any locks that need to be acquired, and a pair of func

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Brett Cannon
Brett Cannon added the comment: Just looked at the patch and it looks good to me. I say go ahead and commit, Georg. -- assignee: loewis -> georg.brandl stage: -> commit review ___ Python tracker _

[issue6890] IOError has no __unicode__ method - and loses information

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: And this is a duplicate of (the somewhat complicated-named) #6108. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> unicode(exception) behaves differently on Py2.6 when len(exception.args) > 1 _

[issue6108] unicode(exception) behaves differently on Py2.6 when len(exception.args) > 1

2009-09-16 Thread Georg Brandl
Changes by Georg Brandl : -- priority: high -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Yes, it should be fixed, but it is not related. I'm setting it as a release blocker as well. -- ___ Python tracker ___ __

[issue6713] Integer & Long types: Performance improvement of 1.6x to 2x for base 10 conversions

2009-09-16 Thread Mark Dickinson
Mark Dickinson added the comment: Updated patch, with minor changes: - remove an incorrect Py_DECREF(str) - rename _PyLong_ToDecimal; no need for the _Py prefix, since this function isn't shared across files - absorb special case for 0 into the rest of the code - whitespace and inde

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Alan Isaac
Alan Isaac added the comment: I hope it is not too annoying to link these ... I asked thhis of Jean-Paul but now I'll ask it of George. Since you are working on this, can you see if http://bugs.python.org/issue6108 is related or in any case can be fixed at the same time? Thanks. --

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Huh. I just made some tests to find out if exceptions with a message set survive pickling in 2.6.2 and unpickling in patched trunk. I found that the message attribute isn't pickled at all in 2.6.2, so there should be no cross-version compatibility problems with p

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: The patch leads to crashes with all the exceptions that have their own structs; since they are derived from BaseException they must start with the same binary layout as PyBaseExceptionObject (pointers to any exception will be cast to PyBaseExceptionObject). This

[issue6921] recursion wierdness ... related to variable scoping?

2009-09-16 Thread Mark Dickinson
Mark Dickinson added the comment: Ah, I see the problem now: you're expecting that after for p, elt in enumerate(mylist): p will be equal to len(mylist)-1. That's true if mylist is nonempty (because on the last round of the for loop, p gets the value len(mylist)- 1), but if mylist is e

[issue6921] recursion wierdness ... related to variable scoping?

2009-09-16 Thread Mark Dickinson
Mark Dickinson added the comment: This is almost certainly not a bug in Python. At a guess, in the outermost 'else' clause of your dump method, self.keys can be empty. Then the 'for p, k in enumerate(self.keys):' does zero iterations, so p is not defined in the assert; hence the error mess

[issue6873] posix_lchown: possible overflow of uid, gid

2009-09-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: Yes, it looks correct now. I still wish it could be tested on a system where the problem actually occurs. -- ___ Python tracker ___ __

[issue6922] Interpreter hangs up while trying to decode invalid utf32 stream.

2009-09-16 Thread Alex
New submission from Alex : *** Prerequisites: Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 *** Description: 'utf_32_le' and 'utf_32_be' codecs are overconsuming memory when input data are damaged and kwarg 'errors' to str.decode is other than 'strict'. *

[issue5483] [PATCH]Add FastDbfilenameShelf: shelf nerver sync cache even when writeback=True

2009-09-16 Thread Robert Lehmann
Robert Lehmann added the comment: If I understand you correctly, your proposal is the following: use Shelf.cache to cache *all* objects instead of only keeping live references. Your patch retains the cache forever instead of purging it on sync. (All these changes only apply with writeback=True,

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-16 Thread STINNER Victor
STINNER Victor added the comment: @techtonik: You wrote "HTTPConnection" twice. I don't really understand your request. Do you think that the issue is fixed in Python trunk or not? If not, please open a new issue since this issue is closed. techtonik> And I still would like to see this fix in P

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-16 Thread STINNER Victor
Changes by STINNER Victor : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-16 Thread STINNER Victor
STINNER Victor added the comment: @techtonik: We wrote "HTTPConnection" twice. I don't really understand your request. Do you think that the issue is fixed in Python trunk or not? If not, please open a new issue since this issue is closed. techtonik> And I still would like to see this fix in Py

[issue6903] pdb - print in for iteration prints None after printing

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Actually, Guido hates the Nones. :) Fixed in r74839. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue6903] pdb - print in for iteration prints None after printing

2009-09-16 Thread Mitchell Model
Mitchell Model added the comment: No problem with the None's -- I see your point about that. Just that maybe the alias example should point out that the Nones will be printed so people won't be surprised and try to figure out what's wrong. --- Mitchell On Sep 16, 2009, at 5:56 AM, Geo

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-16 Thread anatoly techtonik
anatoly techtonik added the comment: There should be a better way to do this check, because HTTPConnection method may exists, but HTTPConnection may be impossible, because of other reasons. And I still would like to see this fix in Python 2.6 - too bad it hadn't enough attention before 2.6.

[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6

2009-09-16 Thread darkspork
darkspork added the comment: I can confirm this as well. It also locks up when pasting text. The EDIT menu retains its glow, and the pasted text appears after a few seconds, along with another blank square window titled "idle". Idle then locks up. Using the scrollbar in any way (even by using

[issue6873] posix_lchown: possible overflow of uid, gid

2009-09-16 Thread Boya Sun
Boya Sun added the comment: Martin, Corrected the patch accordingly. Can you verify whether the fix is correct or not now? Boya -- Added file: http://bugs.python.org/file14900/patch_6873.diff ___ Python tracker

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-16 Thread STINNER Victor
STINNER Victor added the comment: @techtonik: I don't think that testing socket._have_ssl is better than testing for HTTPSConnection. socket._have_ssl might be True, whereas HTTPSConnection is missing for a random reason. xmlrpclib uses HTTPSConnection, not directly the socket library. HTTPSConn

[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2009-09-16 Thread Zvezdan Petkovic
Zvezdan Petkovic added the comment: The patch `readline-libedit.patch` has the following problems: - a typo causing an undefined variable error; - a missing "#endif"; - it doesn't refer to the new __APPLE__ specific doc string anywhere. It fails to compile `readline.c`. :: Modules/readlin

[issue6921] recursion wierdness ... related to variable scoping?

2009-09-16 Thread David Hanney
New submission from David Hanney : I was playing about with ideas behind b-plus-trees and found i python bug the important bit of code is: for p, k in enumerate(self.keys): self.ptrs[p].dump(indent+1, kmin=lk, kmax=k) print sindent + "(

[issue5672] Implement a way to change the python process name

2009-09-16 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: > prctl is not portable. I always thought that the premise of stdlib is to > provide portable interfaces. BSD, for example, uses setprocname instead > of prctl. Also, prctl does not modify the process name shown in "ps > uxww". Here's how PostgreSQL does

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-16 Thread anatoly techtonik
anatoly techtonik added the comment: Yep, the patch at #6267 is an extension of this one except for the last chunk where I also check if sockets are ssl-enabled. I am not sure why it was needed. It also may have been already fixed somewhere else. As this bug doesn't have any tests attached it

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2009-09-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: We are trying to cut down on the number of "warning" directives in the docs; I think a "note" directive would be appropriate for yours. -- nosy: +benjamin.peterson ___ Python tracker

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: I'm not sure I'll be able to work on this again for a while after this morning, so here's a patch. I don't really understand how the exception structs are involved here, so I don't really know why the patch works, but it seems to. If there's something wro

[issue6919] Link CRT Statically

2009-09-16 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> rejected status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue6879] misstatement in example explanation using raise

2009-09-16 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in r74825 (trunk) and r74827 (release26-maint), thanks! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue6892] optparser example in optparse documentation is broken

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Fixed (by adding the add_help_option=False argument to OptionParser) in r74824. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue6875] add os.close() suggestion to mkstemp documentation

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: That one has to close open files should be common knowledge. And it's already documented that the filehandle returned is to be treated as if coming from `os.open`, so the "isn't a file object" is documented as well. Insofar, I'm in agreement with David. ---

[issue5672] Implement a way to change the python process name

2009-09-16 Thread Ask Solem
Ask Solem added the comment: Amaury Forgeot d'Arc, wrote: And I'd follow the same path: provide a way to build a launcher - a .exe file that simply starts python with the given script. Sounds good, but how would you expect to set the process name for a subprocess, like a multiprocessing.Pr

[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6

2009-09-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm willing to leave this as a release blocker for 2.6.3, but I will re-evaluate it if no progress is made on it. -- nosy: +barry ___ Python tracker __

[issue6918] ctypes compilation error on SnowLeopard

2009-09-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Agreed this should be a release blocker for 2.6.3 -- nosy: +barry ___ Python tracker ___ ___ Python

[issue6851] urllib.urlopen crashes in a thread on Snow Leopard

2009-09-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Agreed this should be a release blocker for 2.6.3 -- nosy: +barry ___ Python tracker ___ ___ Python

[issue6844] BaseException DeprecationError raises inappropriately

2009-09-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I agree that this is a release blocker for 2.6.3 -- nosy: +barry ___ Python tracker ___ ___ Python-

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2009-09-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Isn't this better implemented via a codec error handler? -- nosy: +amaury.forgeotdarc ___ Python tracker ___ _

[issue5621] Add description of special case to "Assignment statements" section

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: The patch submission was correct. I edited the patch a bit, moved the example from augmented assignment to the regular assignment and added a link from there to the new section. Committed in r74822. -- resolution: works for me -> accepted status: open -

[issue6920] IDLE 3 crashes on Ctrl+Space with "'utf8' codec can't decode bytes in position 0-1"

2009-09-16 Thread Ezio Melotti
Ezio Melotti added the comment: This is a duplicate of #1028. -- nosy: +ezio.melotti resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue6903] pdb - print in for iteration prints None after printing

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: This is caused by the special displayhook that pdb uses. Normally, the displayhook suppresses output when it would print None; this is not done in pdb's displayhook. This was a conscious decision, because it can remove confusion when you try to get variable value

[issue6829] Frendly error message when inheriting from function

2009-09-16 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue2320] Race condition in subprocess using stdin

2009-09-16 Thread Gabriel Genellina
Gabriel Genellina added the comment: @Robert: Yes, I'd say this is the same problem as issue4749 -- nosy: +gagenellina ___ Python tracker ___

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-09-16 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue6885] pdb documentation shows running as script using "python" not "python3"

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r74821. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue6881] incorrect signature in doc for PyByteArray_Resize

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: I don't think the iterator type needs to be documented; many other such iter types aren't. Also, the argument names needn't match (since C doesn't have the notion of keyword arguments). They can be changed in the docs to be more obvious than what the programmer

[issue6891] small typo in «unicode.rst»: « the Uniode APIs should be used» and broken URL

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Commented out the link for now in r74820. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue6876] readline documentation example error

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74819. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

[issue6880] class needs forward reference

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Thanks, added a reference in r74818. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue6880] class needs forward reference

2009-09-16 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-09-16 Thread Gabriel Genellina
Gabriel Genellina added the comment: If you provide a test case the patch has a greater chance of being accepted. -- nosy: +gagenellina ___ Python tracker ___ __

[issue6920] IDLE 3 crashes on Ctrl+Space with "'utf8' codec can't decode bytes in position 0-1"

2009-09-16 Thread Yinon Ehrlich
New submission from Yinon Ehrlich : on Ubuntu 8.04 - I downloaded the sources, then: ./configure --prefix=$HOME make && make install in ~/bin/idle3 when I press Ctrl+Space (according to the "Edit" menu, should show completions) idle crashes with the following traceback: Traceback (most recent c

[issue6906] Tkinter sets an unicode environment variable on win32

2009-09-16 Thread Gabriel Genellina
Gabriel Genellina added the comment: I cannot reproduce it with the python.org version: Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. py> import Tkinter py> import os py> os.environ['

[issue6412] Titlecase as defined in Unicode Case Mappings not followed

2009-09-16 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue6919] Link CRT Statically

2009-09-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: This can't possibly work. Extension modules that also link with the CRT will thus end with a separate copy of the CRT global state, causing crashes. -- nosy: +loewis ___ Python tracker

[issue6879] misstatement in example explanation using raise

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Yes, that seems a good idea. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: