[issue7582] [patch] diff.py to use iso timestamp

2010-02-09 Thread anatoly techtonik

anatoly techtonik  added the comment:

So, is that right that even if time.daylight specifies the offset, this doesn't 
mean that this offset is active?

MS documentation you referenced is unclear: "The _get_daylight function 
retrieves the number of hours in daylight saving time as an integer. If 
daylight saving time is in effect, the default offset is one hour."

>From this description it is easy to assume that if DST is not in effect then 
>default offset would be 0.

--

___
Python tracker 

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



[issue7443] test.support.unlink issue on Windows platform

2010-02-09 Thread Florent Xicluna

Florent Xicluna  added the comment:

Note: the fix in test_linecache.py is useless.

The "with open(source_name, 'w') as source:" context manager is in charge of 
closing the file on __exit__.

--

___
Python tracker 

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



[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


Removed file: http://bugs.python.org/file16167/issue7712_context_manager_v5.diff

___
Python tracker 

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



[issue7887] errno 107 socket.recv issure

2010-02-09 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

The issue tracker is not to a place to find problems in your code (network 
programming is difficult, even with python).
Please ask your questions on the comp.lang.python newsgroup, where many people 
will be ready to help you.

--
nosy: +amaury.forgeotdarc
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



[issue7882] Compiling on MOX 10.6 "Snow Leopard" --#warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid.

2010-02-09 Thread WK.

WK.  added the comment:

Should use setup.py instead of make.

--
status: open -> closed

___
Python tracker 

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



[issue7582] [patch] diff.py to use iso timestamp

2010-02-09 Thread anatoly techtonik

anatoly techtonik  added the comment:

You are right.
[pydst.py]--
import time

print time.asctime()
print time.localtime().tm_isdst
print time.daylight


Tue Feb 09 10:31:47 2010
0
1

Sun May 09 10:33:20 2010
1
1


There is already an issue #7229 to correct the docs. I'll adjust my patch 
accordingly. Thanks for collaboration.

--

___
Python tracker 

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



[issue7882] Compiling on MOX 10.6 "Snow Leopard" --#warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid.

2010-02-09 Thread Ronald Oussoren

Ronald Oussoren  added the comment:

I don't understand the second message: you should use make instead of setup.py 
during the build/installation of python from source.

The build warnings are harmless, although you aren't building what you think 
you are.

The configure line should be "./configure --enable-universalsdk=/ 
--with-universal-archs=64-bit", the with-universal-archs option is ignored 
without enabling the universalsdk.   

Note that 2.7 and 3.2 (an possibly 2.6.5) will complain when you specify  
--with-universal-archs without specifying --enable-universalsdk.

(Keeping the issue closed because there doesn't seem to be a real issue)

--
resolution:  -> works for me

___
Python tracker 

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



[issue7852] [PATCH] Drop "Computer" from "Apple Computer" in plistlib

2010-02-09 Thread Ronald Oussoren

Changes by Ronald Oussoren :


--
assignee:  -> ronaldoussoren

___
Python tracker 

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



[issue7891] add links to SVN for documentation developers

2010-02-09 Thread anatoly techtonik

New submission from anatoly techtonik :

http://www.python.org/dev/doc/ - this wordy page miss one important code 
snippet:

{{{
svn co http://svn.python.org/projects/python/trunk/Doc
}}}

the result of reduce(meditate("http://www.python.org/dev/doc/";, "how to make a 
patch?", "where is the code?", "or no, one more web page")) =)

--
assignee: georg.brandl
components: Documentation
messages: 99098
nosy: georg.brandl, techtonik
severity: normal
status: open
title: add links to SVN for documentation developers

___
Python tracker 

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



[issue7229] [PATCH] Manual entry for time.daylight can be misleading

2010-02-09 Thread anatoly techtonik

anatoly techtonik  added the comment:

Run into the same problem in issue #7582. Patch attached, but wording can be 
improved.

http://docs.python.org/library/time.html#time.daylight

--
keywords: +patch
nosy: +techtonik
title: Manual entry for time.daylight can be misleading -> [PATCH] Manual entry 
for time.daylight can be misleading
type: feature request -> behavior
Added file: 
http://bugs.python.org/file16182/issue7229_daylight_doc_misleading.diff

___
Python tracker 

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



[issue7808] test_bsddb3 leaks references

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


Removed file: http://bugs.python.org/file16039/issue7808_bsddb3_refleak.diff

___
Python tracker 

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



[issue7808] test_bsddb3 leaks references

2010-02-09 Thread Florent Xicluna

Florent Xicluna  added the comment:

Patch updated for latest trunk.

--
Added file: http://bugs.python.org/file16183/issue7808_bsddb3_refleak_v2.diff

___
Python tracker 

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



[issue5930] Transient error in multiprocessing

2010-02-09 Thread Florent Xicluna

Florent Xicluna  added the comment:

Closed duplicate reports #6366 and #6747.

--
nosy: +flox

___
Python tracker 

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



[issue7890] equal unicode/str objects can have unequal hash

2010-02-09 Thread lplatypus

lplatypus  added the comment:

Okay thanks, but in that case might I suggest that this limitation be mentioned 
in the documentation for sys.setdefaultencoding?  It currently reads as if any 
available encoding is acceptable. Perhaps even a warning or exception should be 
produced when calling it wrongly?

Other places that may need review include:
- the programming FAQ on python.org which presents the option of calling 
setdefaultencoding('mbcs') on windows ( 
http://www.python.org/doc/faq/programming/#what-does-unicodeerror-ascii-decoding-encoding-error-ordinal-not-in-range-128-mean
 )
- the comments in site.py which provoke changing the default encoding
- PEP100 which suggests enabling this code in site.py

BTW would patches ever be considered to fix issues such as this with using 
other encodings as default encodings, or is there some objection to the concept?

--

___
Python tracker 

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



[issue6608] asctime causing python to crash

2010-02-09 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +brett.cannon, lemburg
priority: normal -> release blocker

___
Python tracker 

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



[issue7889] random produces different output on different architectures

2010-02-09 Thread Mark Dickinson

Changes by Mark Dickinson :


--
nosy: +mark.dickinson

___
Python tracker 

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



[issue7229] [PATCH] Manual entry for time.daylight can be misleading

2010-02-09 Thread anatoly techtonik

anatoly techtonik  added the comment:

Perhaps altzone() documentation is also wrong.  Brian, can you comment on this? 

http://docs.python.org/library/time.html#time.altzone

--
nosy: +brian.curtin

___
Python tracker 

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



[issue7890] equal unicode/str objects can have unequal hash

2010-02-09 Thread Marc-Andre Lemburg

Marc-Andre Lemburg  added the comment:

lplatypus wrote:
> 
> lplatypus  added the comment:
> 
> Okay thanks, but in that case might I suggest that this limitation be 
> mentioned in the documentation for sys.setdefaultencoding?  It currently 
> reads as if any available encoding is acceptable. Perhaps even a warning or 
> exception should be produced when calling it wrongly?
> 
> Other places that may need review include:
> - the programming FAQ on python.org which presents the option of calling 
> setdefaultencoding('mbcs') on windows ( 
> http://www.python.org/doc/faq/programming/#what-does-unicodeerror-ascii-decoding-encoding-error-ordinal-not-in-range-128-mean
>  )
> - the comments in site.py which provoke changing the default encoding
> - PEP100 which suggests enabling this code in site.py
> 
> BTW would patches ever be considered to fix issues such as this with using 
> other encodings as default encodings, or is there some objection to the 
> concept?

No, Python 2.x's Unicode implementation only supports ASCII as default
encoding. In Python 3.x, UTF-8 is used as default encoding.

Note that this limitation only affects cases where you mix string
and Unicode objects used as keys in a dictionary. If you avoid
this situation, there are no dictionary problems with using
different default encoding. However, you may run into other problems.

--
nosy: +lemburg

___
Python tracker 

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



[issue7889] random produces different output on different architectures

2010-02-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

It's not only getrandbits():

** x86 **
>>> random.seed(b'foo')
>>> random.random()
0.95824312997798622

** x86_64 **
>>> random.seed(b'foo')
>>> random.random()
0.88694660946819537

--
nosy: +pitrou

___
Python tracker 

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



[issue7889] random produces different output on different architectures

2010-02-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

It works when seeding from a single integer, though:
>>> import random
>>> random.seed(123)
>>> random.random()
0.052363598850944326

So I guess it's the seeding-from-an-array which is buggy.

--

___
Python tracker 

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



[issue7889] random produces different output on different architectures

2010-02-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Ok, it's simple really. When seeding from something else than an integer, 
seed() takes the hash of the object (instead of considering all its bytes, 
which might be considered a weakness since you lose entropy -- also, Python 
hash() is not supposed to be cryptographically strong). The hash is different 
in 32-bit and 64-bit mode (although the lower 32 bits are the same, at least 
for a bytes object), and since all the bits are taken into account the initial 
state is different.

So the easy workaround for the OP is to seed with an integer rather a bytes 
object.

--

___
Python tracker 

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



[issue7582] [patch] diff.py to use iso timestamp

2010-02-09 Thread anatoly techtonik

anatoly techtonik  added the comment:

Finally! (I really hope so)

--
Added file: 
http://bugs.python.org/file16184/diff.py_iso_timestamps_true_with_true_dst.diff

___
Python tracker 

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



[issue7889] random produces different output on different architectures

2010-02-09 Thread Michael Foord

Michael Foord  added the comment:

If we aren't going to fix it, should we document the limitation?

--
nosy: +michael.foord

___
Python tracker 

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



[issue7889] random produces different output on different architectures

2010-02-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Well, ideally we should drop the automatic hash() and only accept:
1) ints/longs
2) buffer-like objects

(and tell people to hash() explicitly if they want to)

If that's too disruptive, we should document it.
And, for 3.x, provide the following recipe to hash from a bytes object without 
losing entropy, and keeping the same results under 32-bit and 64-bit builds:

>>> import random
>>> random.seed(int.from_bytes(b'foo', 'little'))
>>> random.random()
0.08384169414918807

--
versions: +Python 2.6, Python 2.7, Python 3.2

___
Python tracker 

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



[issue7889] random produces different output on different architectures

2010-02-09 Thread Mark Dickinson

Mark Dickinson  added the comment:

[Antoine]
> >>> random.seed(int.from_bytes(b'foo', 'little'))

+1 for either documenting this useful trick, or modifying init_by_array to do 
this automatically for buffer-like objects.

Disallowing other types of input for the seed sounds dangerous, though.

--

___
Python tracker 

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



[issue7880] sysconfig does not like symlinks

2010-02-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Why would sys.executable be a directory?

--
nosy: +pitrou

___
Python tracker 

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



[issue7880] sysconfig does not like symlinks

2010-02-09 Thread Tarek Ziadé

Tarek Ziadé  added the comment:

Antoine, see http://bugs.python.org/issue7774

--

___
Python tracker 

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



[issue7880] sysconfig does not like symlinks

2010-02-09 Thread Florent Xicluna

Florent Xicluna  added the comment:

Yes, it is the issue #7774.

The patch proposed on msg98284 should fix sys.executable being a directory.

Tarek, if you implement the patch for sysconfig, add a note regarding the dir 
hack:
  # XXX : see issue 7774

--

___
Python tracker 

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



[issue7774] sys.executable: wrong location if zeroth command argument is modified.

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


--
components: +Interpreter Core -Library (Lib)
stage: test needed -> needs patch

___
Python tracker 

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



[issue4037] doctest.py should include method descriptors when looking inside a class __dict__

2010-02-09 Thread Steven D'Aprano

Steven D'Aprano  added the comment:

Attached is a simple test script for the patch I submitted. I have tested it 
with Python 2.6 both before and after applying the patch. Run it from the 
command line.

With the unpatched doctest module, it prints:

"Expected 2 doctests, but only found 1"

After the patch, it finds and runs both doctests, and prints nothing.

--
Added file: http://bugs.python.org/file16185/doctest_test.py

___
Python tracker 

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



[issue7808] test_bsddb3 leaks references

2010-02-09 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +ezio.melotti

___
Python tracker 

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



[issue7887] errno 107 socket.recv issure

2010-02-09 Thread Jordan Apgar

Jordan Apgar  added the comment:

Sorry I was under the impression this was an issue with the socket module

--

___
Python tracker 

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



[issue3562] Intermitent failure in test_multiprocessing.test_number_of_objects

2010-02-09 Thread Florent Xicluna

Florent Xicluna  added the comment:

Duplicate of #5009. Applied in r68839.

--
nosy: +flox
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> multiprocessing: failure in manager._debug_info()

___
Python tracker 

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



[issue7808] test_bsddb3 leaks references

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


--
nosy: +pitrou

___
Python tracker 

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



[issue6615] multiprocessing logging support test

2010-02-09 Thread Florent Xicluna

Florent Xicluna  added the comment:

It should be closed now.

--
priority:  -> normal
stage:  -> committed/rejected
status: open -> pending

___
Python tracker 

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



[issue6615] multiprocessing logging support test

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


--
status: pending -> open
versions:  -Python 2.6, Python 3.1

___
Python tracker 

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



[issue6615] multiprocessing logging support test

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


--
status: open -> pending

___
Python tracker 

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



[issue5596] memory leaks in py3k

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


--
status: open -> closed

___
Python tracker 

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



[issue7808] test_bsddb3 leaks references

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


--
type: performance -> resource usage

___
Python tracker 

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



[issue6615] multiprocessing logging support test

2010-02-09 Thread Vinay Sajip

Changes by Vinay Sajip :


--
resolution: accepted -> fixed
status: pending -> closed

___
Python tracker 

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



[issue7662] time.utcoffset()

2010-02-09 Thread anatoly techtonik

anatoly techtonik  added the comment:

Updated Python code according to discussion from aforementioned issue #7582. 
Unfortunately, I can't find Python source for `time` module to make a proper 
patch out of it.

def time.utcoffset():
  """Return current UTC offset in seconds"""
  isdst = time.localtime().tm_isdst
  if (time.daylight and isdst):
return -time.altzone
  else:
return -time.timezone

--

___
Python tracker 

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



[issue7662] time.utcoffset()

2010-02-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

The `time` module is written in C, in Modules/timemodule.c.
If this is too bothersome to write in C, the function could perhaps be added to 
the datetime module instead.
In any case, we need a proper patch, including unit tests if possible.

(and I agree that anything making the time stuff easier to use is welcome)

--
nosy: +brett.cannon, pitrou

___
Python tracker 

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



[issue7216] low performance of zipfile readline()

2010-02-09 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

Already fixed with issue7610.

--
nosy: +amaury.forgeotdarc
resolution:  -> duplicate
status: open -> closed
superseder:  -> Cannot use both read and readline method in same ZipExtFile 
object

___
Python tracker 

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



[issue7229] [PATCH] Manual entry for time.daylight can be misleading

2010-02-09 Thread Brian Curtin

Brian Curtin  added the comment:

I don't think altzone was incorrect, but it could also use a little rewording. 
Attached is a patch which rewords daylight and altzone. Thoughts?

--
keywords: +needs review
priority:  -> normal
stage:  -> patch review
versions:  -Python 2.4, Python 2.5, Python 3.0
Added file: http://bugs.python.org/file16186/time_reword.diff

___
Python tracker 

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



[issue3771] test_httpservers intermittent failure

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
type: crash -> behavior

___
Python tracker 

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



[issue4713] Installing sgmlop can crash xmlrpclib

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
type: crash -> behavior

___
Python tracker 

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



[issue1533] Bug in range() function for large values

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
priority:  -> normal
type: crash -> behavior
versions: +Python 3.1, Python 3.2 -Python 3.0

___
Python tracker 

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



[issue7889] random produces different output on different architectures

2010-02-09 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

I will update the documentation.

--
components: +Documentation -Library (Lib)
versions:  -Python 2.6, Python 2.7, Python 3.2

___
Python tracker 

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



[issue4891] formatwarning function signature change breaks code

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
priority:  -> normal
stage:  -> test needed
type: crash -> behavior

___
Python tracker 

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



[issue6815] UnicodeDecodeError in os.path.expandvars

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
priority:  -> normal
stage:  -> test needed
type: crash -> behavior

___
Python tracker 

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



[issue5223] infinite recursion in PyErr_WriteUnraisable

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
priority:  -> normal
stage:  -> patch review

___
Python tracker 

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



[issue5527] multiprocessing won't work with Tkinter (under Linux)

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
priority:  -> normal
stage:  -> needs patch
type: crash -> behavior

___
Python tracker 

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



[issue4918] Windows installer created with Python 2.5 does not work with Python 2.6.1

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
priority:  -> normal
type: crash -> behavior

___
Python tracker 

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



[issue6270] Menu deletecommand fails if command is already deleted

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
priority:  -> normal
stage:  -> patch review
type: crash -> behavior
versions: +Python 3.2 -Python 2.5, Python 3.0

___
Python tracker 

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



[issue6470] Tkinter import fails when running Python.exe from a network share

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
type: crash -> behavior

___
Python tracker 

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



[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna

New submission from Florent Xicluna :

Patch to refactor "test_dict" using new unittest methods.

--
components: Tests
files: patch_dict_assertRaises.diff
keywords: patch
messages: 99124
nosy: flox
priority: normal
severity: normal
stage: patch review
status: open
title: [patch] refactor "test_dict.py" using new assertRaises context manager.
type: behavior
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file16187/patch_dict_assertRaises.diff

___
Python tracker 

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



[issue6476] MSVCRT's spawnve/spawnvpe are not thread safe

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
priority:  -> normal
type: crash -> behavior
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.4, Python 2.5

___
Python tracker 

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



[issue6668] locale.py: can't parse sr...@latin locale

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
type: crash -> behavior

___
Python tracker 

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



[issue6863] Wrong linker command if CXX set to "ccache g++"

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
priority:  -> normal
type: crash -> behavior

___
Python tracker 

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



[issue6233] ElementTree (py3k) doesn't properly encode characters that can't be represented in the specified encoding

2010-02-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Committed in r78123 (py3k) and r78124 (3.1). I've also removed _escape_cdata() 
since it wasn't used anymore. Thanks Jerry for the patch.

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



[issue5504] ctypes should work with systems where mmap can't be PROT_WRITE and PROT_EXEC

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
keywords: +needs review
priority:  -> normal
stage:  -> patch review
type: crash -> behavior

___
Python tracker 

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



[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna

Florent Xicluna  added the comment:

The 3.x merge.

--
Added file: http://bugs.python.org/file16188/patch_dict_assertRaises_py3k.diff

___
Python tracker 

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



[issue7505] ctypes not converting None to Null in 64-bit system

2010-02-09 Thread Brian Curtin

Brian Curtin  added the comment:

What is the output of your example? I'm not on Linux at the moment, but I'm 
trying to see if this is actually a crash.

--
nosy: +brian.curtin
priority:  -> normal
stage:  -> test needed
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



[issue5223] infinite recursion in PyErr_WriteUnraisable

2010-02-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

As already mentioned, the backport patch isn't up to date.

--

___
Python tracker 

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



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

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
type: crash -> behavior

___
Python tracker 

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



[issue7424] segmentation fault in listextend during install

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
priority:  -> normal
stage:  -> test needed

___
Python tracker 

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



[issue7893] unittest: have to subclass TextTestRunner to use alternative TestResult

2010-02-09 Thread Michael Foord

New submission from Michael Foord :

A common way to extend unittest is to implement a custom TestResult. Currently 
you have to subclass TextTestRunner, overriding _makeResult, to get it to use 
an alternative result class.

I suggest adding an additional, optional, argument to TextTestRunner to specify 
an alternative result class (or callable) that will be used by _makeResult. 
This will permit the use of custom test result objects without having to 
subclass.

--
assignee: michael.foord
components: Extension Modules
keywords: easy
messages: 99129
nosy: michael.foord
severity: normal
stage: needs patch
status: open
title: unittest: have to subclass TextTestRunner to use alternative TestResult
versions: Python 2.7, Python 3.2

___
Python tracker 

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



[issue2746] ElementTree ProcessingInstruction uses character entities in content

2010-02-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

I've committed the patch in r78125 (trunk) and r78126 (py3k). I'm not sure I 
want to backport it to 2.6/3.1, since it might bite people who relied on the 
old behaviour.

--
resolution:  -> accepted
stage: patch review -> committed/rejected
status: open -> pending
versions:  -Python 2.7, Python 3.2

___
Python tracker 

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



[issue4713] Installing sgmlop causes xmlrpclib error

2010-02-09 Thread Brian Curtin

Brian Curtin  added the comment:

The patch could use a test (which doesn't require sgmlop).

--
keywords: +needs review
nosy: +brian.curtin
priority:  -> normal
stage:  -> test needed
title: Installing sgmlop can crash xmlrpclib -> Installing sgmlop causes 
xmlrpclib error

___
Python tracker 

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



[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-02-09 Thread Vlastimil Brom

Vlastimil Brom  added the comment:

I'd like to add another issue I encountered with the latest version of regex - 
issue2636-20100204.zip

It seems, that there is an error in handling some quantifiers in python 2.5

on
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on 
win32

I get e.g.:

>>> regex.findall(ur"q*", u"qqwe")

Traceback (most recent call last):
  File "", line 1, in 
regex.findall(ur"q*", u"qqwe")
  File "C:\Python25\lib\regex.py", line 213, in findall
return _compile(pattern, flags).findall(string, overlapped=overlapped)
  File "C:\Python25\lib\regex.py", line 633, in _compile
p = _regex.compile(pattern, info.global_flags | info.local_flags, code, 
info.group_index, index_group)
RuntimeError: invalid RE code

There is the same error for other possibly "infinite" quantifiers like "q+", 
"q{0,}" etc. with their non-greedy and possesive variants.

On python 2.6 and 3.1 all these patterns works without errors.

vbr

--

___
Python tracker 

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



[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


Removed file: http://bugs.python.org/file16188/patch_dict_assertRaises_py3k.diff

___
Python tracker 

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



[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


Removed file: http://bugs.python.org/file16187/patch_dict_assertRaises.diff

___
Python tracker 

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



[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


Added file: http://bugs.python.org/file16189/patch_dict_assertRaises.diff

___
Python tracker 

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



[issue7893] unittest: have to subclass TextTestRunner to use alternative TestResult

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
nosy: +brian.curtin

___
Python tracker 

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



[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna

Florent Xicluna  added the comment:

I missed an "assertEqual(hasattr(...), False)". Fixed.

--
Added file: http://bugs.python.org/file16190/patch_dict_assertRaises_py3k.diff

___
Python tracker 

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



[issue7892] [patch] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +ezio.melotti

___
Python tracker 

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



[issue7505] ctypes not converting None to Null in 64-bit system

2010-02-09 Thread Venkateswaran

Venkateswaran  added the comment:

The output was a valid pointer which was not null. I did not investigate 
further on this issue, because I had a work around i.e I used 
ctypes.POINTER(ctypes.c_cint)() instead of None.

--

___
Python tracker 

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



[issue7894] too aggressive dependency tracking in distutils

2010-02-09 Thread Ronald Oussoren

New submission from Ronald Oussoren :

build_ext calculates which files for an Extension need to be recompiled. This 
calculation is way to aggrasive: if any source file for an Extension has 
changed all source files get recompiled.

It would be nice if distutils would only recompile the sources that actually 
changed (taking into account the 'depends' attribute of the Extension). 

If I read the code correctly this would be a new version, it seems that the 
current behavior is intentional.

--
assignee: tarek
components: Distutils
messages: 99135
nosy: ronaldoussoren, tarek
severity: normal
stage: needs patch
status: open
title: too aggressive dependency tracking in distutils
type: behavior
versions: Python 2.7, Python 3.2

___
Python tracker 

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



[issue7895] Mac 10.6 mac_ver() crashes with USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER

2010-02-09 Thread Aahz

New submission from Aahz :

On OSX 10.6/Snow Leopard, using platform.mac_ver() in a subprocess
created with fork() but not calling exec() will cause a crash with
USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER

You may need to be also running in GUI mode.

Ronald Oussouren says that you can get the same info from
/System/Library/CoreServices/SystemVersion.plist

--
assignee: ronaldoussoren
components: Macintosh
messages: 99136
nosy: aahz, ronaldoussoren
severity: normal
stage: test needed
status: open
title: Mac 10.6 mac_ver() crashes with 
USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER
type: crash

___
Python tracker 

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



[issue7895] Mac 10.6 mac_ver() crashes with USING_FORK_WITHOUT_EXEC_IS _NOT_SUPPORTED_BY_FILE_MANAGER

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


--
priority:  -> normal
title: Mac 10.6 mac_ver() crashes with 
USING_FORK_WITHOUT_EXEC_IS_NOT_SUPPORTED_BY_FILE_MANAGER -> Mac 10.6 mac_ver() 
crashes with USING_FORK_WITHOUT_EXEC_IS _NOT_SUPPORTED_BY_FILE_MANAGER

___
Python tracker 

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



[issue7892] refactor "test_dict.py" using new assertRaises context manager.

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


--
title: [patch] refactor "test_dict.py" using new assertRaises context manager. 
-> refactor "test_dict.py" using new assertRaises context manager.

___
Python tracker 

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



[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


Removed file: http://bugs.python.org/file15468/issue6472_upstream.diff

___
Python tracker 

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



[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


Removed file: http://bugs.python.org/file15552/issue6472_upstream_py3k_v2.diff

___
Python tracker 

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



[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna

Florent Xicluna  added the comment:

Patch updated, with upstream packages:
 * ElementTree 1.3a3-20070912
 * cElementTree 1.0.6-20090110

Now all tests are identical for the ElementTree part:
 - ElementTree 2.x
 - cElementTree 2.x
 - ElementTree 3.x
 - cElementTree 3.x

Waiting for some developer kind enough to review and merge in 2.7 and 3.2.

--
Added file: http://bugs.python.org/file16191/issue6472_etree_upstream_v2.diff

___
Python tracker 

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



[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna

Changes by Florent Xicluna :


Added file: 
http://bugs.python.org/file16192/issue6472_etree_upstream_py3k_v2.diff

___
Python tracker 

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



[issue7895] Mac 10.6 mac_ver() crashes with USING_FORK_WITHOUT_EXEC_IS _NOT_SUPPORTED_BY_FILE_MANAGER

2010-02-09 Thread Ronald Oussoren

Changes by Ronald Oussoren :


--
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2

___
Python tracker 

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



[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

Given the size of the patch, it's very difficult to review properly.
In any case, could you upload it to http://codereview.appspot.com/ ?

--

___
Python tracker 

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



[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna

Florent Xicluna  added the comment:

Ok, will do the upload to rietveld.

In addition to the straight review of the patch itself, you could:
 - diff against the upstream source code (very few changes)
 - diff between 2.x and 3.x
 - review the test_suite (there's only additions, no real change)
 - hunt refleaks

Btw, I've backported the last tests (#2746, #6233) to all 4 test files (ET and 
cET, 2.x and 3.x).

--

___
Python tracker 

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



[issue6472] Inconsistent use of "iterator" in ElementTree doc & diff between Py and C modules

2010-02-09 Thread Florent Xicluna

Florent Xicluna  added the comment:

Here it is:
 * http://codereview.appspot.com/207048/show

--

___
Python tracker 

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



[issue7896] IDLE.app crashes when attempting to open a .py file

2010-02-09 Thread John-Michael Glenn

New submission from John-Michael Glenn :

This happens every time I try to open any .py file from anywhere in my 
computer. I start IDLE.app and go to the menu and open a file then it pauses 
and crashes. I get a similar event when I try to use the Run Module option from 
the menu, except it doesn't crash it will hang and eventually show a shell 
window, but it does nothing and I am unable to do anything in either of the two 
windows. Here is the crash report for when I try to open a file (edited out 
bluetooth and airport information):

Process: Python [48392]
Path:/Applications/Python 2.6/IDLE.app/Contents/MacOS/Python
Identifier:  org.python.IDLE
Version: 2.6.4 (2.6.4)
Code Type:   X86-64 (Native)
Parent Process:  launchd [459]

Date/Time:   2010-02-09 15:25:43.842 -0800
OS Version:  Mac OS X 10.6.2 (10C540)
Report Version:  6

Interval Since Last Report:  895070 sec
Crashes Since Last Report:   28
Per-App Interval Since Last Report:  101706 sec
Per-App Crashes Since Last Report:   13
Anonymous UUID:  FF835E84-3062-4BF0-8A30-7089C4C5C31B

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000d, 0x
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Application Specific Information:
objc_msgSend() selector name: release


Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib 0x7fff81c15120 objc_msgSend + 44
1   com.apple.CoreFoundation0x7fff80037246 
_CFAutoreleasePoolPop + 230
2   com.apple.Foundation0x7fff851512f8 -[NSAutoreleasePool 
drain] + 158
3   com.tcltk.tklibrary 0x0001010bba4f XQueryPointer + 2425
4   com.tcltk.tklibrary 0x0001010bbd3f 
Tk_MacOSXSetupTkNotifier + 614
5   com.tcltk.tcllibrary0x00010076c2ae Tcl_DoOneEvent + 297
6   _tkinter.so 0x0001004e3311 Tkapp_MainLoop + 401
7   org.python.python   0x0001000b8018 PyEval_EvalFrameEx + 
28696
8   org.python.python   0x0001000b8d70 PyEval_EvalCodeEx + 
2112
9   org.python.python   0x0001000b6d5d PyEval_EvalFrameEx + 
23901
10  org.python.python   0x0001000b71ba PyEval_EvalFrameEx + 
25018
11  org.python.python   0x0001000b8d70 PyEval_EvalCodeEx + 
2112
12  org.python.python   0x0001000b8e56 PyEval_EvalCode + 54
13  org.python.python   0x0001000dda8e PyRun_FileExFlags + 
174
14  org.python.python   0x0001000ddd49 
PyRun_SimpleFileExFlags + 489
15  org.python.python   0x0001000ed45c Py_Main + 3020
16  Python  0x00010ed4 0x1 + 3796

Thread 1:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib   0x7fff8053ebba kevent + 10
1   libSystem.B.dylib   0x7fff80540a85 _dispatch_mgr_invoke 
+ 154
2   libSystem.B.dylib   0x7fff8054075c 
_dispatch_queue_invoke + 185
3   libSystem.B.dylib   0x7fff80540286 
_dispatch_worker_thread2 + 244
4   libSystem.B.dylib   0x7fff8053fbb8 _pthread_wqthread + 
353
5   libSystem.B.dylib   0x7fff8053fa55 start_wqthread + 13

Thread 2:
0   libSystem.B.dylib   0x7fff8053f9da __workq_kernreturn + 
10
1   libSystem.B.dylib   0x7fff8053fdec _pthread_wqthread + 
917
2   libSystem.B.dylib   0x7fff8053fa55 start_wqthread + 13

Thread 3:
0   libSystem.B.dylib   0x7fff805699e2 select$DARWIN_EXTSN 
+ 10
1   com.tcltk.tcllibrary0x00010079dd86 Tcl_InitNotifier + 
1520
2   libSystem.B.dylib   0x7fff8055ef8e _pthread_start + 331
3   libSystem.B.dylib   0x7fff8055ee41 thread_start + 13

Thread 4:
0   libSystem.B.dylib   0x7fff80525e3a mach_msg_trap + 10
1   libSystem.B.dylib   0x7fff805264ad mach_msg + 59
2   com.apple.CoreFoundation0x7fff8004e7a2 __CFRunLoopRun + 1698
3   com.apple.CoreFoundation0x7fff8004dc2f CFRunLoopRunSpecific 
+ 575
4   com.apple.CoreFoundation0x7fff8004d9b6 CFRunLoopRun + 70
5   com.apple.DesktopServices   0x7fff87543d86 
TSystemNotificationTask::SystemNotificationTaskProc(void*) + 514
6   ...ple.CoreServices.CarbonCore  0x7fff82a5cb4d PrivateMPEntryPoint 
+ 63
7   libSystem.B.dylib   0x7fff8055ef8e _pthread_start + 331
8   libSystem.B.dylib   0x7fff8055ee41 thread_start + 13

Thread 5:
0   libSystem.B.dylib   0x7fff8053f9da __workq_kernreturn + 
10
1   libSystem.B.dylib   0x7fff8053fdec _pthread_wqthread + 
917
2   libSystem.B.dylib  

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-02-09 Thread Jason R. Coombs

Jason R. Coombs  added the comment:

This new patch (23) renames support.has_symlink and 
support.skip_unless_has_symlink to "can_symlink". This more accurately reflects 
the functionality.

--
title: Add os.link() and os.symlink() and os.path.islink()  support for 
Windows -> Add os.link() and os.symlink() and os.path.islink() support for 
Windows
Added file: http://bugs.python.org/file16193/windows symlink draft 23.patch

___
Python tracker 

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



[issue3646] MacOS X framework install to non-standard directory fails

2010-02-09 Thread John-Michael Glenn

John-Michael Glenn  added the comment:

I'm using Python 2.6.4 on OSX 10.6 and I first used the mv command to rename 
the original python.framework. Then I was able to install 2.6 as the new 
python.framework. These are the commands:

rename it:
sudo mv /Library/Frameworks/Python.framework 
/Library/Frameworks/Python_old.framework

install new python:
./configure --enable-framework --with-framework-name=Python 
--enable-universalsdk=/ --with-universal-archs=intel

--
nosy: +phyreman

___
Python tracker 

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



[issue7896] IDLE.app crashes when attempting to open a .py file

2010-02-09 Thread Brian Curtin

Changes by Brian Curtin :


--
assignee:  -> ronaldoussoren
components: +Macintosh
nosy: +ronaldoussoren

___
Python tracker 

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



[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-09 Thread Brian Curtin

Brian Curtin  added the comment:

With Ezio's latest patch (sent via IRC), test_bufio still fails and 
additionally test_mailbox fails.

If I apply the patch on #7443 along with Ezio's patch, everything looks fine. I 
haven't thoroughly looked at that issue, but on the surface it looks similar 
(same setup, same result).

--

___
Python tracker 

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



[issue4037] doctest.py should include method descriptors when looking inside a class __dict__

2010-02-09 Thread Brian Curtin

Brian Curtin  added the comment:

Can you add your test(s) in Lib/test/test_doctest.py ? That way it will be run 
with the Python regression suite. Ideally a documentation update would come 
with the patch. Also, line length should ideally be capped at 79 characters 
(re: PEP-8).

Might as well move the valname string building outside of both if-tests since 
it's common to both of them.


Terry: this looks like a feature rather than a bug, removing 2.6/3.1.

--
keywords: +needs review, patch
nosy: +brian.curtin
priority:  -> normal
stage:  -> patch review
type:  -> feature request
versions:  -Python 2.6, Python 3.1

___
Python tracker 

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



[issue7418] hashlib : the names of the different hash algorithms

2010-02-09 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

I'll be taking a look at this patch during the sprints at Pycon.  Will get back 
to you soonish :-)

--

___
Python tracker 

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



[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-02-09 Thread Matthew Barnett

Matthew Barnett  added the comment:

issue2636-20100210.zip is a new version of the regex module.

The reported bugs appear to be fixed now.

--
Added file: http://bugs.python.org/file16195/issue2636-20100210.zip

___
Python tracker 

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



[issue7897] Support parametrized tests in unittest

2010-02-09 Thread Fernando Perez

New submission from Fernando Perez :

IPython has unittest-based parametric testing (something nose has but
which produces effectively undebuggable tests, while this approach
gives perfectly debuggable ones).  The code lives here for 2.x and
3.x:

http://bazaar.launchpad.net/~ipython-dev/ipython/trunk/annotate/head%3A/IPython/testing/_paramtestpy2.py

http://bazaar.launchpad.net/~ipython-dev/ipython/trunk/annotate/head%3A/IPython/testing/_paramtestpy3.py

we import them into our public decorators module for actual use:

http://bazaar.launchpad.net/~ipython-dev/ipython/trunk/annotate/head%3A/IPython/testing/decorators.py

Simple tests showing them in action are here:

http://bazaar.launchpad.net/%7Eipython-dev/ipython/trunk/annotate/head%3A/IPython/testing/tests/test_decorators.py#L45

The code is all BSD and we'd be more than happy to see it used
upstream; the less we have to carry the better.

If there is interest in this code, I'm happy to sign a PSF contributor 
agreement, the code is mostly my authorship. I received help for the 3.x 
version on the Testing in Python mailing list, I would handle asking for 
permission on-list if there is interest in including this.

--
messages: 99149
nosy: fperez
severity: normal
status: open
title: Support parametrized tests in unittest
type: feature request
versions: Python 2.7, Python 3.2

___
Python tracker 

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



[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-02-09 Thread Jason R. Coombs

Changes by Jason R. Coombs :


Removed file: http://bugs.python.org/file15932/failures.txt

___
Python tracker 

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



[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-02-09 Thread Jason R. Coombs

Changes by Jason R. Coombs :


Removed file: http://bugs.python.org/file16180/windows symlink draft 22.patch

___
Python tracker 

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



  1   2   >