[issue6916] Remove deprecated items from asynchat

2009-09-15 Thread Georg Brandl

Changes by Georg Brandl :


--
assignee: georg.brandl -> josiahcarlson
nosy: +josiahcarlson

___
Python tracker 

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



[issue6914] Py_SetPythonHome, undocumented behavoir

2009-09-15 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Fixed in r74795.

--
nosy: +benjamin.peterson
resolution:  -> fixed
status: open -> closed

___
Python tracker 

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



[issue6917] ".et_folder" instead of "get_folder" in mailbox documentation

2009-09-15 Thread dauerbaustelle

New submission from dauerbaustelle :

In the mailbox documentation,
http://docs.python.org/library/mailbox.html#mailbox.Maildir..et_folder
should be named "get_folder" instead of ".et_folder".

--
assignee: georg.brandl
components: Documentation
messages: 92647
nosy: dauerbaustelle, georg.brandl
severity: normal
status: open
title: ".et_folder" instead of "get_folder" in mailbox documentation
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1, Python 3.2

___
Python tracker 

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



[issue6517] configparser: add possibility to escape formatstrings

2009-09-15 Thread Fred L. Drake, Jr.

Changes by Fred L. Drake, Jr. :


--
nosy: +fdrake

___
Python tracker 

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



[issue6917] ".et_folder" instead of "get_folder" in mailbox documentation

2009-09-15 Thread Ezio Melotti

Changes by Ezio Melotti :


--
assignee: georg.brandl -> ezio.melotti
nosy: +ezio.melotti
priority:  -> low
resolution:  -> accepted

___
Python tracker 

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



[issue6917] ".et_folder" instead of "get_folder" in mailbox documentation

2009-09-15 Thread Ezio Melotti

Ezio Melotti  added the comment:

Fixed in r74799 (trunk), r74802 (py3k) and r74800/r74803
(release(26|31)-maint), thanks!

--
resolution: accepted -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

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



[issue6245] Add "intel" universal architecture on OSX

2009-09-15 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

Committed in 74806 (trunk), 74807 (2.6), 74808 (3.x), 74809 (3.1)

--
keywords:  -needs review, patch
resolution:  -> fixed
stage:  -> committed/rejected
type:  -> feature request

___
Python tracker 

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



[issue6245] Add "intel" universal architecture on OSX

2009-09-15 Thread Ronald Oussoren

Changes by Ronald Oussoren :


--
status: open -> closed

___
Python tracker 

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



[issue6441] Tkinter cannot find *64 bit* Tcl/Tk on Mac OS X

2009-09-15 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

I just commited a fix for this, the patch is present in all 4 active 
branches (2.6, 2.7, 3.1, 3.2)

--
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed
type: crash -> behavior

___
Python tracker 

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



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

2009-09-15 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

It seems that CoreFoundation doesn't like being loaded on a secondairy 
thread:

#0  0x7fff8301bb90 in __CFInitialize ()
#1  0x7fff5fc0d5ce in 
__dyld__ZN16ImageLoaderMachO11doImageInitERKN11ImageLoader11LinkContextE 
()
#2  0x7fff5fc0d607 in 
__dyld__ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkCon
textE ()
#3  0x7fff5fc0bcec in 
__dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj ()
#4  0x7fff5fc0bc9d in 
__dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEj ()
#5  0x7fff5fc0bda6 in 
__dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE ()
#6  0x7fff5fc08fbb in __dyld_dlopen ()
#7  0x7fff84902d40 in dlopen ()
#8  0x00010070a0d2 in py_dl_open ()
#9  0x0001000bb4ed in PyEval_EvalFrameEx ()
(More stack frames follow...)

--

___
Python tracker 

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



[issue6872] Support system readline on OS X 10.6

2009-09-15 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

purpleidea : Whether or not indexes should be 0-based in general is beyond 
the scope of this issue.

--

___
Python tracker 

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



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

2009-09-15 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

This probably means that the ctypes code in urllib.py needs to be ported 
to C, although we won't know if that helps until said C code is written 
:-(

Doing that would be a good idea anyway, while trying to create a 
workaround I noticed that the ctypes code is invalid anyway because 
there are not enough ctypes annotations when running in 64-bit mode 
(where sizeof(int) != sizeof(long))

In 32-bit mode you can avoid the crash by calling urllib.urlopen or 
urllib.proxy_bypass once on the main thread, but you have to use a 
qualified name ("localhost.localdomain", not "localhost").

--
resolution:  -> accepted
stage:  -> needs patch

___
Python tracker 

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



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

2009-09-15 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

The attached patch is a slightly cleaner version of your patch. What I 
don't like is that I'm also using runtime detection of libedit, I'd 
prefer compile-time detection but that doesn't seem possible without 
doing that dtection in setup.py.

My changes w.r.t. your patch:
* Do the libedit detection once when the readline module is initialised.
* Place libedit support in "#ifdef __APPLE__" blocks, the code might
  work with other libedit's (such as the one in NetBSD) as well, 
  but I cannot test that and don't want to risk breaking other 
  platforms.
* Also patch readline.get_history_item
* Change readline.__doc__ when using libedit's readline emulation

The patch seems to work on fine, including browsing in ipython's history 
on 10.6.

PS. I mentioned ipython because I know there were issues with ipython 
and Apple's python when Leopard was just out. I don't use ipython myself 
and hence don't know if they have added workarounds in their code (or if 
Apple fixed the issues the ran into)

Marking this issue as 'needs review' for two reasons:
1) I'm not familiar with the readline code
2) I'd like to know if this patch is backport material

--
keywords: +26backport, needs review
versions:  -Python 2.5, Python 3.0
Added file: http://bugs.python.org/file14895/readline-libedit.patch

___
Python tracker 

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



[issue6872] Support system readline on OS X 10.6

2009-09-15 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

I've added an updated patch to issue 6877 that implements the same 1-based 
indexing as GNU's readline and also adds a note to the documentation to 
warn users about the possibility of linking the readline module to 
libedit.

That patch would, possibly with clearer documentation, IMHO fix this 
issue.

--

___
Python tracker 

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



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

2009-09-15 Thread Ronald Oussoren

Changes by Ronald Oussoren :


--
priority:  -> release blocker

___
Python tracker 

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



[issue6918] ctypes compilation error on SnowLeopard

2009-09-15 Thread Ronald Oussoren

New submission from Ronald Oussoren :

When I compile the trunk on MacOS X 10.6 I get a compile (or rather 
link) error in ctypes:

ld: in build/temp.macosx-10.5-fat3-
2.7/Users/ronald/Projects/python/python-trunk-
clean/Modules/_ctypes/libffi_osx/powerpc/ppc-darwin.o, unsupported 
encoding in FDE for architecture ppc

This makes it impossible to build a univeral binary Python framework on 
OSX 10.6.

I don't think I'm running into the same issue with PyObjC, it that works 
I'll port PyObjC's version of ppc-darwin to the version of libffi that's 
used by ctypes.

--
assignee: ronaldoussoren
components: Macintosh, ctypes
messages: 92656
nosy: ronaldoussoren
priority: release blocker
severity: normal
status: open
title: ctypes compilation error on SnowLeopard
type: compile error
versions: Python 2.6, Python 2.7

___
Python tracker 

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



[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6

2009-09-15 Thread Ronald Oussoren

Changes by Ronald Oussoren :


--
priority:  -> release blocker

___
Python tracker 

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



[issue6907] xmlrpclib.make_connection() is not thread safe

2009-09-15 Thread Kristján Valur Jónsson

Kristján Valur Jónsson  added the comment:

Ah yes.
Sorry, I'm no good with this system.  Thanks.

--

___
Python tracker 

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



[issue6860] Inconsistent naming of custom command in setup.py help output

2009-09-15 Thread Tarek Ziadé

Tarek Ziadé  added the comment:

Right, thanks for noticing this.

Here's the change I am going to make:

The code will use command.get_command_name() *everywhere* for the help 
display.

This method implemented in Command does the following:

- if the attribute "command_name" is present, it is returned
- __class__.__name__ ortherwise.

Meaning that you can define the name you want in the class.

Notice that this is under-documented so I need to add some document
for that behavior/feature.

I will not push this change in 2.7 since I don't consider this as a 
bug.

--
priority:  -> normal
resolution:  -> accepted
versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6

___
Python tracker 

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



[issue6516] reset owner/group to root for distutils tarballs

2009-09-15 Thread Tarek Ziadé

Tarek Ziadé  added the comment:

#6856 was added by Lars, so I can move forward and work on this one.

--
resolution:  -> accepted

___
Python tracker 

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



[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2009-09-15 Thread Sridhar Ratnakumar

Changes by Sridhar Ratnakumar :


--
nosy: +srid

___
Python tracker 

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



[issue6910] 1-char typo in language reference doc of import

2009-09-15 Thread Ezio Melotti

Ezio Melotti  added the comment:

Fixed in r74815 (py3k), thanks!

--
assignee: georg.brandl -> ezio.melotti
nosy: +ezio.melotti
priority:  -> low
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

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



[issue6900] Sub-optimal "Locate" button behaviour in Windows CHM file

2009-09-15 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +ezio.melotti
priority:  -> low

___
Python tracker 

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



[issue6881] incorrect signature in doc for PyByteArray_Resize

2009-09-15 Thread Ezio Melotti

Ezio Melotti  added the comment:

The PyByteArrayIter_Type is also missing, and the arg names of several
functions don't match the ones in the C source in Objects/bytesobject.c .
It might also be a good idea to add sub-headers in the doc to group
these functions in the same way they are grouped in the .h file (i.e.
Type Object, Type check macros, Direct API functions, Macros).

--
nosy: +ezio.melotti
priority:  -> low
resolution:  -> accepted

___
Python tracker 

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



[issue6879] misstatement in example explanation using raise

2009-09-15 Thread Ezio Melotti

Ezio Melotti  added the comment:

The original was:
>>> raise NameError, 'HiThere'
Since now this form is deprecated, I would remove that paragraph altogether.
Instead, that paragraph should be replaced with:
"The sole argument to raise indicates the exception to be raised. This
must be either an exception instance or an exception class (a class that
derives from Exception)."
as it is now in the Py3 doc (possibly backporting r58076).

--
assignee: georg.brandl -> ezio.melotti
nosy: +ezio.melotti
priority:  -> low

___
Python tracker 

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



[issue6919] Link CRT Statically

2009-09-15 Thread Henri Hein

New submission from Henri Hein :

Suggestion:  Link the CRT statically into Python26.dll/PythonNN.dll 
and compiled .PYD files, at least when using the Microsoft compiler.  

There has been a number of bugs related to the msvcrt.dll, 
msvcr90.dll, etc.  Many of these would go away if the CRT was 
statically linked into PythonNN.dll.  

The advantages of dynamically linking the CRT are not clear.  The 
binaries are decreased a bit in size, but this is countered by having 
to redistribute the CRT DLL.  

Switching to static linking is a little more work than just flipping a 
switch, as you have to compensate for some of the initialization work 
the DLL does, but it is both doable and worth doing.

--
assignee: tarek
components: Distutils, Windows
messages: 92663
nosy: hankdane, tarek
severity: normal
status: open
title: Link CRT Statically
versions: Python 2.4, Python 2.5, Python 2.6

___
Python tracker 

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