[issue5267] Subversion problem with PythonLauncher after building 3.0 or 3.1 on Mac

2009-02-15 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

How precisely did you build? Can you check whether any build step
removed PythonLauncher, then recreated it?

If you remove Python Launcher.app, you should be able to svn update.

--
nosy: +loewis

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



[issue5269] OS X Installer: add options to specify universal build type and deployment target

2009-02-15 Thread Ned Deily

New submission from Ned Deily n...@acm.org:

The current OS X installer builder has no provision for changing the
architecture type or deployment target to allow different installer
types, such as 4-way universal, to be built.  The attached patch
allows for builds on systems other than 10.4 and adds two new
arguments to build-installer.py:

  --dep-target=10.n, [default 10.3]
  --universal-archs=x
 where x =
   '32-bit' - 2-way 32-bit (intel|ppc) [default]
   '64-bit' - 2-way 64-bit (intel|ppc)
   'all'- 4-way universal

The default values are the current hard-coded ones.

--
components: Macintosh
files: patch-nad0006.txt
messages: 82142
nosy: nad
severity: normal
status: open
title: OS X Installer: add options to specify universal build type and 
deployment target
type: feature request
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file13093/patch-nad0006.txt

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



[issue5270] OS X installer: faulty Python.app bundle inside of framework

2009-02-15 Thread Ned Deily

New submission from Ned Deily n...@acm.org:

The Finder shows no version number and displays a generic icon.

ANALYSISPrevious changes to Mac/Makefile removed configure processing
which used to edit Info.plist.in into Info.plist.

SOLUTIONAdd tailoring to Mac/Makefile.

APPLIES py3k, 3.0, trunk, 2.6

--
components: Macintosh
files: patch-nad0004.txt
messages: 82143
nosy: nad
severity: normal
status: open
title: OS X installer: faulty Python.app bundle inside of framework
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file13094/patch-nad0004.txt

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



[issue5271] OS X installer: build can fail on import checks

2009-02-15 Thread Ned Deily

New submission from Ned Deily n...@acm.org:

ANALYSIS The OS X installer build include several third-party libraries
 which will be installed as shared libs in the framework.
 During the build, setup.py tries to import built extensions to
 catch import problems.  Currently, the import check attempts to
 load the shared libs from their installed location.  If the
 version being built is not installed on the build machine, the
 build fails; if present, the imports are checked against the
 old libraries.  Problems seen with _curses_panel on all builds
 and, for 4-way universal, _curses and readlines.

SOLUTION add the newly built extra libs into the DYLD_LIBRARY_PATH of
 the interpreter during the build phase

APPLIES  2.6, 2.7, 3.0, 3.1

--
components: Build, Macintosh
files: patch-nad0011.txt
messages: 82144
nosy: nad
severity: normal
status: open
title: OS X installer: build can fail on import checks
type: compile error
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1
Added file: http://bugs.python.org/file13095/patch-nad0011.txt

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



[issue5272] OS X installer: fix makefile target changed for 3.x

2009-02-15 Thread Ned Deily

New submission from Ned Deily n...@acm.org:

2.x make install is equivalent to 3.x make fullinstall
Update Mac/BuildScript/build-installer.py accordingly.
This prevents spurious warning messages in the installer build.

--
components: Build, Macintosh
files: patch-nad0003-py3k-30.txt
messages: 82145
nosy: nad
severity: normal
status: open
title: OS X installer: fix makefile target changed for 3.x
type: crash
versions: Python 3.0, Python 3.1
Added file: http://bugs.python.org/file13096/patch-nad0003-py3k-30.txt

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



[issue5267] Subversion problem with PythonLauncher after building 3.0 or 3.1 on Mac

2009-02-15 Thread Ned Deily

Ned Deily n...@acm.org added the comment:

There are various steps in the Mac build process where the files are 
copied from the build source to the build destination and then .svn 
directories (among other things) are removed.  Perhaps you tried building 
using the source directory as the destination directory?

--
nosy: +nad

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



[issue870479] Scripts need platform-dependent handling

2009-02-15 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

more discussion here :
http://mail.python.org/pipermail/distutils-sig/2009-February/010980.html

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



[issue870479] Scripts need platform-dependent handling

2009-02-15 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

 I assume it generates a shell script with no extension on Unix?

Yes

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



[issue5261] with lock fails on multiprocessing

2009-02-15 Thread Tim Golden

Changes by Tim Golden m...@timgolden.me.uk:


--
type:  - crash

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



[issue5260] longobject.c: minor fixes, cleanups and optimizations

2009-02-15 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Thanks, Antoine and Gregory!

Committed, r69634 and r69635.

--
resolution:  - accepted
status: open - closed

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



[issue5273] 3.0.1 crashes in unicode path

2009-02-15 Thread Musashi Tamura

New submission from Musashi Tamura yuri.musashi.miwa.tam...@gmail.com:

In unicode path Python 3.0.1 crashes when importing compiled module.
This does not happen on Python 3.0, new in 3.0.1.

Detailed Situation:
OS: win2000
current pathname contains Japanese characters.
./a.py contains only a statement import b.
./b.py is empty.
 python a.py
(nothing is happen but b.pyc is created)
 python a.py
Traceback (most recent call last):
  File a.py, line 1, in module
import b
UnicodeDecodeError: 'utf8' codec can't decode byte 0x82 in position 3:
unexpected code byte

--
components: Windows
messages: 82150
nosy: miwa
severity: normal
status: open
title: 3.0.1 crashes in unicode path
type: crash
versions: Python 3.0

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



[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-15 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

I couldn't reproduce the problem under Python 2.5, 2.6 and current
trunk. I am not sure I have the same conditions though, because 
I use a standalone RPM version under mac os x (see
http://rpm5.org/files/rpm/rpm-5.0/BINARY/)


Could you try to reproduce it under the latest 2.6 release ?


Nevertheless, I have started to write a test i'll include (see the patch)

--
keywords: +patch
Added file: http://bugs.python.org/file13097/rpm.patch

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



[issue5273] 3.0.1 crashes in unicode path

2009-02-15 Thread Hirokazu Yamamoto

Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:

Quick observation. This bug was introduces in r68363.

import.c(994)
newname = PyUnicode_FromString(pathname);

pathname is mbcs on windows, but PyUnicode_FromString assumes it as UTF8.

--
nosy: +ocean-city

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



[issue5273] 3.0.1 crashes in unicode path

2009-02-15 Thread Hirokazu Yamamoto

Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:

Here is a patch.

--
components: +Interpreter Core, Unicode
keywords: +patch
versions: +Python 3.1
Added file: http://bugs.python.org/file13098/fix_import.patch

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



[issue5273] 3.0.1 crashes in unicode path

2009-02-15 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Gasp. Sorry for the bug.
Should PyUnicode_CompareWithASCIIString() be replaced with something
else as well?

--
nosy: +pitrou

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



[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-15 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

Tarek, the issue can only be reproduced on Redhat/Fedora-like systems (I
have a Mandriva here and therefore can't check). But it's likely that
the issue still exists.

--
nosy: +kiilerix

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



[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-15 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

ok then: I am creating a Fedora 5 VM.  It'll be useful in any case in
the future to follow bdist_rpm issues.

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



[issue3760] PEP 3121 --- PyType_Copy is missing

2009-02-15 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
nosy: +benjamin.peterson, pitrou

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



[issue5188] telnetlib process_rawq buffer handling is confused

2009-02-15 Thread David Christian

David Christian d...@rpath.com added the comment:

True.  It turns out that there are other uses of a bytes string when a
byte is required in that same routine.  I've patched up those as well. 
Looks what we really need is a test of this function.  I'll work on that
as well.

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



[issue5188] telnetlib process_rawq buffer handling is confused

2009-02-15 Thread David Christian

Changes by David Christian d...@rpath.com:


Added file: http://bugs.python.org/file13099/telnetlib.patch

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



[issue4142] smtplib doesn't clear helo/ehlo flags on quit

2009-02-15 Thread Felix Schwarz

Felix Schwarz felix.schw...@web.de added the comment:

I can confirm that this issue is still present in Python 2.5.2, 2.6.1
and 3.0.1.

The current behavior of smtplib is a clear violation of the SMTP
specification. The problem can be reproduced with code like that (stub,
pseudo code-like):
smtp = smtplib.SMTP()
smtp.sendmail('f...@example.com', 'f...@example.com', msg)
smtp.quit()
smtp.connect()
# This command does not send EHLO/HELO again, violating the spec!
smtp.sendmail('f...@example.com', 'f...@example.com', msg)

Real world bug reports due to this behavior were mostly visible with
Exim because this MTA rejects the 'MAIL FROM' if SMTP extension verbs
are used without EHLO:
*
http://groups.google.com/group/turbomail-devel/browse_thread/thread/a25c89a94b42724f
* http://www.google.com/search?q=exim+python+%22malformed+address%22+size

--
nosy: +Felix Schwarz

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



[issue5273] 3.0.1 crashes in unicode path

2009-02-15 Thread Hirokazu Yamamoto

Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:

I'm not sure. Even my patch might not be correct anyway.

On my VC6 Debugger,
update_compiled_module(PyCodeObject *co, char *pathname)
pathname is surely mbcs.

But its caller load_source_module is calling

if (fstat(fileno(fp), st) != 0) {
PyErr_Format(PyExc_RuntimeError,
 unable to get file status from '%s',
 pathname);
return NULL;
}

I've looked into PyErr_Format code, it seems %s assumes utf-8. Anway,
it's difficult to know char* is utf-8 or filesystem encoding. :-(

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



[issue4142] smtplib doesn't clear helo/ehlo flags on quit

2009-02-15 Thread Felix Schwarz

Changes by Felix Schwarz felix.schw...@web.de:


--
keywords: +patch
Added file: http://bugs.python.org/file13100/helo.patch

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



[issue4142] smtplib doesn't clear helo/ehlo flags on quit

2009-02-15 Thread Felix Schwarz

Changes by Felix Schwarz felix.schw...@web.de:


--
versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.0

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



[issue5273] 3.0.1 crashes in unicode path

2009-02-15 Thread Hirokazu Yamamoto

Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:

I tracked down, and I found this mbcs path is set in Python/import.c(1394) 
find_module.

if (PyUnicode_Check(v)) {
v = PyUnicode_AsEncodedString(v, 
Py_FileSystemDefaultEncoding, NULL);
if (v == NULL)
return NULL;
}

And this was introduced in r64126 to fix segfault mentioned in
issue1342. I'm not understanding why segfault happened but, I feel this
issue is the part of big problem. (issue3080)

--
dependencies: +Full unicode import system

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



[issue1384175] random module - Provider DLL failed to initialize correctly

2009-02-15 Thread Silas S. Brown

Silas S. Brown ss...@users.sourceforge.net added the comment:

I got a very similar error on an Otek Pocket PC running Windows Mobile
2003 SE and the latest version of pythonce from
pythonce.sourceforge.net.  The error is:

File
C:\devl\release\PythonCE-2.5-20061219\Python-2.5-wince\Lib\random.py,
line 108, in seed
type 'exceptions.WindowsError': [Error 87] Provider DLL failed to
initialize correctly

Although this was thrown up at the import random at the start of my
program, the actual change I made that resulted in this error was much
later in the program, and it was to change the lines

try: justSynthesize=raw_input(Say: )
except EOFError: break

into

try:
justSynthesize=raw_input(cond(winCEsound,.join(warnings_printed)+cond(warnings_printed,\n,),)+Say:
) # (WinCE uses an input box so need to repeat the warnings if any)
except EOFError: break

where cond is an if a then b else c function.

A little more investigation showed that the culprit was the comment! 
Removing the comment after the raw_input() call (or putting it on a
different line) causes the program to work again.

I confirmed that adding any raw_input() call to any function, with a
prompt parameter and a comment afterwards, causes this error to happen
on the import random near the top of the program.  This is a very
strange bug.

--
nosy: +ssb22

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



[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-15 Thread Mads Kiilerich

Mads Kiilerich m...@kiilerich.com added the comment:

Note that:

This bug now is tracked in Fedora as
https://bugzilla.redhat.com/show_bug.cgi?id=236535

The root of the problem on Fedora is that SElinux will give noisy
warnings if python tries to to access or create non-existing foo.pyo for
a packaged foo.py. Fedoras solution to this is to always create and
package .pyo files to which proper SElinux labels can be attached. The
.pyo files are automatically created by
/usr/lib/rpm/brp-python-bytecompile behind the scenes when a rpm is
build. The problem is that bdist_rpm only knows and lists the .pyo files
created by setup and thus doesn't include the brp-python-bytecompile .pyos.

It could be argued that Fedora thus enforces a custom policy on RPM, and
it should be Fedoras job to complete that job and patch bdist_rpm to
match that custom policy. See the pending patch at 
https://bugzilla.redhat.com/show_bug.cgi?id=236535#c20

However, it would be nice if Python distutils acknowledged that
downstream Fedora has a special need here and helped solving it. Perhaps
the patch could be accepted in distutils so that bdist_rpm always runs
setup with -O1? Or some other change that could make it easy to
configure/customize distutils to match the platforms needs ...

Finally, note that Fedora and Red Hat (and apparently also Suse and
Mandriva) uses rpm.org, and rpm5 is a competing fork. (Rpm5 probably
claims that rpm.org is the evil guys who forked.)

Tarek, I assume you meant you are creating a Fedora 10 or RHEL/CentOS 5 VM?

I will be glad to help testing and answering further questions.

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



[issue1533164] Installed but not listed *.pyo break bdist_rpm

2009-02-15 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

 Perhaps the patch could be accepted in distutils so that bdist_rpm 
 always runs setup with -O1? Or some other change that could make
 it easy to configure/customize distutils to match the platforms 
 needs ...

We could have a new parameter for bdist_rpm for this so it doesn't 
use sdist optimize parameter, (rpm_optimize) 
and make it True by default for example.

But is this a desired behavior for all rpm-based systems out there ?

 Tarek, I assume you meant you are creating a Fedora 10 
 or RHEL/CentOS 5 VM?

Yes, I am downloading Fedora 9. I assumed it was the best pick to 
work on that problem. (let me know if I should use another version)
 
 I will be glad to help testing and answering further questions

Great ! While I am going to work on Fedora 9 for this problem,
if you have the time to set up a python development 
environment, it would be great to test things on your side too.

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



[issue5273] 3.0.1 crashes in unicode path

2009-02-15 Thread Hirokazu Yamamoto

Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:

Should PyUnicode_CompareWithASCIIString() be replaced with something
else as well?

I hope revised patch will fix this too. There seems to be no function to
compare unicode object and file system encoded string, so I moved
unicode creation before comparation. This might increase overhead a bit.

Issue3080 is big issue, so this is minimal solution for this issue. I
confirmed test_import.py passed.

--
dependencies:  -Full unicode import system
Added file: http://bugs.python.org/file13101/fix_import.patch

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



[issue5273] 3.0.1 crashes in unicode path

2009-02-15 Thread Hirokazu Yamamoto

Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:


Removed file: http://bugs.python.org/file13098/fix_import.patch

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



[issue4142] smtplib doesn't clear helo/ehlo flags on quit

2009-02-15 Thread Martin v. Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

IIUC, the bug only occurs if you use the same SMTP object for multiple
connections. I would claim that this is a bug in the application: SMTP
objects are not designed to be used for multiple connections. You need
to create a new one for each connection.

If you want to extend the SMTP class to work for multiple connections,
the provided patch is incorrect. Resetting the attributes should not be
done in .connect() (i.e. for the new connection), but in .close() (i.e.
when shutting down the previous connection). Furthermore, it should not
only reset the two response attributes, but all per-connection
attributes (which includes e.g. esmtp_features), and a test should be
provided that, after close, only known good attributes remain set on
the object (e.g. debuglevel).

--
nosy: +loewis

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



[issue1384175] random module - Provider DLL failed to initialize correctly

2009-02-15 Thread Silas S. Brown

Silas S. Brown ss...@users.sourceforge.net added the comment:

After further investigation I'm suspecting that this issue is actually
due to the process running out of RAM.

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



[issue1123727] gensuitemodule.processfile fails

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1254695] QuickTime API needs corrected object types

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4, Python 2.5

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



[issue1700507] Carbon.Scrap.PutScrapFlavor

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue5247] Unhelpful error message with str.format()

2009-02-15 Thread Eric Smith

Eric Smith e...@trueblade.com added the comment:

I've gone back and read PEP 3101. To use its terminology, I think the
error message should be something like:
Unknown presentation type %c for type %s.

I'm not sure where I got the original wording conversion type. It's
true that it's sometimes used for type conversion (int-float, for
example), but that's not its real purpose.

It's unfortunate that type is used in the PEP and the online docs for
presentation type, and we're trying to report an error on the
argument's type.

Any suggestions for clearer wording?

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



[issue1075356] exceeding obscure weakproxy bug

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Confirmed with rev69546.

--
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue5247] Unhelpful error message with str.format()

2009-02-15 Thread Eric Smith

Eric Smith e...@trueblade.com added the comment:

The attached patch (against trunk) changes the message.

However, it has at least one unintended consequence. If you have an
object with no __format__, it gets converted to a string, which is then
formatted. So you get:

 '{0:^10}'.format(0j)
'0j'
 '{0:^10x}'.format(0j)
Traceback (most recent call last):
  File stdin, line 1, in module
ValueError: Unknown presentation type x for str
 

I'm calling format on an complex number, but the error says str. The
error is correct, because the complex number has been converted to a
string before the formatting mechanism can get the actual type. I think
we'll have to live with this if we add the type to the error message.

--
keywords: +patch
Added file: http://bugs.python.org/file13102/issue5247.patch

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



[issue5247] Unhelpful error message with str.format()

2009-02-15 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

 Any suggestions for clearer wording?

Use formatting code rather than presentation type?

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



[issue1116520] Prefix search is filesystem-centric

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +brett.cannon
stage:  - test needed
type:  - feature request
versions: +Python 2.7, Python 3.1

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



[issue1113244] Please add do-while guard to Py_DECREF etc.

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
priority: normal - low
type:  - feature request
versions: +Python 2.7, Python 3.1 -Python 2.4

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



[issue1111100] csv reader barfs encountering quote when quote_none is set

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Cannot reproduce (snippet gives correct output). As many newline
handling changes went into csv, I will close unless someone can
reproduce the bug.

--
nosy: +ajaksu2
type:  - behavior

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



[issue1111130] tkSimpleDialog broken on MacOS X (Aqua Tk)

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1078245] Python2.4: building '_socket' extension fails with `INET_ADD

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1076790] test test_codecs failed

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Extension Modules, Unicode -Library (Lib)
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue5275] BaseCookie.load doesn't create Morsel objects for mappings

2009-02-15 Thread Mark Florisson

New submission from Mark Florisson markflorisso...@gmail.com:

The load method, which is also called from the initializer if input is
provided, doesn't create Morsel objects for things other than strs,
because it calls self.update(rawdata), which does not invoke the custom
__setitem__.

The documentation states that when rawdata is not a string, it must be a
dictionary and providing that will be equivalent to doing

for k, v in rawdata.items():
cookie[k] = v

So that is what it should do :)

--
messages: 82177
nosy: eggy
severity: normal
status: open
title: BaseCookie.load doesn't create Morsel objects for mappings
type: behavior
versions: Python 2.4, Python 2.5, Python 2.6, Python 2.7, Python 3.0, Python 3.1

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



[issue5267] Subversion problem with PythonLauncher after building 3.0 or 3.1 on Mac

2009-02-15 Thread Mitchell Model

Mitchell Model m...@acm.org added the comment:

Ned Deily n...@acm.org added the comment:

There are various steps in the Mac build process where the files are
copied from the build source to the build destination and then .svn
directories (among other things) are removed.  Perhaps you tried building
using the source directory as the destination directory?


See my previous message. The question is whether I should be doing the build 
from the src directory. It works fine in all respects -- it creates a build 
subdirectory and does everything in there. For IDLE.app it does create a .svn 
but for PythonLauncher.app it doesn't. Either make clean or something else 
I'm not doing should remove all of the .app packages entirely or the build 
process should leave behind a .svn in each of the .app packages. Are there 
build instructions somewhere that say I should be doing something other than 
what I'm doing? I really want to know. I've been hanging out in the background 
studying, using, and teaching Python for years, building it on Mac G4's and an 
Intel MacBook Pro, and even on Window machines, but am only now starting to 
contribute to the community, so I appreciate any guidance or clarification 
anyone wants to offer.

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



[issue1682942] ConfigParser support for alt delimiters

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - patch review
type:  - feature request
versions: +Python 2.7

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



[issue1165404] ConfigParser alternative key-value delimitier

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Closing as #1682942 has a better patch (a link to this one is
automagically added).

--
components: +Library (Lib) -None
nosy: +ajaksu2
superseder:  - ConfigParser support for alt delimiters
type:  - feature request
versions: +Python 2.7

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



[issue1169108] PySys_WriteStderr() - WaitForSingleObject() hangs system

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Unless someone can reproduce this in a recent CPython build, I'll close
this one soon.

--
nosy: +ajaksu2
priority: normal - low
type:  - behavior
versions: +3rd party -Python 2.4

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



[issue1172711] long long support for array module

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Extension Modules -Library (Lib)
stage:  - test needed
type:  - feature request
versions: +Python 2.7 -Python 2.5

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



[issue1169633] Install fail code 2932 after fail to copy python_icon.exe

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Will close soon for lack of response for OP unless someone wants to
adopt it.

--
nosy: +ajaksu2
priority: normal - low
stage:  - test needed
type:  - behavior

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



[issue1159425] 2.4 crashes when try to exit app and mulitple threads active

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

A sample script that reproduces this behavior in 2.6 is needed if this
one is to have a chance of being fixed.

--
nosy: +ajaksu2
stage:  - test needed
type:  - crash
versions: +Python 2.6 -Python 2.4

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



[issue1159051] Handle corrupted gzip files with unexpected EOF

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Confirmed on trunk with test_gzip_error.py:

struct.error: unpack requires a string argument of length 4

--
nosy: +ajaksu2

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



[issue5276] IDLE startup file .Idle.py not documented

2009-02-15 Thread Mitchell Model

New submission from Mitchell Model m...@acm.org:

The following behavior should be documented but it is not:

If the user has a .Idle.py file IDLE will run it when it starts up. This 
is independent of running IDLESTARTUP or PYTHONSTARTUP when the -s 
switch is given. It is run by Tk.readprofile as called from Tk.__init__. 
The Idle comes from the name passed to TK() when PyShell.py creates 
its Tk root. In fact, not only is it independent, but it works 
differently: any imports done in .Idle.py go into Tk's name space, 
whereas IDLESTARTUP/PYTHONSTARTUP is exec'd and imports go into the 
interpreter's namespace.

Note that the 'I' in '.Idle.py' is really uppercase, which will matter 
on case-sensitive platforms.

--
assignee: georg.brandl
components: Documentation, IDLE
messages: 82186
nosy: MLModel, georg.brandl
severity: normal
status: open
title: IDLE startup file .Idle.py not documented
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1

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



[issue1158231] string.Template does not allow step-by-step replacements

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
versions: +Python 2.7

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



[issue1144263] reload() is broken for C extension objects

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +brett.cannon
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1149447] bssdb wrapper does not export some low-level functions

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
components: +Extension Modules
type:  - feature request
versions: +Python 3.1 -Python 2.3

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



[issue1152248] Enhance file.readlines by making line separator selectable

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
versions: +Python 3.1 -Python 3.0

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



[issue1149798] hotshot.runctx: builtins missing

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
keywords: +patch
stage:  - patch review
type:  - feature request
versions: +Python 2.7 -Python 2.3

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



[issue5243] Missing dependency in distutils build

2009-02-15 Thread Patrick Gerken

Patrick Gerken patrick.ger...@computer.org added the comment:

The attached test works breaks without the patch and passes with the patch.

I am not sure whether the test itself is written following best practice.
I would be more than happy for a review, with hints what should be done
better.

Added file: http://bugs.python.org/file13103/test_install_lib.py

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



[issue1156499] __getattr__ and __setattr__ methods for modules

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
versions: +Python 2.7, Python 3.1

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



[issue1155362] Bugs in parsedate_tz

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.3

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



[issue1154351] add get_current_dir_name() to os module

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
versions: +Python 2.7, Python 3.1

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



[issue1153622] eval does not bind variables in lambda bodies correctly

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
type:  - feature request
versions: +Python 2.7 -Python 2.4

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



[issue1152248] Enhance file.readlines by making line separator selectable

2009-02-15 Thread Nick Coghlan

Nick Coghlan ncogh...@gmail.com added the comment:

Any further work on this should wait until the io-in-c branch has landed
(or at least be based on that branch).

--
stage: test needed - needs patch

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



[issue5243] Missing dependency in distutils build

2009-02-15 Thread Tarek Ziadé

Tarek Ziadé ziade.ta...@gmail.com added the comment:

The patch looks good.

Minor tweaks :

- sys.path should be set to its initial state after the test
(setUp/tearDown might be helpfull here)

- ensure_finalized() should be called right before run() 
  so it acts like the real call

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



[issue5267] Subversion problem with PythonLauncher after building 3.0 or 3.1 on Mac

2009-02-15 Thread Mitchell Model

Mitchell Model m...@acm.org added the comment:

Martin v. Löwis mar...@v.loewis.de added the comment:

How precisely did you build? Can you check whether any build step
removed PythonLauncher, then recreated it?

in the svn directory for, say, py3k

% svn update
% make clean
% ./configure --enable-frameworks
% make
% sudo make install


If you remove Python Launcher.app, you should be able to svn update.

Yes, that's what I've been doing.

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



[issue5267] Subversion problem with PythonLauncher after building 3.0 or 3.1 on Mac

2009-02-15 Thread Mitchell Model

Mitchell Model m...@acm.org added the comment:

Sorry -- msg 82178 refers to my previous message but I sent them out of 
order. The previous message was 82190, just below 82178.

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



[issue5247] Unhelpful error message with str.format()

2009-02-15 Thread Eric Smith

Eric Smith e...@trueblade.com added the comment:

With this patch, I changed it to format code, and made it more in line
with Antoine's original suggested message.

I'm okay with format code or formatting code, but if we do use
either of those wordings, we should change the documentation to match.
Not sure if the PEP should be modified. It's slightly out of date anyway.

 '{0:x}'.format('')
Traceback (most recent call last):
  File stdin, line 1, in module
ValueError: Unknown format code 'x' for object of type 'str'


Added file: http://bugs.python.org/file13104/issue5247-1.patch

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



[issue1259434] Tix CheckList 'radio' option cannot be changed

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1252236] Simplying Tkinter's event loop

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - feature request
versions: +Python 2.7 -Python 2.5

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



[issue1265100] sequence slicing documentation incomplete

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Is this a won't fix, then?

--
nosy: +ajaksu2
type:  - feature request
versions: +Python 2.7 -Python 2.4

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



[issue1248119] pdb 'next' does not skip list comprehension

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Will close this one as fixed by issue 1267629, unless someone voices
disagreement.

--
nosy: +ajaksu2
superseder:  - pdb: implement until,fix for 1248119

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



[issue1234473] configure: error: cannot compute sizeof (int), 77

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior

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



[issue1234674] filecmp.cmp's shallow option

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1278102] help(keyword) broken, especially on Windows

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1282647] socket.getaddrinfo() bug for IPv6 enabled platforms

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1251026] cgitb gives wrong lineno inside try:..finally:

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Cannot reproduce, trunk as of rev69550 displays the error highlighted in
the correct line.

--
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6

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



[issue1252001] Issue with telnetlib read_until not timing out

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1251921] Fail codecs.lookup() on 'mbcs' and 'tactis'

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

The 'tactis' codec is still missing, but it's not mentioned in docs
either: http://docs.python.org/dev/library/codecs.html#id3

I'll close this one soon unless someone voices disagreement.

--
components: +Documentation
nosy: +ajaksu2
type:  - feature request

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



[issue1214879] Support non-file source/dest in marshal

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - patch review
type:  - feature request
versions: +Python 2.7 -Python 2.5

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



[issue1254125] Python interpreter unnecessarily linked against c++ runtime

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
priority: normal - low
type:  - feature request
versions: +Python 2.7

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



[issue1249749] Encodings and aliases do not match runtime

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
priority: normal - low
type:  - feature request
versions: +Python 2.7 -Python 2.4

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



[issue1256786] slice object uses -1 as exclusive end-bound

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

Closing suggested. FWIW, Micheal's reply is at
http://mail.python.org/pipermail/python-list/2005-August/335846.html

--
nosy: +ajaksu2
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue4609] Allow use of 256 FD's on solaris in 32 bit mode

2009-02-15 Thread John Levon

Changes by John Levon movem...@users.sourceforge.net:


--
nosy: +movement

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



[issue3928] os.mknod missing on Solaris

2009-02-15 Thread John Levon

Changes by John Levon movem...@users.sourceforge.net:


--
nosy: +movement

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



[issue3265] Python-2.5.2/Modules/_ctypes/malloc_closure.c:70: error: `MAP_ANONYMOUS' undeclared

2009-02-15 Thread John Levon

Changes by John Levon movem...@users.sourceforge.net:


--
nosy: +movement

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



[issue1119673] ScrolledText allows Frame.bbox to hide Text.bbox

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.3

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



[issue1122916] incorrect handle of declaration in markupbase

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
title: incorrect handle of declaration in markupbase  - incorrect handle of 
declaration in markupbase
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1147646] Windows deadlock with PyEval_ReleaseLock

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
title: Windows deadlock with PyEval_ReleaseLock  - Windows deadlock with 
PyEval_ReleaseLock
type:  - behavior
versions: +Python 2.6 -Python 2.4

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



[issue1144533] htmllib quote parse error within a script

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - behavior
versions: +Python 2.6 -Python 2.3

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



[issue1162477] Parsing failures in parsedate_tz

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - feature request
versions: +Python 2.7 -Python 2.3

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



[issue1186900] nntplib shouldn't raise generic EOFError

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
versions: +Python 2.7

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



[issue1189811] pydoc may hide non-private doc strings.

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - feature request
versions: +Python 2.7

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



[issue1195571] simple callback system for Py_FatalError

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
nosy: +haypo
stage:  - test needed
title: simple callback system for Py_FatalError  - simple callback system for 
Py_FatalError
type:  - feature request
versions: +Python 2.7 -Python 2.4

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



[issue1198569] string.Template not flexible enough to subclass (regexes)

2009-02-15 Thread Daniel Diniz

Daniel Diniz aja...@gmail.com added the comment:

IIUC, Ian's link has a doctest for this feature.

--
nosy: +ajaksu2
stage:  - needs patch
versions: +Python 2.7

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



[issue1210680] Split email headers near a space

2009-02-15 Thread Daniel Diniz

Changes by Daniel Diniz aja...@gmail.com:


--
stage:  - test needed
type:  - feature request
versions: +Python 2.7

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



[issue1156499] __getattr__ and __setattr__ methods for modules

2009-02-15 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

This won't be done without a PEP anyway.

--
nosy: +georg.brandl
resolution:  - wont fix
status: open - closed

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



[issue1759169] clean up Solaris port and allow C99 extension modules

2009-02-15 Thread John Levon

John Levon movem...@users.sourceforge.net added the comment:

Just came across this bug.

_XOPEN_SOURCE_EXTENDED isn't the only sticking point here: neither XPG3
nor XPG4 have C99 either: _XOPEN_SOURCE (at least with a value below
600) is definitely wrong. To quote the header:

346  * It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application
347  * using c99.  The same is true for POSIX.1-1990, POSIX.2-1992,
POSIX.1b,
348  * and POSIX.1c applications. Likewise, it is invalid to compile an XPG6
349  * or a POSIX.1-2001 application with anything other than a c99 or later
350  * compiler.  Therefore, we force an error in both cases.


Martin, you are correct that these macros choose particular semantics
in some cases.

However, this does not change my point. It is a fact that specifying
these macros mean what I describe, and that doing so causes significant
problems in compiling Python extensions. We may wish it to be different,
but it's not.

As Solaris has only ever moved towards the POSIX spec, __EXTENSIONS__ is
the right thing to always specify here: it enables everything modern
that you need (*including* POSIX semantics - check that signal.h on
Solaris 9 for __EXTENSIONS__), without making any claims about
conformity of Python extensions (which it it is not pyconfig.h's place
to say!).

I hope that's a clearer explanation of why Python is doing the wrong
thing both theoretically and practically for Solaris.

--
nosy: +movement

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



  1   2   >