[issue896330] pyconfig.h is not placed in --includedir

2010-08-20 Thread Göran Uddeborg

Göran Uddeborg goe...@uddeborg.se added the comment:

I tried by building Python 3.1.2 with the configuration

... --prefix=$home/ptest --includedir=$home/ptest/myspecialincludedir

pyconfig.h still wound up in $prefix/include/python3.1, while all other header 
files were correctly placed in $prefix/myspecialincludedir/python3.1.

So yes, it is still a problem.

--

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



[issue8622] Add PYTHONFSENCODING environment variable

2010-08-20 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

Le jeudi 19 août 2010 22:40:53, vous avez écrit :
 Just please make sure that on other platforms such as BSD, Solaris,
 AIX, etc. that don't have this special Python support
 the env vars are honored.

I added much more tests on the filesystem encoding:
 - (test_os) FSEncodingTests.test_encodings() tests different encoding values 
and check for some known values
 - (test_sys) SysModuleTest.test_pythonfsencoding() tests Python with C locale 
and check that the FS encoding is ascii, and test that setting 
PYTHONFSENCODING is understood by Python (run python with import sys; 
print(sys.getfilesystemencoding()) and compare the output)

These tests are skipped on Windows and Mac OS X. I also patched the doc 
(what's new / cmdline) to explain that PYTHONFSENCODING is not available 
(ignored) on these OSes.

--

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



[issue7077] SysLogHandler can't handle Unicode

2010-08-20 Thread Vinay Sajip

Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:

Err, make that r84222.

--
status: pending - open

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



[issue7077] SysLogHandler can't handle Unicode

2010-08-20 Thread Vinay Sajip

Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:


--
status: open - pending

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



[issue798876] windows sys.path contains nonexistant directory

2010-08-20 Thread Tim Golden

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


--
assignee:  - tim.golden
components:  -Interpreter Core
nosy: +tim.golden
versions: +Python 3.1, Python 3.2

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



[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2010-08-20 Thread Ask Solem

Ask Solem a...@opera.com added the comment:

@greg

Been very busy lately, just had some time now to look at your patch.
I'm very ambivalent about using one SimpleQueue per process. What is the reason 
for doing that?

--

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



[issue1524938] PEP MemoryError with a lot of available memory gc not called

2010-08-20 Thread Swapnil Talekar

Swapnil Talekar swapnil...@gmail.com added the comment:

Mark, are you sure that the above program is sure to cause a crash. I had 
absolutely no problem running it with Python 3.1.2. With Python 2.6.5, PC went 
terribly slow but the program managed to run till i==14 without crashing. I did 
not wait to see if it reaches 700. I'm running it on XP.

--
nosy: +swapnil

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



[issue1524938] PEP MemoryError with a lot of available memory gc not called

2010-08-20 Thread Brian Curtin

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

 (not sure its for this thread though but...) Windows on default limits
 the amount of memory for 32 bit processes to 2GB. There's a bit in
 the PE image which tells 64 bit windows to give it 4GB (on 32 bit
 windows PAE needs to be enabled too) which is called
 IMAGE_FILE_LARGE_ADDRESS_AWARE. There's a post-build way to enable
 it with the editbin.exe utility which comes with visual studio like
 this: editbin.exe /LARGEADDRESSAWARE python.exe


See #1449496 if you are interested in that.

--
nosy: +brian.curtin

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



[issue9649] wrong default for sort_keys in json module documentation

2010-08-20 Thread Mike Dirolf

New submission from Mike Dirolf m...@dirolf.com:

The json module docs state that sort_keys defaults to True. From the source it 
looks like it actually defaults to False. Patch attached.

--
assignee: d...@python
components: Documentation
files: sort_keys_json.patch
keywords: patch
messages: 114426
nosy: d...@python, mdirolf
priority: normal
severity: normal
status: open
title: wrong default for sort_keys in json module documentation
versions: Python 2.7
Added file: http://bugs.python.org/file18584/sort_keys_json.patch

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



[issue9650] format codes in time.strptime docstrings

2010-08-20 Thread Catherine Devlin

New submission from Catherine Devlin fredv8vi...@liquidid.net:

Is there any reason not to include the strftime formatting codes in the 
docstrings of time.strftime and time.strptime? 

 print time.strftime.__doc__
strftime(format[, tuple]) - string

Convert a time tuple to a string according to a format specification.
See the library reference manual for formatting codes. When the time tuple is 
not present, current time as returned by localtime() is used.


Sending users to look up such a basic, frequently-used, hard-to-remember set of 
codes in the docs every single time seems unfriendly.  Even a tightly 
abbreviated list would be very convenient.

--
components: Library (Lib)
messages: 114427
nosy: catherine
priority: normal
severity: normal
status: open
title: format codes in time.strptime docstrings
type: feature request
versions: Python 3.2

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



[issue9650] format codes in time.strptime docstrings

2010-08-20 Thread Brian Curtin

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

+1


These are apparently so commonly looked up that there are even two websites 
dedicated to these options: http://strftime.org/ and http://strfti.me/. Even 
Sauce Labs put the format options on the side of the coffee mugs they handed 
out at PyCon 2010 :)

--
keywords: +easy
nosy: +brian.curtin
stage:  - needs patch

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



[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-08-20 Thread Stefan Behnel

Stefan Behnel sco...@users.sourceforge.net added the comment:

Here's a patch against the latest py3k. The following will call the new code, 
for example:

  str(memoryview(b'abc'), 'ASCII')

whereas bytes and bytesarray continue to use their own special casing code 
(which has also changed a bit since I wanted to avoid code duplication).

For testing, I wrote a short Cython module that implements the buffer protocol 
in an extension type and freshly allocates a new bytes object as buffer on each 
access:

  from cpython.ref cimport Py_INCREF, Py_DECREF, PyObject

  cdef class Test:
  def __getbuffer__(self, Py_buffer* buffer, int flags):
  s = b'abcdefg' * 10
  buffer.buf = char* s
  buffer.obj = self
  buffer.len = len(s)
  Py_INCREF(s)
  buffer.internal = void* s

  def __releasebuffer__(self, Py_buffer* buffer):
  Py_DECREF(objectbuffer.internal)

Put it into a file buftest.pyx, build it, start up Python 3.x and call

 import buftest
 print(len( str(buftest.Test(), ASCII) ))

Under the unpatched Py3, this raises a decoding exception for me when it tries 
to decode data from the deallocated bytes object. Other systems may happily 
crash here. The patched Python runtime prints '70' as expected.

--
keywords: +patch
Added file: 
http://bugs.python.org/file18585/unicodeobject-PyUnicode_FromEncodedObject-buffer.patch

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



[issue9651] ctypes crash when writing zerolength string buffer to file

2010-08-20 Thread André Bjärby

New submission from André Bjärby andre.bja...@gmail.com:

The attached (5 line) file will crash ctypes (Python 2.6.6rc2) with a Floating 
point exception (division by zero at _ctypes.c:2533).

There's no crash with python 2.5.5

--
assignee: theller
components: ctypes
files: test.py
messages: 114430
nosy: andbj, theller
priority: normal
severity: normal
status: open
title: ctypes crash when writing zerolength string buffer to file
type: crash
versions: Python 2.6
Added file: http://bugs.python.org/file18586/test.py

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



[issue9650] format codes in time.strptime docstrings

2010-08-20 Thread Skip Montanaro

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

There is the non-zero cost of keeping two copies of that bit of
information in-sync with each other (and the code).

If I execute pydoc time I get a link to the online module
docs.  It's not there when I execute pydoc time.strftime.
Perhaps pydoc should be modified to always include a link
to the defining module even when the user asked for docs 
for something other than a module.

--
nosy: +skip.montanaro

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



[issue9591] kqueue not reporting EOF under certain circumstances

2010-08-20 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

I presume the first example should have been 
# cat file | ./test.py
or seceond should have been
# ./test.py  test.py
so that test.py gets same input on stdin in either case.

For other readers: kqueue and kevent are bsd-specific functions and classes in 
the select module. In the first output, 32786 (== 1  15) is the EOF flag 
missing in the second output.

I wonder is this is really a python issue. I would expect that kqueue and 
kevent are thin wrappers for the os calls and objects and that python should be 
indifferent to the source of stdin data. You could check the C source. I do not 
know if there are any developers currently familiar with the innards of bsd.

--
nosy: +terry.reedy

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



[issue9608] Re-phrase best way of using exceptions in doanddont.rst

2010-08-20 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

Doc/howto/doanddont.rst is the source for
Python HOWTOs: Idioms and Anti-Idioms in Python
Moshe Zadka original author (added as nosy)

The gist of the patch is to clarify that using 'with' is best, not the non-with 
version that is currently called  both 'best' and 'not very good'. I agreed 
that the current version is confusing and the patch or something like it should 
be applied.

Floris: 2.6 is closed to non-critical patches. 3.3 is for patches that cannot 
be applied sooner.

--
nosy: +moshez, terry.reedy
stage:  - patch review
type: feature request - behavior
versions:  -Python 2.6, Python 3.3

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



[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-08-20 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

Ned, any reason not to close this as a duplicate, with #9227 as superseder?

--
nosy: +terry.reedy

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



[issue843590] 'macintosh' encoding alias for 'mac_roman'

2010-08-20 Thread Amaury Forgeot d'Arc

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


--
keywords: +easy
resolution:  - accepted

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



[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-08-20 Thread Ned Deily

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

Terry, go ahead, I think that's the proper resolution.

--

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



[issue9650] format codes in time.strptime docstrings

2010-08-20 Thread Alexander Belopolsky

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

 Is there any reason not to include the strftime formatting codes
 in the docstrings of time.strftime and time.strptime? 

I believe the reason is that time.strftime behavior is platform dependent, so 
man strftime is likely to produce more relevant documentation than pydoc 
time.strftime.  Python manual 
http://docs.python.org/library/time.html?#time.strftime lists ANSI C codes, 
but warns that Additional directives may be supported on certain platforms, 
but only the ones listed here have a meaning standardized by ANSI C.  It is 
likely that there are platforms where ANSI C subset does not behave in a fully 
compliant manner.

--
nosy: +belopolsky

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



[issue9650] format codes in time.strptime docstrings

2010-08-20 Thread Alexander Belopolsky

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

 there are even two websites dedicated to these options:
 http://strftime.org/ ...

Note the source at one of these sites:

Source: Python’s strftime documentation. :-)

--

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



[issue9618] IDLE shell ignores all but first statement

2010-08-20 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

In interactive mode, multiline statements are terminated with a blank line. 
Your examples lacks that, so the 3rd line is part of the def and lacking the 
proper indent, is indeed a syntax error. You get the same with the standard 
command-line interpreter.
 def f():
... return 42
... f()
  File stdin, line 3
f()
^
SyntaxError: invalid syntax

That said, adding a blank line still gives a syntax error in IDLE, instead of 
ignoring the extra statement, while the interpreter prints 42. IDLE requires an 
explicit blank line from the keyboard to terminate compound statements; pasted 
blank lines do not count #3559 (which I now see you commented on - I should 
have been notified but was not).

I suspect you are correct about the dependency on code.InteractiveConsole(), 
but I have not looked at the IDLE code either.

In the meanwhile, either paste multiple statements in the the real interpreter 
or into an IDLE window and use F5 run.

--
nosy: +terry.reedy
type:  - feature request
versions:  -Python 2.7

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



[issue9622] Allow to set profile/trace function globally

2010-08-20 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
status: open - closed

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



[issue9624] 2755

2010-08-20 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
status: open - pending

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



[issue9632] Remove sys.setfilesystemencoding()

2010-08-20 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
stage:  - patch review
type:  - feature request

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



[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-08-20 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

Are you talking about top-level code within the urllib module or code within 
defined functions. If the former, can you quote or point to the place in the 
file? If the latter, which functions? Just urlopen or others? Does 
urllib2.urlopen have the same issue? (That replaces urllib.urlopen in 3.x).

Having answered the above, please suggest a specific change in a specific place 
in the docs.

--
nosy: +terry.reedy
stage:  - needs patch
versions: +Python 2.7 -Python 2.6

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



[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-08-20 Thread Antoine Pitrou

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

I think the bytearray special-casing should be removed. Otherwise one can 
reallocate the buffer in another thread while it is being used for decoding.

--
nosy: +pitrou
versions:  -Python 2.7

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



[issue7742] please avoid 'which' in Modules/ld_so_aix

2010-08-20 Thread Stefan Krah

Stefan Krah stefan-use...@bytereef.org added the comment:

Sridhar, thanks for the information. /usr/bin/which is a shell script
on Linux, too, but it does not source any config files.

I think the behavior is odd, but as you say, it can be worked around.
In the worst case, one can set the PATH in ~/.cshrc to a sane PATH.

--
resolution:  - wont fix
stage: patch review - committed/rejected
status: open - closed

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



[issue9602] PyObject_AsCharBuffer() should only accept read-only objects

2010-08-20 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
versions:  -Python 2.7

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



[issue9643] urllib2 - Basic, Digest Proxy Auth Handlers failure will give 401 code instead of 407

2010-08-20 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

In 3.x, http_error_auth_reqed is a method of 
urllib.request.AbstractBasicAuthHandler
(20.5.8. AbstractBasicAuthHandler Objects in 3.1 lib manual)

--
nosy: +terry.reedy
stage:  - unit test needed

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



[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-08-20 Thread Kirikaza

Kirikaza kirik...@rambler.ru added the comment:

 Are you talking about ...
I have read no line of code from urllib module. I just try to use 
urllib.urlopen() and I see it uses not only http_proxy but also HTTP_PROXY and 
urlopen() prefers the latter variable.

Let's consider a two-lines sample proxy.py:
import urllib
urllib.urlopen('http://python.org/ftp/').readlines()

Some tests:

$ http_proxy= HTTP_PROXY= proxy.py
['!DOCTYPE HTML ... \n']

$ http_proxy=lower:80 HTTP_PROXY= proxy.py
IOError: invalid proxy for http: 'lower:80'

$ http_proxy= HTTP_PROXY=UPPER:80 proxy.py
IOError: invalid proxy for http: 'UPPER:80'

$ http_proxy=lower:80 HTTP_PROXY=UPPER:80 proxy.py
IOError: invalid proxy for http: 'UPPER:80'

 a specific change in a specific place
place: 20.5.1, paragraph 7 (the only one where *_proxy are discussed)
change: add some words about HTTP_PROXY and maybe about FTP_PROXY

 does urllib2.urlopen ... (in 3.x)
I don't have Python 3.x so I can't say anything.

--

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



[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-08-20 Thread Stefan Behnel

Stefan Behnel sco...@users.sourceforge.net added the comment:

Doesn't the GIL protect the bytearray buffer? Or does decoding free the GIL?

--
versions: +Python 2.7

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



[issue9649] wrong default for sort_keys in json module documentation

2010-08-20 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

In 3.1, and I presume (please check) 2.7, the signature is given as
class json.JSONEncoder(skipkeys=False, ensure_ascii=True, check_circular=True, 
allow_nan=True, sort_keys=False, indent=None, separators=None, default=None) 

I verified by simple experiment that keys are not sorted by default. 
So the later claim If sort_keys is True (the default) is wrong and should be 
corrected. The patch or something much like it should be applied. Thanks for 
catching this error.

--
nosy: +terry.reedy
stage:  - commit review
type:  - behavior
versions: +Python 3.1, Python 3.2

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



[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-08-20 Thread Stefan Behnel

Stefan Behnel sco...@users.sourceforge.net added the comment:

Regardless of the answer, I think Antoine is right, special cases aren't 
special enough to break the rules, and this is a special case that's more 
safely handled as part of the normal buffer case.

Updated patch uploaded.

--
Added file: 
http://bugs.python.org/file18587/unicodeobject-PyUnicode_FromEncodedObject-buffer2.patch

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



[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-08-20 Thread Antoine Pitrou

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

 Doesn't the GIL protect the bytearray buffer? Or does decoding free the GIL?

Well, decoding can call arbitrary Python code and therefore, yes,
release the GIL.

Ironically, PyUnicode_Decode() itself (called from
PyUnicode_FromEncodedObject()) fills a dummy Py_buffer object before
wrapping it into a memoryview... ;)

--

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



[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-08-20 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
resolution:  - duplicate
status: open - closed
superseder:  - can't import Tkinter / use IDLE after installing Python 2.7 on 
Mac OS X

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



[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-08-20 Thread Stefan Behnel

Stefan Behnel sco...@users.sourceforge.net added the comment:

... and another complete patch that refactors the complete function to make it 
clearer what happens. Includes a small code duplication for the bytes object 
case, which I think it acceptable.

--
Added file: 
http://bugs.python.org/file18588/unicodeobject-PyUnicode_FromEncodedObject-buffer-refactored.patch

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



[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2010-08-20 Thread Greg Brockman

Greg Brockman g...@mit.deu added the comment:

Thanks for looking at it!  Basically this patch requires the parent process to 
be able to send a message to a particular worker.  As far as I can tell, the 
existing queues allow the children to send a message to the parent, or the 
parent to send a message to one child (whichever happens to win the race; not a 
particular one).

I don't love introducing one queue per child either, although I don't have a 
sense of how much overhead that would add.

Does the problem make sense/do you have any ideas for an alternate solution?

--

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



[issue2226] Small _abcoll Bugs / Oddities

2010-08-20 Thread Daniel Stutzbach

Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:

3.1 is long gone.  Should this be addressed for 3.2?

--

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



[issue9131] test_set_reprs in test_pprint is fragile

2010-08-20 Thread Daniel Stutzbach

Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:

How do we mark a test as implementation specific?  Is there a decorator for 
that?

--

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



[issue9445] Fix undefined symbol errors on VS8.0 build

2010-08-20 Thread Brian Curtin

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

Your patch works for me on Win7.

I'll put together a patch for the malloc/free thing in your first bullet point.

--

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



[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-08-20 Thread Stefan Behnel

Changes by Stefan Behnel sco...@users.sourceforge.net:


Removed file: 
http://bugs.python.org/file18588/unicodeobject-PyUnicode_FromEncodedObject-buffer-refactored.patch

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



[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-08-20 Thread Stefan Behnel

Stefan Behnel sco...@users.sourceforge.net added the comment:

Another updated patch with a readability fix (replacing the last one).

--
Added file: 
http://bugs.python.org/file18589/unicodeobject-PyUnicode_FromEncodedObject-buffer-refactored.patch

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



[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-08-20 Thread Marc-Andre Lemburg

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

Stefan Behnel wrote:
 
 Stefan Behnel sco...@users.sourceforge.net added the comment:
 
 Another updated patch with a readability fix (replacing the last one).

While you're at it, you might as well remove references to the
char buffer - there's no such thing in Python3 anymore.

We only have read buffers in Python3.

--
nosy: +lemburg

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



[issue9652] Tidy argparse default output

2010-08-20 Thread Tom Browder

New submission from Tom Browder tom.brow...@gmail.com:

I would like to be able to change argparse default strings so the first word is 
capitalized.  In lieu of that, I propose the attached patch to 2.7 which 
changes them in the source code.

--
components: Library (Lib)
files: python-v2.7-argparser-patch.txt
messages: 114455
nosy: Tom.Browder
priority: normal
severity: normal
status: open
title: Tidy argparse default output
type: feature request
versions: Python 2.7
Added file: http://bugs.python.org/file18590/python-v2.7-argparser-patch.txt

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



[issue7415] PyUnicode_FromEncodedObject() uses PyObject_AsCharBuffer()

2010-08-20 Thread Stefan Behnel

Stefan Behnel sco...@users.sourceforge.net added the comment:

When I read the comments and exception texts in the function, it didn't occur 
to me that char buffer could have been used as a name for the old Py2 buffer 
interface. From the context, it totally makes sense to me that the function 
(which decodes a byte sequence into a unicode string) complains about not 
getting a bytes object or char buffer as input. Admittedly, this might sound 
slightly different when read in Python space.

--

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



[issue9653] New default argparse output to be added

2010-08-20 Thread Tom Browder

New submission from Tom Browder tom.brow...@gmail.com:

When I use the argparse module, and I enter my program name with NO arguments 
or options, I would like the argparser to output something like:

Usage: program name [options]
Use option '-h' for help.

I haven't yet found how to do that in the argparse module source code, but I do 
that now in my programs by adding this code near the beginning of the program:

# give rudimentary help if nothing but prog name is entered
import os
# get program name as it is called
pnam = os.path.basename(sys.argv[0])
Use = Usage: {0} [options].format(pnam)
if len(sys.argv) == 1:
print(Use)
print(Use option '-h' for help.)
sys.exit()

--
components: Library (Lib)
messages: 114457
nosy: Tom.Browder
priority: normal
severity: normal
status: open
title: New default argparse output to be added
type: feature request
versions: Python 2.7

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



[issue9653] New default argparse output to be added

2010-08-20 Thread Benjamin Peterson

Changes by Benjamin Peterson benja...@python.org:


--
assignee:  - bethard
nosy: +bethard

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



[issue9212] dict_keys purports to implement the Set ABC, but is missing the isdisjoint method

2010-08-20 Thread Daniel Stutzbach

Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:

Thank you for the patch.

We should only iterate over the shorter set if the longer set is really a set 
and not just a sequence.  PySequence_Contains may take O(n) time on a list, 
making the algorithm an expensive O(n**2) overall.  I note that set_isdisjoint 
doesn't try to examine the lengths.

Also, since PyIter_Next returns NULL to indicate the end of the iteration OR to 
indicate an exception, the end of the function should look like this:

Py_DECREF(it);
if (PyErr_Occurred())
return NULL;
Py_RETURN_TRUE;

Other than those two issues, the patch looks good to me.

--

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



[issue9214] Most Set methods of KeysView and ItemsView do not work right

2010-08-20 Thread Daniel Stutzbach

Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:

The patch looks good to me, too.  The new tests fail without the fix, and pass 
with the fix.

--
assignee: stutzbach - rhettinger
stage: unit test needed - patch review

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



[issue9654] merge PC/getpathp.c into Modules/getpath.c

2010-08-20 Thread Amaury Forgeot d'Arc

New submission from Amaury Forgeot d'Arc amaur...@gmail.com:

The file Modules/getpath.c computes sys.prefix and the initial sys.path.
The Windows version uses its own copy of this file, with a lot of similarities, 
but also non-obvious differences.

I propose to merge both files, this would ease maintenance and understanding of 
how these paths are determined.

--
components: Build
messages: 114460
nosy: amaury.forgeotdarc, brian.curtin
priority: normal
severity: normal
status: open
title: merge PC/getpathp.c into Modules/getpath.c
type: feature request
versions: Python 3.2

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



[issue1043134] mimetypes.guess_extension('text/plain') == '.ksh' ???

2010-08-20 Thread Stefan Krah

Stefan Krah stefan-use...@bytereef.org added the comment:

I think you are closing too aggressively.


Python 3.2a0 (py3k:81783, Jun  6 2010, 16:07:26) 
[GCC 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-23ubuntu3)] on linux2
Type help, copyright, credits or license for more information.
 import mimetypes
 mimetypes.guess_extension('text/plain')
'.ksh'


--
nosy: +skrah
status: pending - open
versions: +Python 3.1, Python 3.2

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



[issue7546] msvc9compiler.py: add .asm extension

2010-08-20 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Could you add tests? There are helpers in distutils2.tests.support than deal 
with temporary files, and we use unittest2 which provides decorators to skip 
the tests on non-Windows.

--
nosy: +eric.araujo
versions: +Python 2.5, Python 2.6, Python 3.1

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



[issue1011113] distutils install with -b / --build-base

2010-08-20 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

(Removing messages since Terry and I discussed distutils bugs triage in private 
email. Thank you Terry for your help.)

--

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



[issue1011113] distutils install with -b / --build-base

2010-08-20 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
Removed message: http://bugs.python.org/msg113011

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



[issue1011113] distutils install with -b / --build-base

2010-08-20 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
Removed message: http://bugs.python.org/msg113025

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



[issue1011113] distutils install with -b / --build-base

2010-08-20 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
Removed message: http://bugs.python.org/msg114463

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



[issue1011113] Make “install” find the buil d_base directory

2010-08-20 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Thanks for the report. distutils does not get new features anymore. This gives 
us time to focus on distutils2, the next generation. Thanks to the configure 
command (#8254), the functionality you require will be easily supported in 
distutils2. I’ll get back to this feature when configure is 100% finished and 
merged into the main repo.

--
assignee: tarek - eric.araujo
components: +Distutils2 -Distutils
dependencies: +write a configure command
resolution:  - remind
title: distutils install with -b / --build-base - Make “install” find the 
build_base directory
type:  - feature request
versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2

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



[issue1589266] bdist_sunpkg distutils command

2010-08-20 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

I suppose we have to reject this request.

For distutils, it is too late, we don’t add new features.

In distutils2, we have removed bdist_rpm and rejected bdist_deb (#1054967), 
with the rationale that OS-specific formats are best made by tools that are 
customized by the OS, play well with policies and other tools, and have a 
shorter release cycle than Python. For the case of Solaris, I gather that there 
are at least five flavors of this OS (well, four if you count OpenSolaris 
dead), each one having various releases. I don’t know the span of the 
differences between versions and flavors, but I guess that it’s a situation 
similar to RPM. Adding to that the lack of contributor agreement, I think we 
won’t add this command to distutils2 either.

Tarek, please correct me if I’m wrong or reject the bug if I’m right.

Holger, sorry your work has to be rejected.

--
assignee:  - tarek
components: +Distutils2 -Distutils
nosy: +eric.araujo
versions:  -Python 3.2

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



[issue1682403] Transform reST to styled text in bdist_wininst-produced installers

2010-08-20 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

I added an item to the todo list of distutils2 so that the current behavior is 
documented: http://bitbucket.org/tarek/distutils2/wiki/Todo

--
components: +Distutils2 -Distutils, Windows
title: docutils clarification request for rest - Transform reST to styled 
text in bdist_wininst-produced installers

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



[issue9620] Python 2.7 IDLE fails on OS X 10.6

2010-08-20 Thread beng umali

beng umali bpum...@gmail.com added the comment:

apologies for the late reply. issue now resolved. thank you.

--

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



[issue7694] DeprecationWarning from build_ext needs stacklevel

2010-08-20 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

This change has been reverted in 2.7 and 3.x, I’ll check distutils2. Thank you.

We should test that warnings stacklevels make sense; it’s on my todo list.

--
assignee: tarek - eric.araujo
components: +Distutils2 -Distutils
nosy: +eric.araujo
title: DeprecationWarning from distuils.commands.build_ext needs stacklevel - 
DeprecationWarning from build_ext needs stacklevel
type:  - behavior
versions:  -Python 2.7

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



[issue7501] python -m unittest path_to_suite_function errors

2010-08-20 Thread James Westby

James Westby jw+deb...@jameswestby.net added the comment:

Hi,

I think this was misdiagnosed:

from unittest.py in 2.6, loadTestFromName:

elif hasattr(obj, '__call__'):
test = obj()
if isinstance(test, TestSuite):
return test
elif isinstance(test, TestCase):
return TestSuite([test])
else:
raise TypeError(calling %s returned %s, not a test %
(obj, test))

so it supports callables, such as the test_suite function that
Rob is passing. Therefore I don't think this is a feature request,
and use load_tests isn't an appropriate resolution.

I haven't checked what 2.7 and later do, but going on the above
my diagnosis of this is the following.

  1. test_suite is correctly identified as a callable
  2. It is called an returns a unittest.TestSuite
  3. It is not matched as being a a TestSuite or a TestCase, and so the error 
is raised.

The reason it is not matched is that when run as -m unittest, the unittest 
module is __main__, and so the TestSuite in the isinstance check is a 
unittest.TestSuite against a __main__.TestSuite, which won't match.

Therefore I think this is a legitimate bug, in at least 2.6.

Thanks,

James

--
nosy: +james-w

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



[issue9572] IOError in test_multiprocessing

2010-08-20 Thread Brett Cannon

Brett Cannon br...@python.org added the comment:

I think what I need to do is greatly simplify the directory creation code in 
set_data and make it much more robust against potential race conditions against 
other Python processes. I think as long as I just stop trying to make a 
directory when it is found to exist this should be okay. Might also want to 
file lock the bytecode file as import.c does through open_exclusive.

--
stage:  - needs patch

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



[issue9131] test_set_reprs in test_pprint is fragile

2010-08-20 Thread Daniel Stutzbach

Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:

Nevermind, I found it: @support.cpython_only

I'll work on a patch to add the decorator and a comment about why the test is 
fragile.

--

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



[issue9131] test_set_reprs in test_pprint is fragile

2010-08-20 Thread Daniel Stutzbach

Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:


--
keywords: +needs review, patch
resolution:  - accepted
stage: needs patch - patch review
Added file: http://bugs.python.org/file18591/issue9131.patch

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



[issue9131] test_set_reprs in test_pprint is fragile

2010-08-20 Thread Daniel Stutzbach

Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:


Removed file: http://bugs.python.org/file18591/issue9131.patch

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



[issue9131] test_set_reprs in test_pprint is fragile

2010-08-20 Thread Daniel Stutzbach

Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:

errr... ignore that first patch (now deleted)

:-)

--
Added file: http://bugs.python.org/file18592/issue9131.patch

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



[issue9131] test_set_reprs in test_pprint is fragile

2010-08-20 Thread Daniel Stutzbach

Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:


Removed file: http://bugs.python.org/file18592/issue9131.patch

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



[issue9131] test_set_reprs in test_pprint is fragile

2010-08-20 Thread Daniel Stutzbach

Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:


Added file: http://bugs.python.org/file18593/issue9131.patch

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



[issue843590] 'macintosh' encoding alias for 'mac_roman'

2010-08-20 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

r84229

--
nosy: +benjamin.peterson
status: open - closed

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



[issue2521] ABC caches should use weak refs

2010-08-20 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org added the comment:

r84230

--
resolution:  - fixed
status: open - closed

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



[issue2521] ABC caches should use weak refs

2010-08-20 Thread Daniel Stutzbach

Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:

Thanks! :-)

--

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



[issue1011113] Make “install” find the buil d_base directory

2010-08-20 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
nosy:  -terry.reedy

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



[issue9648] 2to3 doesn't convert file usage to an open equivalent

2010-08-20 Thread Benjamin Peterson

Changes by Benjamin Peterson benja...@python.org:


--
resolution:  - duplicate
status: open - closed
superseder:  - 2to3 does not convert __builtins__.file

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



[issue7694] DeprecationWarning from build_ext needs stacklevel

2010-08-20 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
nosy:  -terry.reedy

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



[issue9618] IDLE shell ignores all but first statement

2010-08-20 Thread R. David Murray

R. David Murray rdmur...@bitdance.com added the comment:

It seems to me that this bug should be closed as a duplicate of the original 
bug (#3559).  It's the same bug, only the proposed solution is different, 
unless I'm missing something.

--
nosy: +r.david.murray

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



[issue9591] kqueue not reporting EOF under certain circumstances

2010-08-20 Thread Volodymyr Kostyrko

Volodymyr Kostyrko c.kw...@gmail.com added the comment:

Ok, I'll try to ask FreeBSD developers, too bad I'm not that familiar with C to 
write example other way than test if it's a system problem.

--
nosy:  -terry.reedy

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