[issue8932] test_capi fails --without-threads

2010-06-09 Thread Stefan Krah
Changes by Stefan Krah : -- keywords: +patch Added file: http://bugs.python.org/file17594/issue8932.patch ___ Python tracker ___ ___ Py

[issue8832] automate minidom.unlink() with a context manager

2010-06-09 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Thank you all. I updated the unittest, and committed this in: revision: 81856 -- stage: -> committed/rejected ___ Python tracker ___ __

[issue8838] Remove codecs.readbuffer_encode() and codecs.charbuffer_encode()

2010-06-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor added the comment: > > r81854 removes codecs.charbuffer_encode() (and t# parsing format) from Python > 3.2 (blocked in 3.1: r81855). > > -- > > My problem with codecs.readbuffer_encode() is that it does accept b

[issue8939] Use C type names (PyUnicode etc;) in the C API docs

2010-06-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor added the comment: > > Big patch: > - replace Python types by C Python types (eg. str => PyUnicodeObject* and > None => Py_None) I was thinking of e.g. "PyUnicode", not "PyUnicodeObject*". > - add quotes to th

[issue8932] test_capi fails --without-threads

2010-06-09 Thread Stefan Krah
Stefan Krah added the comment: Committed in r81857. Blocked for release31-maint (requires additional fixes). -- resolution: -> accepted stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker

[issue8939] Use C type names (PyUnicode etc;) in the C API docs

2010-06-09 Thread STINNER Victor
STINNER Victor added the comment: Le mercredi 09 juin 2010 11:06:25, vous avez écrit : > > - replace Python types by C Python types (eg. str => PyUnicodeObject* > > and None => Py_None) > > I was thinking of e.g. "PyUnicode", not "PyUnicodeObject*". I don't know PyUnicode, only "unicode" (Py

[issue8904] quick example how to fix docs

2010-06-09 Thread Tal Einat
Tal Einat added the comment: AFAIK submitting patches in general is covered well enough in several places. What I'm missing specifically regarding patches for documentation is instructions on how to preview them before submitting them. Editing reST is easy, but making sure you've done it corr

[issue8832] automate minidom.unlink() with a context manager

2010-06-09 Thread Éric Araujo
Éric Araujo added the comment: You forgot to close the bug :) Note that if you write “r” or “revision ”, Roundup will make a link out of it. -- resolution: -> accepted status: open -> closed ___ Python tracker

[issue8952] Doc/c-api/arg.rst: fix documentation of number formats

2010-06-09 Thread STINNER Victor
New submission from STINNER Victor : The documentation of PyArg_Parse*() number formats specify that only int / float / complex are accepted, whereas any int / float / complex compatible object is accepted. "compatible" means that it has an __int__() / __float__() / __complex__() method, or nb

[issue8949] PyArg_Parse*(): "z" should not accept bytes

2010-06-09 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue8923] Remove unused "errors" argument from _PyUnicode_AsDefaultEncodedString()

2010-06-09 Thread STINNER Victor
STINNER Victor added the comment: > Since Python3 fixes the UTF-8 default encoding, it's better > to enhance PyUnicode_AsUTF8String() to cache the UTF-8 > string in the Unicode object Right, that sounds like a great idea. Attached patch implements that: patch PyUnicode_AsUTF8String() and PyUni

[issue8952] Doc/c-api/arg.rst: fix documentation of number formats

2010-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: Yes, most of that paragraph is outdated. We should check exactly what does happen when the "receiving field is too small" (both in practice and in theory). In C, downcasting to an unsigned type is well-defined and will always reduce modulo 2**. The result

[issue8952] Doc/c-api/arg.rst: fix documentation of number formats

2010-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: The other variable of interest here is that some integer formats will accept types with an __index__ method, while others won't. I'm not sure which types fall into each category, right now. -- ___ Python tracker

[issue8939] Use C type names (PyUnicode etc;) in the C API docs

2010-06-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor added the comment: > > Le mercredi 09 juin 2010 11:06:25, vous avez écrit : >>> - replace Python types by C Python types (eg. str => PyUnicodeObject* >>> and None => Py_None) >> >> I was thinking of e.g. "PyUnico

[issue8949] PyArg_Parse*(): "z" should not accept bytes

2010-06-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: "z" should not accept bytes... why not ? "z" is the same as "s" with the addition that passing None as parameter will result in the pointer to get set to NULL. "s" accepts bytes via the buffer interface, so why should "z" behave differently ? If a functio

[issue8923] Remove unused "errors" argument from _PyUnicode_AsDefaultEncodedString()

2010-06-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor added the comment: > >> Since Python3 fixes the UTF-8 default encoding, it's better >> to enhance PyUnicode_AsUTF8String() to cache the UTF-8 >> string in the Unicode object > > Right, that sounds like a great ide

[issue8941] utf-32be codec failing on UCS-2 python build for 32-bit value

2010-06-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Also witnessed on 2.x (UCS-2 build): >>> unicode(b'\x00\x01\x00\x00', 'utf-32be') u'\ud800\u0773' >>> unicode(b'\x00\x00\x01\x00', 'utf-32le') u'\U0001' -- nosy: +haypo, lemburg, pitrou priority: normal -> high title: utf-32be codec failing on 16-b

[issue8941] utf-32be codec failing on UCS-2 python build for 32-bit value

2010-06-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: The following code at the beginning of PyUnicode_DecodeUTF32Stateful is buggy when codec endianness doesn't match the native endianness (not to mention it could also crash if the underlying CPU arch doesn't support unaligned access to 4-byte integers): #ifnd

[issue8941] utf-32be codec failing on UCS-2 python build for 32-bit value

2010-06-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +doerwalter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8949] PyArg_Parse*(): "z" should not accept bytes

2010-06-09 Thread STINNER Victor
STINNER Victor added the comment: Le mercredi 09 juin 2010 13:06:53, vous avez écrit : > "s" accepts bytes via the buffer interface No. "s*" and "s#" do accept any buffer compatible object (including bytes and bytearray), but "s" doesn't. I fixed recently the documentation about that. --

[issue8941] utf-32be codec failing on UCS-2 python build for 32-bit value

2010-06-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a simple patch. A test should be added, though. -- keywords: +patch Added file: http://bugs.python.org/file17596/utf32.patch ___ Python tracker

[issue8939] Use C type names (PyUnicode etc;) in the C API docs

2010-06-09 Thread Éric Araujo
Éric Araujo added the comment: > 1 and 0 were formatted with ``1`` and ``0``. I don't understand why, > so I removed the italic style. This reST construct marks up code. Please revert this change. :) -- nosy: +merwok ___ Python tracker

[issue8941] utf-32be codec failing on UCS-2 python build for 32-bit value

2010-06-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > The following code at the beginning of PyUnicode_DecodeUTF32Stateful is buggy > when codec endianness doesn't match the native endianness (not to mention it > could also crash if the underl

[issue8950] In getargs.c, make 'L' code raise TypeError for float arguments.

2010-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch. Victor, are you interested in reviewing? -- keywords: +patch Added file: http://bugs.python.org/file17597/issue8950.diff ___ Python tracker ___

[issue8949] PyArg_Parse*(): "z" should not accept bytes

2010-06-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor added the comment: > > Le mercredi 09 juin 2010 13:06:53, vous avez écrit : >> "s" accepts bytes via the buffer interface > > No. "s*" and "s#" do accept any buffer compatible object (including bytes and > bytear

[issue8941] utf-32be codec failing on UCS-2 python build for 32-bit value

2010-06-09 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> unit test needed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue8948] cleanup functions are not executed with unittest.TestCase.debug()

2010-06-09 Thread Michael Foord
Michael Foord added the comment: Typo correction in revision 81859. Also needs merging onto py3k. -- ___ Python tracker ___ ___ Python

[issue8950] In getargs.c, make 'L' code raise TypeError for float arguments.

2010-06-09 Thread STINNER Victor
STINNER Victor added the comment: Le mercredi 09 juin 2010 14:24:01, vous avez écrit : > Here's a patch. Victor, are you interested in reviewing? I ran the whole test suite: there is no error. The patch is ok, please commit it in Python 3.2. -- __

[issue8953] Syntax error in http://docs.python.org/library/decimal.html#recipes

2010-06-09 Thread Jean Jordaan
New submission from Jean Jordaan : http://docs.python.org/library/decimal.html#recipes has this code: for i in range(places): build(next() if digits else '0') Mismatched parenthesis. -- assignee: d...@python components: Documentation messages: 107396 nosy: Jean.Jordaan, d.

[issue8953] Syntax error in http://docs.python.org/library/decimal.html#recipes

2010-06-09 Thread Jean Jordaan
Jean Jordaan added the comment: Aargh, sorry, sent too quick :-( -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue8953] Syntax error in http://docs.python.org/library/decimal.html#recipes

2010-06-09 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> invalid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue8954] wininst regression: errors when building on linux

2010-06-09 Thread anatoly techtonik
New submission from anatoly techtonik : 2.5.1 version of distutils was able to correctly build wininst dists from linux. Right now there are errors which I'll describe in more details once I can get some Linux box. -- assignee: tarek components: Distutils messages: 107398 nosy: tarek,

[issue8954] wininst regression: errors when building on linux

2010-06-09 Thread anatoly techtonik
anatoly techtonik added the comment: At least is was reported that compiled binaries contains wrong platform name, i.e. 'linux' and there are errors about inability to look up some compiler options in windows registry while building. -- ___ Python

[issue8954] wininst regression: errors when building on linux

2010-06-09 Thread Brian Curtin
Brian Curtin added the comment: Where was that reported? -- nosy: +brian.curtin stage: -> unit test needed type: -> behavior ___ Python tracker ___

[issue8941] utf-32be codec failing on UCS-2 python build for 32-bit value

2010-06-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a new patch with tests. > I wonder whether it wouldn't be better to preallocate > a Unicode object with size of e.g. size/4 + 16 and > then resize the object as necessary in case a surrogate > pair needs to be created (won't happen that often in > pract

[issue1100942] Add datetime.time.strptime and datetime.date.strptime

2010-06-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I have updated Amaury's patch for py3k. I simplified the test for default date values and fixed a documentation nit. (Time fileds are [4:7], not [4:6]). The result is attached as issue1100942.diff. Note that date.strptime accepts some time specs and t

[issue8947] Provide as_integer_ratio() method to Decimal

2010-06-09 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue8955] import doesn't notice changes to working directory

2010-06-09 Thread James
New submission from James : Attempting to change the working directory and then import based on that change has no effect. Import seems impossible. Attached is tarball example. As seen below, bar1.py can import foo from src, however bar2.py bar3.py and bar4.py cannot, despite their respective

[issue8941] utf-32be codec failing on UCS-2 python build for 32-bit value

2010-06-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > Here is a new patch with tests. > >> I wonder whether it wouldn't be better to preallocate >> a Unicode object with size of e.g. size/4 + 16 and >> then resize the object as necessary in cas

[issue8077] cgi handling of POSTed files is broken

2010-06-09 Thread Guido van Rossum
Guido van Rossum added the comment: The example works for me if I make this change: --- Lib/cgi.py (revision 81862) +++ Lib/cgi.py (working copy) @@ -608,7 +608,7 @@ parser = email.parser.FeedParser() # Create bogus content-type header for proper multipart parsing p

[issue8930] messed up formatting after reindenting

2010-06-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've fixed some in r81860. If you see others, please signal them here. -- ___ Python tracker ___ ___

[issue8949] PyArg_Parse*(): "z" should not accept bytes

2010-06-09 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue8955] import doesn't notice changes to working directory

2010-06-09 Thread R. David Murray
R. David Murray added the comment: This is working as designed. Try printing sys.path in your scripts. It is what's in sys.path that matters, not the cwd. (The cwd is put in the path as "" in the specific case of running the python interactive shell...and in certain applications that embed

[issue5115] Extend subprocess.kill to be able to kill process groups

2010-06-09 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/pyt

[issue8956] Incorrect ValueError message for subprocess.Popen.send_signal() on Windows

2010-06-09 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : def send_signal(self, sig): """Send a signal to the process """ if sig == signal.SIGTERM: self.terminate() elif sig == signal.CTRL_C_EVENT: os.kill(self.pid, signal.CTRL_C_EVENT

[issue8956] Incorrect ValueError message for subprocess.Popen.send_signal() on Windows

2010-06-09 Thread Brian Curtin
Brian Curtin added the comment: Good catch, I forgot to update that message when adding the other signal support. Would you rather see something more generic like "Unsupported signal" rather than start listing all of the signals? Another alternative is to allow any signal through including i

[issue7839] Popen should raise ValueError if pass a string when shell=False or a list when shell=True

2010-06-09 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue2267] datetime.datetime operator methods are not subclass-friendly

2010-06-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I would like to take another shot at this. The link in Amaury's closing comment no longer works, so here is the relevant post: """ Returning same type as self for arithmetic in subclasses Tim Peters tim.peters at gmail.com Sat Jan 8 02:09:27 CET 2005

[issue6457] subprocess.Popen.communicate can lose data from output/error streams when broken input pipe occures

2010-06-09 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue6973] subprocess.Popen.send_signal doesn't check whether the process has terminated

2010-06-09 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I totally agree this should be fixed (there was a similar issue for psutil: http://code.google.com/p/psutil/issues/detail?id=58) but communicate() and wait() should be affected in the same manner. Probably it would make sense to add an is_running() method

[issue1578643] various datetime methods fail in restricted mode

2010-06-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I would like to remove datetime module dependency on time module altogether. For example getting timestamp as a float and later break it into sec/usec just to satisfy time module API looks rather inefficient. -- assignee: -> belopolsky nosy: +

[issue8957] strptime('%c', ..) fails to parse output of strftime('%c', ..) in non-English locale

2010-06-09 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : The following code: import locale, time locale.setlocale(locale.LC_ALL, "fr_FR.UTF-8") t = time.localtime() s = time.strftime('%c', t) time.strptime('%c', s) Raises ValueError: time data '%c' does not match format 'Mer 9 jui 16:14:46 2010' in any lo

[issue8957] strptime('%c', ..) fails to parse output of strftime('%c', ..) in non-English locale

2010-06-09 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Added file: http://bugs.python.org/file17602/strptime-locale-bug.py ___ Python tracker ___ ___ Python-bugs-li

[issue2267] datetime.datetime operator methods are not subclass-friendly

2010-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: If you want to challenge Guido's design decision, I think python-dev would be the place to do it. -- ___ Python tracker ___ ___

[issue7739] time.strftime may hung while trying to open /etc/localtime but does not release GIL

2010-06-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Victor, I understand your last comment as wanting to keep the GIL while calling tzset(), but release it around the strftime() call. You still want to apply your patch, right? I think the problem is not with a concurrent tzset() call, but with another

[issue2267] datetime.datetime operator methods are not subclass-friendly

2010-06-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > If you want to challenge Guido's design decision, I think > python-dev would be the place to do it. Do you have a link supporting that it was "Guido's design decision"? This decision must have been made around class/type unification, but I don't reme

[issue2267] datetime.datetime operator methods are not subclass-friendly

2010-06-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I also believe something needs to be fixed here in any case. Either Date.fromordinal(..) should return date or Date(..) + timedelta(..) should return Date. -- ___ Python tracker

[issue2267] datetime.datetime operator methods are not subclass-friendly

2010-06-09 Thread Mark Dickinson
Mark Dickinson added the comment: > Do you have a link [...] Nope. Just going on Tim's description of it as "Guido's decision". I've no idea of the history, and I don't particularly recall any recent relevant python-dev discussions. -- ___ Pytho

[issue3297] Python interpreter uses Unicode surrogate pairs only before the pyc is created

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.4, Python 2.5, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1193610] Expat Parser to supply document locator in incremental parse

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1193610] Expat Parser to supply document locator in incremental parse

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- priority: high -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue8958] 2.7rc1 tarfile.py: `bltn_open(targetpath, "wb")` -> IOError: Is a directory

2010-06-09 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : 1. Find an OSX 10.5.8 machine 2. wget http://hntool.googlecode.com/files/hntool-0.1.1.tar.gz 3. $ python2.7 -c "import tarfile as T; t=T.open('hntool-0.1.1.tar.gz'); t.extractall()" Traceback (most recent call last): File "", line 1, in File "/Libr

[issue4947] sys.stdout fails to use default encoding as advertised

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.4, Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1856] shutdown (exit) can hang or segfault with daemon threads running

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue5302] Allow package_data globs match directories

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.3 ___ Python tracker ___ ___ Python

[issue3710] Reference leak in thread._local

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue2620] Multiple buffer overflows in unicode processing

2010-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Brett, open and fixed are contradictory? for what version did you reopen this? -- ___ Python tracker ___ ___

[issue1753718] base64 "legacy" functions violate RFC 3548

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue1767511] SocketServer.DatagramRequestHandler

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue2020] _sha256 module missing if openssl is not in a "normal" directory.

2010-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does this 2.5 issue apply to anything current? -- nosy: +tjreedy status: open -> pending ___ Python tracker ___

[issue1739842] xmlrpclib can no longer marshal Fault objects

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed status: open -> closed versions: +Python 2.6 -Python 2.5 ___ Python tracker ___ ___

[issue5302] Allow package_data globs match directories

2010-06-09 Thread Éric Araujo
Éric Araujo added the comment: Terry, I’m undoing your changes. Tarek told me to set these versions, since Distutils2 will be compatible from 2.4 to 3.2. Triaging-ly y’rs ;) -- versions: +Python 2.5, Python 2.6, Python 2.7, Python 3.1 ___ Python tra

[issue2401] Solaris: ctypes tests being skipped despite following #1516

2010-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does this apply to any current version? -- nosy: +tjreedy resolution: -> out of date status: open -> pending ___ Python tracker ___ ___

[issue2148] nis module not supporting group aliases

2010-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this really a bug (discrepancy between nis.cat doc and behavior) or a feature request? -- nosy: +tjreedy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker

[issue2174] xml.sax.xmlreader does not support the InputSource protocol

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker ___ __

[issue2175] Expat sax parser silently ignores the InputSource protocol

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker ___ __

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2010-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are this and the other issues still problems in 2.7 (rc out now) and 3.1? -- nosy: +tjreedy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___

[issue2209] mailbox module doesn't support compressed mbox

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2212] Cookie.BaseCookie has ambiguous unicode handling

2010-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sean, I don't understand 'inline' in this context. -- nosy: +tjreedy versions: -Python 2.5 ___ Python tracker ___ _

[issue2126] BaseHTTPServer.py fails long POST from IE

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2604] doctest.DocTestCase fails when run repeatedly

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.4, Python 2.5, Python 2.6, Python 3.0 ___ Python tracker ___ __

[issue1738] filecmp.dircmp does exact match only

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list ma

[issue1738] filecmp.dircmp does exact match only

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6, Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1874] email parser does not register a defect for invalid Content-Transfer-Encoding on multipart messages

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 3.0 ___ Python tracker ___ ___ Python-

[issue2818] pulldom cannot handle xml file with large external entity properly

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list ma

[issue2840] Expat parser locks XML source file if ContentHandler raises an exception

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list ma

[issue8604] Adding an atomic FS write API

2010-06-09 Thread STINNER Victor
STINNER Victor added the comment: Trac has an AtomicFile class which copies file mode, owner, etc. http://trac.edgewall.org/browser/trunk/trac/util/__init__.py?#L145 -- ___ Python tracker __

[issue2892] improve cElementTree iterparse error handling

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: behavior -> feature request versions: +Python 3.2 -Python 2.5 ___ Python tracker ___ ___ Python-bu

[issue1257] atexit errors should result in nonzero exit code

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.4, Python 2.5, Python 3.0 ___ Python tracker ___ __

[issue2901] "error: can't allocate region" from mmap() when receiving big chunk of data

2010-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please test on 2.6 or better, 2.7 (rc already out) and 3.1 to verify there still is a problem. -- nosy: +tjreedy status: open -> pending ___ Python tracker ___

[issue1730136] tkFont.__eq__ gives type error

2010-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that this change is sensible and verified that it is needed for 3.1 as well. I think it should be applied. -- nosy: +tjreedy stage: -> commit review versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___

[issue1738] filecmp.dircmp does exact match only

2010-06-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: The patch does not apply to py3k branch. -- assignee: -> belopolsky stage: -> needs patch ___ Python tracker ___ ___

[issue3053] test_shutil fails under AIX

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue2657] Curses sometimes fails to initialize terminal

2010-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is this an issue with 2.7 or 3.1? -- nosy: +tjreedy status: open -> pending ___ Python tracker ___ _

[issue8954] wininst regression: errors when building on linux

2010-06-09 Thread anatoly techtonik
anatoly techtonik added the comment: In this SCons thread http://scons.tigris.org/ds/viewMessage.do?dsForumId=1268&dsMessageId=2617686 -- ___ Python tracker ___

[issue8828] Atomic function to rename a file

2010-06-09 Thread STINNER Victor
STINNER Victor added the comment: About the function names: - shutil.atomic_move_file(): only available on some OS - shutil.move_file(): use shutil.atomic_move_file() if available, or fall back to a best effort implementation Implement an atomic function to rename a directory is more complex

[issue8828] Atomic function to rename a file

2010-06-09 Thread STINNER Victor
STINNER Victor added the comment: [atomic_move_file-windows.py]: implementation of atomic_move_file() for Windows, depends on CreateTransaction() and MoveFileTransacted(), only available on Windows Vista, Windows Server 2008, or more recent version. This function *is* atomic. This function i

[issue8784] tarfile/Windows: Don't use mbcs as the default encoding

2010-06-09 Thread STINNER Victor
STINNER Victor added the comment: I created a TAR archive with the 7-zip archiver of file with diacritics in their name (eg. "é" and "à"). Then I opened the archive with WinRAR: the file names were not displayed correctly :-/ 7-zip encodes "à" (U+00e0) as 0x85 (1 byte), and "é" (U+00e9) as 0x

[issue665194] datetime-RFC2822 roundtripping

2010-06-09 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: -1 on adding more formatting/parsing methods to datetime. +1 on adding functions to email.utils that work with datetime objects. Adding #5094 as a dependency because RFC 2822 requires timezone information for proper formatting. -- dependencies:

[issue3129] struct allows repeat spec. without a format specifier

2010-06-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified that 3.1 has same behavior. Doc says format strings "are built up from format characters" which "may be preceded by an integral repeat count". So I agree that such formats are bugs that should be reported and that ignoring repeat counts of nothing

  1   2   >