[issue4652] IDLE does not work with Unicode

2009-11-04 Thread Jean-Christophe Helary

Jean-Christophe Helary jean.christophe.hel...@gmail.com added the comment:

I've installed Python 3.1.1 on OSX today.
1) When I use the Japanese input from OSX, IDLE interprets any character 
I attempt to type as a space.
2) When I paste a Japanese string from a different place, it is 
correctly handled. For ex:
 print('ここ')
ここ
 

While on Python 2.5's IDLE I had:
 print('ここ')
Unsupported characters in input

 

by default.

In any case, IDLE 3.1.1 does not respect the input source and that makes 
it impossible to directly type Japanese (if not other double byte 
character based languages).

Note: IDLE respect OSX dead keys and I can correctly use Alt+c to 
input ç.

--
nosy: +jchelary
versions: +Python 3.1 -Python 3.0

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



[issue7257] Improve documentation of list.sort and sorted()

2009-11-04 Thread Ole Laursen

Ole Laursen o...@iola.dk added the comment:

OK, thanks! :) Sorry about the unintended nosy list removal, my browser 
got me there.

--

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



[issue7261] Document 2.x - 3.x round changes in Whats New documents.

2009-11-04 Thread Mark Dickinson

New submission from Mark Dickinson dicki...@gmail.com:

The round builtin function changed in three fairly significant ways
between 2.x and 3.x:

(1) In 2.x, halfway cases are rounded using the
round-half-away-from-zero rule, while in 3.x they're
rounded using round-half-to-even.

(2) The single argument version, round(x), generally returns an
integer in 3.x and a float in 2.x.  (For float inputs, this
actually changed between 3.0 and 3.1, not between 2.x and 3.x.).

(3) In 3.x, round(x, n) delegates to x.__round__; in 2.x, x is simply
converted to a float (if possible).  (So for example, rounding
a Decimal instance in 2.x gives a float result;  in 3.x it uses
Decimal.__round__, which returns another Decimal.)

I think all of this is covered (more-or-less) in the 'built-in
functions' section of the documentation, but I suggest that it would be
worth putting an entry for these changes into the 'What's new in Python
3.0' document as well.

The first change above is particularly evil (i.e., likely to cause
late-discovered bugs), since the value of round(x) will change silently,
just for a few values of x.  Note that this change affects
integers, too, so it's applicable beyond the well you should be
using Decimal then situations.

[2.5]
 int(round(2500, -3))
3000

[3.1]
 round(2500, -3)
2000

--
assignee: georg.brandl
components: Documentation
messages: 94886
nosy: georg.brandl, mark.dickinson
severity: normal
stage: needs patch
status: open
title: Document 2.x - 3.x round changes in Whats New documents.

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



[issue7261] Document 2.x - 3.x round changes in What's New documents.

2009-11-04 Thread Mark Dickinson

Changes by Mark Dickinson dicki...@gmail.com:


--
title: Document 2.x - 3.x round changes in Whats New documents. - Document 
2.x - 3.x round changes in What's New documents.

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



[issue7261] Document 2.x - 3.x round changes in What's New documents.

2009-11-04 Thread Mark Dickinson

Changes by Mark Dickinson dicki...@gmail.com:


--
assignee: georg.brandl - mark.dickinson

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



[issue7224] One obvious way to do interning

2009-11-04 Thread Nick Coghlan

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

If the idea is to create the one obvious way for interning, calling
the method and corresponding C function intern isn't painting a
bikeshed, it's meeting the design spec :)

Adding a new method also avoids a whole host of issues with the Set ABC.

--
nosy: +ncoghlan

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



[issue7262] codecs.open() + eol (windows)

2009-11-04 Thread shamilbi

New submission from shamilbi shami...@gmail.com:

different eol when writing to fp = codecs.open(.., 'w', 'cp866')
(windows, python-2.6.4)

def write(fp):
fp.write(\
a
)

# eol=0d0a (windows, python-2.6.4)
with open('0d0a.tmp', 'w') as fp:
write(fp)

# eol=0d0a (windows, python-2.6.4)
with codecs.open('0d0a-codecs.tmp', 'w') as fp:
write(fp)

# --- BUG ---
# eol=0a (windows, python-2.6.4)
with codecs.open('0a-codecs.tmp', 'w', 'cp866') as fp:
write(fp)

--
components: Library (Lib)
files: eol-bug.py
messages: 94888
nosy: shamilbi
severity: normal
status: open
title: codecs.open() + eol (windows)
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file15256/eol-bug.py

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



[issue7206] 64 bit python fails on Windows 7

2009-11-04 Thread Carey

Carey carey.metca...@gmail.com added the comment:

yes, please do

--

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



[issue7224] One obvious way to do interning

2009-11-04 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

On Wed, Nov 4, 2009 at 9:46 AM, Nick Coghlan rep...@bugs.python.org wrote:

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

 If the idea is to create the one obvious way for interning, calling
 the method and corresponding C function intern isn't painting a
 bikeshed, it's meeting the design spec :)


Any bikeshed needs to be painted and _PySet_Add was deliberately just
a primer. (Sorry for the cliche abuse.)  At the C API level, I was
hoping that old PySet_Add semantics could be eventually deprecated and
_PySet_Add be promoted to a public method.  Keeping two functions that
have the same effect but return different values is inelegant
especially given that zero return from one is success and from the
other is an error, so people who don't pay attention to compiler
warnings may get some nasty bugs.  Maybe _PySet_Add should be renamed
to _PySet_AddAndReturn to emphasize the similarity and difference with
PySet_Add.  I don't mind calling the method _PySet_Intern (in the
original patch I used _PySet_InternString), but that choice will only
become obvious if set grows intern(..) method in addition to add(..).
I also wonder how widespread the knowledge of the term intern is.  I
would not be surprised if some non-CS users would be more comfortable
with AddAndReturn.

 Adding a new method also avoids a whole host of issues with the Set ABC.

I am neutral on changing add(..) return value vs. adding a new method.
 Can you elaborate on the whole host of issues with the Set ABC.
Interestingly, current implementation of add(..) does not match PEP
3119 [1] which calls for a boolean return value.

[1] http://www.python.org/dev/peps/pep-3119/#sets

--

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



[issue7217] IDLE Subprocess Startup Error {Solved}

2009-11-04 Thread ali

ali mr.da...@gmail.com added the comment:

{Solved}
Thanks for following up Amaury
But my problem was solved yesterday.
There was a few programs in the main python directory which I didn't
want to delete, so I moved them to another directory and manually
deleted C:\Python26 and then restarted my computer. After installing
python again, the problem was solved.
Thanks again

--
title: IDLE Subprocess Startup Error - IDLE Subprocess Startup Error {Solved}

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



[issue7263] Fix set.intersection docstring

2009-11-04 Thread Alexander Belopolsky

New submission from Alexander Belopolsky belopol...@users.sourceforge.net:


intersection(...)
Return the intersection of two sets as a new set.

(i.e. all elements that are in both sets.)


Is incorrect because set.intersection takes two or more sets.

Attached patch changes that to


intersection(...)
Return the intersection of two or more sets as a new set.

(i.e. all elements that are in all sets.)


--
assignee: georg.brandl
components: Documentation
files: set-intersection-doc.diff
keywords: patch
messages: 94892
nosy: belopolsky, georg.brandl
severity: normal
status: open
title: Fix set.intersection docstring
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file15257/set-intersection-doc.diff

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



[issue7263] Fix set.intersection docstring

2009-11-04 Thread Raymond Hettinger

Changes by Raymond Hettinger rhettin...@users.sourceforge.net:


--
assignee: georg.brandl - rhettinger
nosy: +rhettinger

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



[issue7250] wsgiref.handlers.CGIHandler caches os.environ, leaking info between requests

2009-11-04 Thread Phillip J. Eby

Phillip J. Eby p...@telecommunity.com added the comment:

I've forwarded the suggested fix to the GAE team; it is to add this line:

os_environ = {} # Handle GAE and other multi-run CGI use cases

to the class body of CGIHandler.  This should also be done in the Python
stdlib.

Btw, this fix can also be applied as a monkeypatch, by simply doing
'CGIHandler.os_environ = {}' before using CGIHandler.

--
keywords: +26backport, easy, patch

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



[issue7251] Mark expected failures of test_math, test_cmath and test_round as such.

2009-11-04 Thread Skip Montanaro

Skip Montanaro s...@pobox.com added the comment:

For 2.6.4 I get a test_float failure on Solaris as well:

test test_float failed -- Traceback (most recent call last):
 File /home/tuba/skipm/src/python/Python-2.6.4/Lib/test/test_float.py,
line 765, in test_roundtrip
   self.identical(-x, roundtrip(-x))
 File /home/tuba/skipm/src/python/Python-2.6.4/Lib/test/test_float.py,
line 375, in identical
   self.fail('%r not identical to %r' % (x, y))
AssertionError: -0.0 not identical to 0.0

Haven't looked at 2.7 or 3.1 yet, but it seems to fall into the same
class of test failures as the tanh(-0.0) critter.

--
nosy: +skip.montanaro

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



[issue7217] IDLE Subprocess Startup Error {Solved}

2009-11-04 Thread Amaury Forgeot d'Arc

Changes by Amaury Forgeot d'Arc amaur...@gmail.com:


--
resolution:  - invalid
status: open - closed

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



[issue7262] codecs.open() + eol (windows)

2009-11-04 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

The docs say::
  Files are always opened in binary mode, even if no binary mode was
  specified. This is done to avoid data loss due to encodings using
  8-bit values. This means that no automatic conversion of '\n' is done
  on reading and writing.

But this does not match the code of codecs.open()::
if encoding is not None and \
   'b' not in mode:
# Force opening of the file in binary mode
mode = mode + 'b'

When the encoding is None, the file is opened in text mode.
Marc-Andre, what do you think? is it a documentation bug instead?

--
assignee:  - lemburg
nosy: +amaury.forgeotdarc, lemburg

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



[issue7211] select module - kevent ident field 64 bit issue

2009-11-04 Thread Antoine Pitrou

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

For me, the patch is worth trying out on the buildbots - to see if there
are any configuration problems we might have overlooked.

--

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



[issue6292] Fix tests to work with -OO

2009-11-04 Thread Brian Curtin

Brian Curtin cur...@acm.org added the comment:

I've attached a patch against trunk (r76107) which I think implements
more of what Antoine is looking for. It builds on Collin's patch but
uses unittest.skipIf to skip tests which shouldn't be run with -OO. It
also checks sys.flags.optimize in DocTestSuite and returns a suite with
a single skipped test as a placeholder in the case that -OO is used.

One thing that isn't really clean is that test_docxmlrpc has two skipped
tests and requires work to be done in the tearDown method after those
methods are skipped. Since setUp gets called even when the test will be
skipped, the server is started and blocking on getting a request, so I
just figure out if the test was skipped and do a request for it. Maybe
that's acceptable, I'm not sure. If anyone has a better way to figure
get around that, I'm all ears.

For comparison's sake, regrtest with -OO on r76107 results in 297 OK and
17 failed, and without optimize it results in 311/2. The patch results
in 311 OK and 2 failed for runs of regrtest both optimized and not, and
you can see the improvements more clearly when running the module-level
tests which were modified.

--
nosy: +brian.curtin
Added file: http://bugs.python.org/file15258/issue6292_20091104_v1.patch

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



[issue7262] codecs.open() + eol (windows)

2009-11-04 Thread Marc-Andre Lemburg

Marc-Andre Lemburg m...@egenix.com added the comment:

Amaury Forgeot d'Arc wrote:
 
 Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
 
 The docs say::
   Files are always opened in binary mode, even if no binary mode was
   specified. This is done to avoid data loss due to encodings using
   8-bit values. This means that no automatic conversion of '\n' is done
   on reading and writing.
 
 But this does not match the code of codecs.open()::
 if encoding is not None and \
'b' not in mode:
 # Force opening of the file in binary mode
 mode = mode + 'b'
 
 When the encoding is None, the file is opened in text mode.
 Marc-Andre, what do you think? is it a documentation bug instead?

Agreed, it's a documentation bug. If no encoding is specified,
codecs.open() works just like the standard open() (except for
the default value of mode, but that's documented).

The idea was to provide a drop-in replacement for open() - with
the added encoding parameter support.

Perhaps the default mode should have been 'r' to match the
regular open() - I guess it's too late to change that, though.

--

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



[issue7144] imp.load_module in thread causes core dump on OSX 10.6

2009-11-04 Thread Adam Doherty

Adam Doherty dohert...@gmail.com added the comment:

Hello:

Having the same issues in a web app I've written. Tested with the
default 2.5 and 2.6 on Snow Leopard and 2.5 on Ubuntu 8.04 (no problems
under Linux)  Replaced the default Python with 2.6.4 from python.org, my
app no longer crashes.

Hope it helps.

--
nosy: +dohertywa

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



[issue7264] test_threading_local sometimes hangs when run with -R

2009-11-04 Thread Antoine Pitrou

New submission from Antoine Pitrou pit...@free.fr:

If I run something like:
  ./python -m test.regrtest -R3:2: test_threading_local

Python sometimes hangs and I have to kill -9 it.

Running through gdb shows it gets stuck at the following point:

/home/antoine/cpython/debug/Lib/threading.py (239): wait
/home/antoine/cpython/debug/Lib/threading.py (638): join
/home/antoine/cpython/debug/Lib/test/test_threading_local.py (68):
test_derived
[snip]

That is, it hangs waiting for a thread to join().

--
components: Library (Lib), Tests
messages: 94900
nosy: gps, pitrou
priority: normal
severity: normal
status: open
title: test_threading_local sometimes hangs when run with -R
type: crash
versions: Python 2.7

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



[issue7264] test_threading_local sometimes hangs when run with -R

2009-11-04 Thread Antoine Pitrou

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

It turns out that the __del__ method in _threading_local.py tries to
call threading.enumerate() which itself takes the _active_limbo_lock.
The problem is that __del__ can be called at any point in time (because
of the GC), including at a point where the same thread has already taken
the lock. The obvious fix is to bypass enumerate().

(an alternate fix would be to use an RLock for _active_limbo_lock, but
it could have unforeseen consequences, such as performance ones)

--
keywords: +patch
Added file: http://bugs.python.org/file15259/threading_local.patch

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



[issue7264] test_threading_local sometimes hangs when run with -R

2009-11-04 Thread Antoine Pitrou

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


--
stage:  - patch review

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



[issue7264] test_threading_local sometimes hangs when run with -R

2009-11-04 Thread Antoine Pitrou

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


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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7264
___
___
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-11-04 Thread Sridhar Ratnakumar

Changes by Sridhar Ratnakumar sridh...@activestate.com:


--
nosy: +srid

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



[issue2054] add ftp-tls support to ftplib - RFC 4217

2009-11-04 Thread Antoine Pitrou

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

I noticed you were using ftp.python.org in the example strings, but that
service doesn't seem to be alive. I don't know if there's another public
FTP-TLS server you could rely on...?

--

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



[issue7251] Mark expected failures of test_math, test_cmath and test_round as such.

2009-11-04 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

May be one day python modules will deal with TANH_PRESERVES_ZERO_SIGN
set by configure check.

--
nosy: +rpetrov

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



[issue7211] select module - kevent ident field 64 bit issue

2009-11-04 Thread Antoine Pitrou

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

Patch was committed in r76108 (trunk) and r76111 (py3k) and didn't
introduce any regression on the FreeBSD and OS X buildbots. Thanks!

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

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



[issue2499] Fold unary + and not on constants

2009-11-04 Thread Antoine Pitrou

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

Folding UNARY_POSITIVE was done by Raymond in r75601.

--
nosy: +pitrou

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



[issue3754] minimal cross-compilation support for configure

2009-11-04 Thread Roumen Petrov

Changes by Roumen Petrov bugtr...@roumenpetrov.info:


Added file: http://bugs.python.org/file15260/python-trunk-20091104-CROSS.patch

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



[issue3871] cross and native build of python for mingw32 with distutils

2009-11-04 Thread Roumen Petrov

Changes by Roumen Petrov bugtr...@roumenpetrov.info:


Added file: http://bugs.python.org/file15261/python-trunk-20091104-MINGW.patch

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



[issue5774] _winreg.OpenKey() is documented with keyword arguments, but doesn't take them

2009-11-04 Thread Brian Curtin

Brian Curtin cur...@acm.org added the comment:

Attached is a patch against trunk r76107 which fixes OpenKey to take
keyword arguments as the documentation states. There is also a small fix
to test_winreg - the third param to OpenKey on line 45 is the `res`
positional param, which should always be zero according to the doc. The
parameter passed is supposed to be the `sam` parameter, which is now
passed as a kwarg. There is no actual change to the test results.


While looking at this, I'm not sure I see the need for OpenKeyEx - it
just points to OpenKey. At the very least, it's parameter list in the
documentation is incorrect.

--
keywords: +patch
nosy: +brian.curtin
Added file: http://bugs.python.org/file15262/issue5774_20091104_v1.patch

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



[issue6509] re.py - compiled byte-object regular expr encounter unexpected str-object

2009-11-04 Thread Antoine Pitrou

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

Here is a patch.

--
keywords: +patch
nosy: +effbot
stage:  - patch review
Added file: http://bugs.python.org/file15263/parse_template.patch

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



[issue4199] add shorthand global and nonlocal statements

2009-11-04 Thread Antoine Pitrou

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


--
priority: critical - normal

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



[issue7264] test_threading_local sometimes hangs when run with -R

2009-11-04 Thread Gregory P. Smith

Gregory P. Smith g...@krypto.org added the comment:

How about defining this in threading.py:

def _enumerate():
Internal use only: enumerate() without the lock.
return _active.values() + _limbo.values()

And calling it from _threading_local instead of accessing _active and
_limbo directly.

--
nosy: +gregory.p.smith

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



[issue7264] test_threading_local sometimes hangs when run with -R

2009-11-04 Thread Antoine Pitrou

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

Good point. Here is a new patch.

--
Added file: http://bugs.python.org/file15264/threading_local2.patch

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



[issue2499] Fold unary + and not on constants

2009-11-04 Thread Raymond Hettinger

Changes by Raymond Hettinger rhettin...@users.sourceforge.net:


--
assignee:  - rhettinger

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



[issue7206] 64 bit python fails on Windows 7

2009-11-04 Thread Rich Healey

Rich Healey ri...@psych0tik.net added the comment:

Download the debugging suite from
http://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx#

Open windbg
Press Ctrl + E to load an executable
Select your python binary
Step through by typing g in the text box at the bottom of the Command
window.

The application will fail to crash completely as windbg will catch the
exception, however you should notice that it's spitting out duplicate
errors after a few breaks.

Paste up your log :)

--

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