[issue4973] calendar formatyearpage returns bytes, not str

2009-01-18 Thread Gabriel Genellina

Gabriel Genellina  added the comment:

This is the expected behavior; that's why the function takes an 
"encoding" argument. As it returns a complete XML document, it must be 
already encoded. Other methods return just document pieces, so str is 
fine. Probably should be better explained in the documentation.

--
nosy: +gagenellina

___
Python tracker 

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



[issue3881] IDLE won't start in custom directory.

2009-01-18 Thread Gabriel Genellina

Gabriel Genellina  added the comment:

> I installed Python to C:\Program Files\Python\2.6\ and when I try to
> run idle from the start menu, it doesn't work.

> "C:\Program Files\Python\2.6\Lib\idlelib>python idle.py
> Traceback (most recent call last):
>   File "idle.py", line 21, in 
> idlelib.PyShell.main()
>   File "C:\Programas\Python\2.6\lib\idlelib\PyShell.py", line 1386, 

Note the TWO different paths: C:\Program Files\Python\2.6\ and C:
\Programas\Python\2.6

Do you have a PYTHONPATH environment variable?
Did you install twice, once per directory? Perhaps one of them without 
tcl support?

--
nosy: +gagenellina

___
Python tracker 

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



[issue4979] random.uniform can return its upper limit

2009-01-18 Thread Mark Dickinson

Mark Dickinson  added the comment:

The distinction between < and <= is fairly meaningless when applied to a 
computed floating-point result.  I think the docs should be fixed to 
replace the < with <=.  In any case, the b <= N < a bit has the 
inequalities the wrong way around: presumably it was intended to read b < 
N <= a.  The docs for random.triangular should also be fixed in the same 
way.

(N.B. What *is* always true is that the result of random.random() is never 
1.0.  And that's a useful property---without it, random.uniform(a, b) can 
even return values *outside* the closed interval [a, b].)

To me, it doesn't seem worth slowing down random.uniform itself with extra 
checks: it's the sort of function that often gets called millions of times 
within a simulation, or numerical algorithm (e.g. Monte-Carlo 
integration), and it's trivial for the user to add his or her own check if 
necessary.

I also think it's a nice property that random.uniform currently degrades 
gracefully when a == b, producing the expected point distribution at a.  I 
wouldn't want to change that.

So:  +1 for amending the docs.  -1 for changing random.uniform.

--
nosy: +marketdickinson
versions: +Python 2.6, Python 2.7, Python 3.1

___
Python tracker 

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



[issue4984] Inconsistent count of sequence types in Library stdtypes document

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

Thanks, fixed in r68716.

--
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



[issue4983] Spurious reference to "byte sequences" in Library stdtypes sequence documentation

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

Thanks, fixed in r68717.

--
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



[issue4976] Documentation of the set intersection and difference operators is inaccurate

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

Thanks, fixed in r68718.

--
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



[issue4975] 3.0 base64 doc examples lack bytes 'b' indicator

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

Thanks, fixed in r68719.

--
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



[issue4974] Redundant mention of lists and tuples at start of Sequence Types documentation

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

Thanks, fixed in r68720.

--
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



[issue4914] trunc(x) erroneously documented as built-in

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

Thanks, fixed in r68721.

--
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



[issue4979] random.uniform can return its upper limit

2009-01-18 Thread Gabriel Genellina

Gabriel Genellina  added the comment:

Doc update

--
keywords: +patch
nosy: +gagenellina
Added file: http://bugs.python.org/file12784/random.diff

___
Python tracker 

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



[issue4293] Thread Safe Py_AddPendingCall

2009-01-18 Thread Kristján Valur Jónsson

Kristján Valur Jónsson  added the comment:

checked in r68722, let's hope this fixes things.

___
Python tracker 

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



[issue4565] Rewrite the IO stack in C

2009-01-18 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

The work to rewrite the IO stack in C will solve this problem as it will
probably solve most performance-related IO problems in py3k.

Amaury and I have been progressing a lot, the rewrite is now a real
branch in SVN at branches/io-c/. On this very issue, it is only 30%
slower than 2.x, which is quite good given the layered nature of the IO
stack and the fact that text IO does a lot more than in 2.x (it
translates newlines and encodes the text).

(actually, if I add an explicit .encode('utf8') call to the 2.x version
of the script, it becomes slower than our io-c rewrite)

--
components: +Extension Modules, Library (Lib) -Interpreter Core
stage:  -> needs patch
title: io write() performance very slow -> Rewrite the IO stack in C
versions: +Python 3.1 -Python 3.0

___
Python tracker 

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



[issue3873] Unpickling is really slow

2009-01-18 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Making this a duplicate of #4565 ("Rewrite the IO stack in C").
If anyone disagrees, please reopen!

--
resolution:  -> duplicate
status: open -> closed
superseder:  -> Rewrite the IO stack in C

___
Python tracker 

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



[issue1675951] [gzip] Performance for small reads and fix seek problem

2009-01-18 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +pitrou

___
Python tracker 

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



[issue4561] Optimize new io library

2009-01-18 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Marking this as a duplicate of #4565 "Rewrite the IO stack in C".

--
resolution:  -> duplicate
status: open -> closed
superseder:  -> Rewrite the IO stack in C

___
Python tracker 

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



[issue4979] random.uniform can return its upper limit

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

Thanks, applied in r68724.

--
nosy: +georg.brandl
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



[issue4980] Documentation for "y#" does not mention PY_SSIZE_T_CLEAN

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

Duplicate of #1729742.

--
resolution:  -> duplicate
status: open -> closed
superseder:  -> missing int->Py_ssize_t in documentation

___
Python tracker 

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



[issue1729742] Document effects of PY_SSIZE_T_CLEAN on argument parsing

2009-01-18 Thread Georg Brandl

Changes by Georg Brandl :


--
assignee:  -> georg.brandl
nosy: +georg.brandl
priority: normal -> high
title: missing int->Py_ssize_t in documentation -> Document effects of 
PY_SSIZE_T_CLEAN on argument parsing

___
Python tracker 

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



[issue3873] Unpickling is really slow

2009-01-18 Thread Hagen Fürstenau

Hagen Fürstenau  added the comment:

With the io-c branch I see much better unpickling performance than
before. But it still seems to be around 2 or 3 times slower than with
cPickle in 2.6.

Is this expected at this point of io-c development? Otherwise perhaps
this issue should stay open until it can be verified that nothing else
can be done to get closer to the old cPickle performance.

___
Python tracker 

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



[issue4986] Augmented Assignment / Operations Confusion in Documentation

2009-01-18 Thread andrew cooke

New submission from andrew cooke :

There's a small confusion in terminology in the documentation related to
methods that implement augmented assignment.

The "Expressions" section of the language reference ("Simple
statements") refers to augmented assignment -
http://docs.python.org/3.0/reference/simple_stmts.html#augmented-assignment-statements
- and this seems to be a carefully chosen (and correct) phrase because
the parsing is related to assignments, which are augmented with various
operators.

It is important to note that augmented assignments ("+=" etc) are *not*
parsed as operators.  It is syntax error to use them in many places
where an operator would be accepted.

In the "Data Model" section, however, things are less clear
http://docs.python.org/3.0/reference/datamodel.html#emulating-numeric-types
.  The methods used to implement augmented assignment are grouped near
those used to implement arithmetic operators.  That seems natural.  But
the text confuses the two more than is strictly necessary.  In
particular there is the phrase "augmented arithmetic operations".

As I have already tried to make clear, these are not operations.  They
are augmented assignments.  Calling them operations is misleading,
because they cannot be used in the same places as "real" operations -
the parser simply will not accept them.

Apart from changing "augmented arithmetic operations" to "augmented
assignments" it might be worth adding some kind of note that explains to
the user that the parser calls those methods to implement assignment,
and that they are not valid in the same syntax as operations.

I am not sure the following will help, but it does illustrate the
confusion caused -
http://groups.google.com/group/comp.lang.python/browse_thread/thread/f1322928300b2b71

Cheers, Andrew

--
assignee: georg.brandl
components: Documentation
messages: 80098
nosy: acooke, georg.brandl
severity: normal
status: open
title: Augmented Assignment / Operations Confusion in Documentation
versions: Python 3.0

___
Python tracker 

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



[issue4857] syntax: no unpacking in augassign

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

Fixed in r68725.

--
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



[issue4882] Behavior of backreferences to named groups in regular expressions unclear

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

I'm happy to review such a patch.

--
priority:  -> low

___
Python tracker 

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



[issue3873] Unpickling is really slow

2009-01-18 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Hello,

> With the io-c branch I see much better unpickling performance than
> before. But it still seems to be around 2 or 3 times slower than with
> cPickle in 2.6.

It's much closer here.

With 2.7 (trunk) and cPickle:
0.439934968948
0.669679880142
With the io-c branch:
0.136367082596
0.79822298

> Is this expected at this point of io-c development?

20-30% slower is expected for binary I/O (which is what I get above),
not 2x or 3x slower.
What is your system?

___
Python tracker 

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



[issue3881] IDLE won't start in custom directory.

2009-01-18 Thread Jacob

Jacob  added the comment:

I don't think thats the solution.
"C:\Program Files\Python\2.6\" and
"C:\Programas\Python\2.6\"
are the same, as "C:\Program Files\Python\2.6\" is a symbolic link to
"C:\Programas\Python\2.6\" to allow compatibility with different
operation system languages.

___
Python tracker 

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



[issue3873] Unpickling is really slow

2009-01-18 Thread Hagen Fürstenau

Changes by Hagen Fürstenau :


Removed file: http://bugs.python.org/file11497/pickletst.py

___
Python tracker 

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



[issue3873] Unpickling is really slow

2009-01-18 Thread Hagen Fürstenau

Hagen Fürstenau  added the comment:

I uploaded a new pickletst.py which specifies protocol 2, otherwise
we're comparing apples with oranges. With this I get:

0.211881160736
0.322369813919

for Python 2.6 and

0.158488035202
1.21621990204

on the io-c branch. Can you confirm this?

Added file: http://bugs.python.org/file12785/pickletst.py

___
Python tracker 

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



[issue3873] Unpickling is really slow

2009-01-18 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Nice catch! I can confirm your figures with protocol=2 (and protocol=-1
as well).

--
resolution: duplicate -> 
status: closed -> open
superseder: Rewrite the IO stack in C -> 

___
Python tracker 

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



[issue4923] time.strftime documentation needs update

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

%f and %z are not standardized by C89 and therefore not always
available.  They fall under the clause "Additional directives may be
supported on certain platforms, but only the ones listed here have a
meaning standardized by ANSI C." which is noted for time.strftime().

datetime.strftime() implements %z (and %f from 2.6) separately,
therefore it is available there.

I've added a bit of clarification in r68726.

--
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



[issue4987] update distutils.README

2009-01-18 Thread Tarek Ziadé

New submission from Tarek Ziadé :

This file is out of date (6 years old), let's update it

http://www.python.org/community/sigs/current/distutils-sig/ needs to be
revamped too.

--
assignee: tarek
components: Distutils, Documentation
messages: 80106
nosy: tarek
severity: normal
status: open
title: update distutils.README
versions: Python 2.7, Python 3.1

___
Python tracker 

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



[issue4973] calendar formatyearpage returns bytes, not str

2009-01-18 Thread Michael Newman

Michael Newman  added the comment:

It seems to be working consistently (see UTF-16 extreme example below),
but I had expected it to act similarly to Python 2.6, which it does not.
I suppose this is due to the distinction now made between strings and
bytes in Python 3.0.

I was initially concerned that Python 3.0 was always just giving an
ASCII byte stream no matter what encoding was chosen (since you can't
tell between ASCII and UTF-8 for the characters being used in the
example), but the UTF-16 example shows its fine.

I agree that as long as the documentation in Python 3.X notes it will
return "bytes", then its fine. Thanks for the clarification/confirmation.

Python 3.0 (r30:67507, Dec  3 2008, 20:14:27) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import calendar
>>> calendar.HTMLCalendar().formatyearpage(2009, encoding="utf-8")[0:50]
b'\n>> calendar.HTMLCalendar().formatyearpage(2009, encoding="ascii")[0:50]
b'\n>> calendar.HTMLCalendar().formatyearpage(2009, encoding="utf-16")[0:50]
b'\xff\xfe<\x00?\x00x\x00m\x00l\x00
\x00v\x00e\x00r\x00s\x00i\x00o\x00n\x00=\x00"\x001\x00.\x000\x00"\x00
\x00e\x00n\x00c\x00o\x00'

Python 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import calendar
>>> calendar.HTMLCalendar().formatyearpage(2009, encoding="utf-8")[0:50]
'\n>> calendar.HTMLCalendar().formatyearpage(2009, encoding="ascii")[0:50]
'\n>> calendar.HTMLCalendar().formatyearpage(2009, encoding="utf-16")[0:50]
'\xff\xfe<\x00?\x00x\x00m\x00l\x00
\x00v\x00e\x00r\x00s\x00i\x00o\x00n\x00=\x00"\x001\x00.\x000\x00"\x00
\x00e\x00n\x00c\x00o\x00'

___
Python tracker 

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



[issue4987] update distutils.README

2009-01-18 Thread Akira Kitada

Akira Kitada  added the comment:

How about svn rm "svn.python.org/projects/distutils/" to avoid confusion?

--
nosy: +akitada

___
Python tracker 

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



[issue4988] A link to "What’s New in Python 2.0" on "The Python Tutorial" release 2.6

2009-01-18 Thread Akira Kitada

New submission from Akira Kitada :

It might be not a bug, but I think it's weird to see
an ancient What's New link on the new Python tutorial page.
http://docs.python.org/tutorial/

--
assignee: georg.brandl
components: Documentation
messages: 80109
nosy: akitada, georg.brandl
severity: normal
status: open
title: A link to "What’s New in Python 2.0" on "The Python Tutorial" release 2.6

___
Python tracker 

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



[issue3881] IDLE won't start in custom directory.

2009-01-18 Thread Martin v. Löwis

Martin v. Löwis  added the comment:

> I don't think thats the solution.
> "C:\Program Files\Python\2.6\" and
> "C:\Programas\Python\2.6\"
> are the same, as "C:\Program Files\Python\2.6\" is a symbolic link to
> "C:\Programas\Python\2.6\" to allow compatibility with different
> operation system languages.

It could be a hint to the problem, though.

Jacob: what language version is your Vista installation? Is
"c:\Programmer" the local translation of "c:\Program Files"?

Perhaps something doesn't work right with symbolic links on Vista.
Unfortunately, I have only the English version of Vista for testing.

Can you two please install Python into a non-standard folder that
isn't a symbolic link?

___
Python tracker 

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



[issue4988] A link to "What’s New in Python 2.0" on "The Python Tutorial" release 2.6

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

Well, this isn't going to change; the last topic of the docs (and
therefore the "previous" one to the tutorial) is the 2.0 whatsnew.

--
resolution:  -> wont fix
status: open -> closed

___
Python tracker 

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



[issue4986] Augmented Assignment / Operations Confusion in Documentation

2009-01-18 Thread Georg Brandl

Georg Brandl  added the comment:

Fixed in r68727.

IMO, "augmented operation" was an acceptable term -- the term "operator"
is not strictly limited to operators usable in expressions in Python.
However, since it's called "augmented assignment" everywhere else, it's
better here too for consistency.

A real mistake was that the same paragraph called "a += b" an expression
-- it really is a statement. Fixed that too.

--
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



[issue4986] Augmented Assignment / Operations Confusion in Documentation

2009-01-18 Thread andrew cooke

andrew cooke  added the comment:

thanks!

___
Python tracker 

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



[issue3881] IDLE won't start in custom directory.

2009-01-18 Thread Jacob

Jacob  added the comment:

Great idea :)
Maybe we're starting to find the problem.
I'm using a Danish version of Windows Vista Home Premium SP1, and
C:\Programmer is the danish path for C:\Program Files.
I'll try that, and leave another message when i'we tried it.

___
Python tracker 

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



[issue4892] Sending Connection-objects over multiprocessing connections fails

2009-01-18 Thread Jesse Noller

Changes by Jesse Noller :


--
priority:  -> normal
type: behavior -> feature request

___
Python tracker 

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



[issue4989] 'calendar' module is crummy and should be removed

2009-01-18 Thread Michał Pasternak

New submission from Michał Pasternak :

I was looking for some library to handle calendar events. Something PIM-
style, something useful, that could check if, for example, 2 weekly 
repeated events that start on Monday morning and last until December 
conflict with each other.

Then I found 'calendar' module in the standard library.

My question: how this thing ever made it to the standard library?

Maybe it was useful back in the days, if somebody could not get BSD or 
GNU sources for cal(1) . Nowadays, even if it is able to print HTML 
calendars, lets face it - who will use that functionality? You can 
easily find HTML calendars with a lot of JavaScript support, that can be 
customised in a thousands of ways.

I suggest we delete this module completly.

--
components: None
messages: 80115
nosy: dotz
severity: normal
status: open
title: 'calendar' module is crummy and should be removed
type: feature request
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1

___
Python tracker 

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



[issue4566] 2.6.1 breaks many applications that embed Python on Windows

2009-01-18 Thread Sandy Barbour

Sandy Barbour  added the comment:

Over 3 years ago I wrote a plugin for the Xplane Flight Simulator.
This uses a SDK that Ben Supnik and myself created 6 years ago.
Our plugins are DLL's that our plugin manager DLL loads at run time.

The plugin embeds python and allows python scripts to be run from within
Xplane.
This has worked fine with python 2.3.x, 2.4.x, 2.5.x and 2.6.0.
I see the same problem as described here when using 2.6.1 with the
ctypes, socket libraries etc.
This also affects PyOpenGL as it uses ctypes.

I applied the patch that Mark posted and rebuilt python26.dll.
I tested this on Windows XP and Windows 7 Beta.
With the patched python26.dll my scripts now load properly.
The script that uses PyOpenGL also works fine now.

I thought that this feedback may be useful.

--
nosy: +SandyBarbour

___
Python tracker 

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



[issue3325] use of cPickle in multiprocessing

2009-01-18 Thread Jesse Noller

Jesse Noller  added the comment:

Checked into python-3000 as r68728

--
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



[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2009-01-18 Thread Jesse Noller

Changes by Jesse Noller :


--
resolution: accepted -> fixed

___
Python tracker 

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



[issue4989] 'calendar' module is crummy and should be removed

2009-01-18 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

We cannot just remove modules because of backwards compatibility. Feel
free to submit patches for improvements you would like to see in the module.

--
nosy: +benjamin.peterson
resolution:  -> 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



[issue4008] IDLE: checksyntax() doesn't support Unicode?

2009-01-18 Thread Martin v. Löwis

Martin v. Löwis  added the comment:

Committed as r68730 and r68731.

--
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



[issue4815] idle 3.1a1 utf8

2009-01-18 Thread Martin v. Löwis

Martin v. Löwis  added the comment:

Committed as r68732, r68733.

--
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



[issue4990] test_codeccallbacks.CodecCallbackTest.test_badhandlerresult is not testing anything

2009-01-18 Thread Maciek Fijalkowski

New submission from Maciek Fijalkowski :

the reason is that it of course raises TypeError, since number of args
is wrong.

--
files: out.diff
keywords: patch
messages: 80121
nosy: fijal
severity: normal
status: open
title: test_codeccallbacks.CodecCallbackTest.test_badhandlerresult is not 
testing anything
Added file: http://bugs.python.org/file12786/out.diff

___
Python tracker 

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



[issue4301] incorrect and inconsistent logging in multiprocessing

2009-01-18 Thread Jesse Noller

Jesse Noller  added the comment:

This is a patch to fix the logging module, and remove the crufty code in 
multiprocessing.

--
keywords: +needs review, patch
Added file: http://bugs.python.org/file12787/issue4301.patch

___
Python tracker 

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



[issue4301] incorrect and inconsistent logging in multiprocessing

2009-01-18 Thread Jesse Noller

Changes by Jesse Noller :


Removed file: http://bugs.python.org/file12787/issue4301.patch

___
Python tracker 

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



[issue4301] incorrect and inconsistent logging in multiprocessing

2009-01-18 Thread Jesse Noller

Jesse Noller  added the comment:

fix copy/paste error, new patch

Added file: http://bugs.python.org/file12788/issue4301.patch

___
Python tracker 

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



[issue4301] incorrect and inconsistent logging in multiprocessing

2009-01-18 Thread Jesse Noller

Changes by Jesse Noller :


___
Python tracker 

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



[issue4301] incorrect and inconsistent logging in multiprocessing

2009-01-18 Thread Jesse Noller

Jesse Noller  added the comment:

remove the import, not needed. switch to the property

Added file: http://bugs.python.org/file12789/issue4301.patch

___
Python tracker 

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



[issue4301] incorrect and inconsistent logging in multiprocessing

2009-01-18 Thread Jesse Noller

Changes by Jesse Noller :


Removed file: http://bugs.python.org/file12788/issue4301.patch

___
Python tracker 

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



[issue4991] os.fdopen doesn't raise on invalid file descriptors

2009-01-18 Thread Benjamin Peterson

New submission from Benjamin Peterson :

Since os.fdopen is now implemented with io.open, it doesn't use fdopen
and check for invalid file descriptors. This isn't a huge issue since
subsequent actions on the file will raise an error.

--
components: Library (Lib)
messages: 80125
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: os.fdopen doesn't raise on invalid file descriptors
type: behavior
versions: Python 3.0, Python 3.1

___
Python tracker 

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



[issue4990] test_codeccallbacks.CodecCallbackTest.test_badhandlerresult is not testing anything

2009-01-18 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Thanks for noticing! Fixed in r68736.

--
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




[issue4301] incorrect and inconsistent logging in multiprocessing

2009-01-18 Thread Jesse Noller

Jesse Noller  added the comment:

fixed in r68737, merged to py3k in 68740

--
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



[issue4991] os.fdopen doesn't raise on invalid file descriptors

2009-01-18 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Perhaps io.open should be fixed, then?
(or the _FileIO constructor)

--
nosy: +pitrou

___
Python tracker 

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



[issue3881] IDLE won't start in custom directory.

2009-01-18 Thread Zlm

Zlm  added the comment:

"Programas" is the portuguese translation to "Program Files".

I have just installed it to C:\Test\Python and IDLE is working!

The problem should be related to the Vista symbolic links.

___
Python tracker 

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



[issue4991] os.fdopen doesn't raise on invalid file descriptors

2009-01-18 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Here's a patch for _FileIO.

--
keywords: +patch
Added file: http://bugs.python.org/file12790/raise_on_bad_fd.patch

___
Python tracker 

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



[issue3881] IDLE won't start in custom directory.

2009-01-18 Thread Martin v. Löwis

Martin v. Löwis  added the comment:

> The problem should be related to the Vista symbolic links.

Unfortunately, it isn't as simple as "install into a symbolic
link, and it fails". I created c:\temp -> c:\tmp, and installed
into c:\temp (i.e. into the symlink), and it still worked fine.

___
Python tracker 

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



[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-18 Thread Mark Dickinson

Mark Dickinson  added the comment:

Looks good to me.

I'm not in a position to test with 16-bit wchar_t, but I can't see why 
anything would go wrong.  I think we can take our chances: check this in 
and watch the buildbots for signs of trouble.

Some minor whitespace issues in the unicodeobject.c part of the patch 
(mixing of tabs and spaces, one brace indented oddly), but those can 
easily be taken care of before committing;  not worth regenerating the 
patch for.

Marc-André, is it okay with you to check this in?

___
Python tracker 

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



[issue4989] 'calendar' module is crummy and should be removed

2009-01-18 Thread Brett Cannon

Brett Cannon  added the comment:

The other option is to propose its removal on python-dev, get support,
and then submit patches for the module's deprecation.

--
nosy: +brett.cannon

___
Python tracker 

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



[issue4992] yield's documentation not updated

2009-01-18 Thread Petr Viktorin

New submission from Petr Viktorin :

In the yield statement documentation
(http://docs.python.org/3.0/reference/simple_stmts.html#the-yield-statement),
the old way of calling generators is used:

"The body of the generator function is executed by calling the
generator’s next() method repeatedly until it raises an exception."

This should be changed to something like:

"The body of the generator function is executed by calling the next()
function on the generator repeatedly until it raises an exception."

Or just replace next() with __next__(), and fix the next paragraph as well.

--
assignee: georg.brandl
components: Documentation
messages: 80134
nosy: En-Cu-Kou, georg.brandl
severity: normal
status: open
title: yield's documentation not updated
versions: Python 3.0

___
Python tracker 

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



[issue4991] os.fdopen doesn't raise on invalid file descriptors

2009-01-18 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

I think EBADF is defined everywhere, so you can drop the defined()
conditional.

___
Python tracker 

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



[issue4991] os.fdopen doesn't raise on invalid file descriptors

2009-01-18 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Attaching new patch...

Added file: http://bugs.python.org/file12791/raise_on_bad_fd2.patch

___
Python tracker 

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



[issue4991] os.fdopen doesn't raise on invalid file descriptors

2009-01-18 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

I'm not sure Windows has a valid fstat btw, I'll guess we'll see on the
Windows buildbots (in that case, some code can be taken from
posixmodule.c to emulate fstat behaviour...). Other than that, the patch
looks fine to me.

___
Python tracker 

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



[issue4991] os.fdopen doesn't raise on invalid file descriptors

2009-01-18 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Applied in r68755. Will watch Windows.

--
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



[issue4993] Typo in importlib

2009-01-18 Thread Antoine Pitrou

New submission from Antoine Pitrou :

In importlib/_bootstrap.py, line 435 reads:

with closing(_fileio_FileIO(source_path, 'r')) as file:

which whould probably be:

with closing(_fileio._FileIO(source_path, 'r')) as file:

--
assignee: brett.cannon
messages: 80139
nosy: brett.cannon, pitrou
severity: normal
status: open
title: Typo in importlib
type: behavior
versions: Python 3.1

___
Python tracker 

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



[issue4989] 'calendar' module is crummy and should be removed

2009-01-18 Thread Skip Montanaro

Skip Montanaro  added the comment:

Look at the oldest checkin comment for a line still in the module:

  r2166 | guido | 1990-10-13 14:23:40 -0500 (Sat, 13 Oct 1990) | 2 lines

  Initial revision

In short, it's been there for a long, long time.  Long before PEPs.  
Long before Tkinter.  Long before cmath.  Probably long before any code 
which would satisfy your needs was written.  Of all the checkin comments 
for lines still in the current trunk, calendar.py has code which is 
within a few revisions of the earliest code in the repository.

Skip

--
nosy: +skip.montanaro

___
Python tracker 

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



[issue4994] subprocess (Popen) doesn't works properly

2009-01-18 Thread simonbcn

New submission from simonbcn :

Python 2.5.2
Ubuntu 8.04.1 64 bits
**
-- ATTEMPT 1 --

Python:

Popen(['mplayer','/tvixhd2/Pelis para montar/00049.m2ts','-msglevel
all=4','-vo null','-ao null','-vf cropdetect','-vid 4113','-frames 500'])

stdout & stderr:

Option vf cropdetect: unknown postfix  cropdetect
Supported postfixes are:
  vf-add
 Append the given list to the current list
  vf-pre
 Prepend the given list to the current list
  vf-del x,y,...
 Remove the given elements. Take the list element index (starting from 0).
 Negative index can be used (i.e. -1 is the last element)
  vf-clr
 Clear the current list.
Error analizando la opción en la línea de comandos: -msglevel all=4
MPlayer dev-SVN-r28340-4.2.4 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPUQ9550  @ 2.83GHz (Family: 6, Model:
23, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compilado para CPU x86 con extensiones: MMX MMX2 SSE SSE2

-

In this first example, I get severals errors from ¿python? and then
python executes mplayer without parameters ¿?

**
-- ATTEMPT 2 --

Python:

Popen(args=['/tvixhd2/Pelis para montar/00049.m2ts','-msglevel
all=4','-vo null','-ao null','-vf cropdetect','-vid 4113','-frames
500'], executable='mplayer')

stdout & stderr:

Option vf cropdetect: unknown postfix  cropdetect
Supported postfixes are:
  vf-add
 Append the given list to the current list
  vf-pre
 Prepend the given list to the current list
  vf-del x,y,...
 Remove the given elements. Take the list element index (starting from 0).
 Negative index can be used (i.e. -1 is the last element)
  vf-clr
 Clear the current list.
Error analizando la opción en la línea de comandos: -msglevel all=4
MPlayer dev-SVN-r28340-4.2.4 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPUQ9550  @ 2.83GHz (Family: 6, Model:
23, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compilado para CPU x86 con extensiones: MMX MMX2 SSE SSE2
-

The same result

**
-- ATTEMPT 3 --

Python:

Popen('mplayer /tvixhd2/Pelis para montar/00049.m2ts -msglevel all=4 -vo
null -ao null -vf cropdetect -vid 4113 -frames 500')

stdout & stderr:

Traceback (most recent call last):
  File ".../temp/eclipse-workspace/gConvM2TS/src/gConvM2TS.py", line
858, in 
xml.signal_connect('on_btnCrop_pressed', lambda w:
calcularCrop(ficheroEntrada))
  File ".../temp/eclipse-workspace/gConvM2TS/src/gConvM2TS.py", line
810, in calcularCrop
Popen('mplayer /tvixhd2/Pelis para montar/00049.m2ts -msglevel all=4
-vo null -ao null -vf cropdetect -vid 4113 -frames 500')
  File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
  File "/usr/lib/python2.5/subprocess.py", line 1147, in _execute_child
raise child_exception
OSError: [Errno 2] No existe el fichero ó directorio
-

The error is now: "No such file or directory", What!? I don't understand
nothing!

**
-- ATTEMPT 4 --

Python:

Popen(args='/tvixhd2/Pelis para montar/00049.m2ts -msglevel all=4 -vo
null -ao null -vf cropdetect -vid 4113 -frames 500', executable='mplayer')

stdout & stderr:

MPlayer dev-SVN-r28340-4.2.4 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPUQ9550  @ 2.83GHz (Family: 6, Model:
23, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compilado para CPU x86 con extensiones: MMX MMX2 SSE SSE2
-

No error, but the command mplayer is executed without parameters, ¿?

This subprocess Module really works?

-

Python:

Popen(args='mplayer "/tvixhd2/Pelis para montar/00049.m2ts" -msglevel
all=4 -vo null -ao null -vf cropdetect -vid 4113 -frames 500', shell=True)

With "shell=True" it works but I don't want to execute it in this
manner, because thus Python creates two subprocess and it returns the
PID of the open shell but not of the real process of Mplayer.

--
components: Library (Lib)
messages: 80141
nosy: simonbcn
severity: normal
status: open
title: subprocess (Popen) doesn't works properly
type: behavior
versions: Python 2.5

___
Python tracker 

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



[issue4065] _multiprocessing doesn't build on macosx 10.3

2009-01-18 Thread Jesse Noller

Jesse Noller  added the comment:

This issues was fixed on 2008-11-04 by Martin Loewis in r67098

Index: multiprocessing.h
===
--- multiprocessing.h   (revision 67097)
+++ multiprocessing.h   (revision 67098)
@@ -20,7 +20,9 @@
 #  define SEM_VALUE_MAX LONG_MAX
 #else
 #  include  /* O_CREAT and O_EXCL */
+#  include 
 #  include 
+#  include 
 #  include  /* htonl() and ntohl() */
 #  if HAVE_SEM_OPEN
 #include 

Closing

--
resolution:  -> fixed

___
Python tracker 

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



[issue4995] sqlite3 module gives SQL logic error only in transactions

2009-01-18 Thread Muayyad Alsadi

New submission from Muayyad Alsadi :

when I use transactions I got errors I won't get with sqlite3 cli

[als...@pc1 ~]$ python
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) 
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>> cn=sqlite3.connect(':memory:')
>>> c=cn.cursor()
>>> c.execute('BEGIN TRANSACTION')

>>> c.execute('create temp table tmp_main (id integer, b text)')

>>> c.execute('insert into tmp_main (id) values (10);')
Traceback (most recent call last):
  File "", line 1, in 
sqlite3.OperationalError: SQL logic error or missing database
>>> 


[als...@pc1 ~]$ sqlite3 ':memory:'
SQLite version 3.5.9
Enter ".help" for instructions
sqlite> BEGIN TRANSACTION;
sqlite> create temp table tmp_main (id integer, b text);
sqlite> insert into tmp_main (id) values (10);
sqlite> select * from tmp_main;
10|
sqlite> 

and if the transaction line removed I get no error

[als...@pc1 ~]$ python
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38) 
[GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>> cn=sqlite3.connect(':memory:')
>>> c=cn.cursor()
>>> c.execute('create temp table tmp_main (id integer, b text)')

>>> c.execute('insert into tmp_main (id) values (10);')

>>>

--
components: Extension Modules
messages: 80143
nosy: alsadi
severity: normal
status: open
title: sqlite3 module gives SQL logic error only in transactions
versions: Python 2.5

___
Python tracker 

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



[issue4995] sqlite3 module gives SQL logic error only in transactions

2009-01-18 Thread Muayyad Alsadi

Changes by Muayyad Alsadi :


--
type:  -> behavior

___
Python tracker 

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



[issue4994] subprocess (Popen) doesn't works properly

2009-01-18 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Please investigate a bit more before posting.
Try the following:

Popen(['mplayer','/tvixhd2/Pelis para montar/00049.m2ts','-msglevel', 
'all=4','-vo', 'null','-ao', 'null','-vf', 'cropdetect','-vid',
'4113','-frames', '500'])

--
nosy: +pitrou
resolution:  -> invalid
status: open -> closed

___
Python tracker 

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



[issue4995] sqlite3 module gives SQL logic error only in transactions

2009-01-18 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

What if you commit before the insert?

--
nosy: +pitrou

___
Python tracker 

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



[issue3881] IDLE won't start in custom directory.

2009-01-18 Thread Daniel Diniz

Daniel Diniz  added the comment:

Maybe it's "install into a symbolic link pointing to a path with spaces
in it, and idle fails"?

--
nosy: +ajaksu2

___
Python tracker 

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



[issue4994] subprocess (Popen) doesn't works properly

2009-01-18 Thread David W. Lambert

Changes by David W. Lambert :


--
nosy: +LambertDW

___
Python tracker 

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



[issue4993] Typo in importlib

2009-01-18 Thread Brett Cannon

Brett Cannon  added the comment:

Yeah, that code has not been tested yet as that is farther down the todo
list. Thanks for the catch!

Fixed in r68761.

--
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



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

2009-01-18 Thread Zach Hirsch

Zach Hirsch  added the comment:

Without msvc9compiler_stripruntimes.diff, or a patch like it, it doesn't
seem possible to use pywin32 (or other binary extensions) with
Python-2.6+ installed "just for me" (i.e., without the VC90 runtime
installed globally).

Using the python-2.6.1 MSI installed "just for me" and the pywin32-212
installer, I get the following error when trying to import win32api:

Python 2.6.1 (r261:67517, Dec  4 2008, 16:51:00) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import win32api
Traceback (most recent call last):
  File "", line 1, in 
ImportError: DLL load failed: This application has failed to start
because the application configuration is incorrect. Reinstalling the
application may fix this problem.

Removing the manifest from all the .pyd files installed by pywin32
allows me to import win32api without issue.

--
nosy: +zhirsch

___
Python tracker 

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