[issue3265] Python-2.5.2/Modules/_ctypes/malloc_closure.c:70: error: `MAP_ANONYMOUS' undeclared

2009-03-17 Thread Adam Goode
Adam Goode added the comment: Issue #5504 shows a possibly more future proof way to fix this issue. -- nosy: +agoode ___ Python tracker ___ __

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

2009-03-17 Thread Adam Goode
New submission from Adam Goode : On Fedora systems, it is invalid to mmap something with PROT_WRITE and PROT_EXEC. libffi has been updated to support this, but ctypes has not been updated to use this new functionality. Attached is a patch which currently only works if system libffi is used. Thou

[issue5381] json needs object_pairs_hook

2009-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Bob would you please take a look at the attached patch. -- assignee: rhettinger -> bob.ippolito priority: normal -> high Added file: http://bugs.python.org/file13362/json_hook.diff ___ Python tracker

[issue5232] Setting font from preference dialog in IDLE on OS X broken

2009-03-17 Thread Brad Miller
Brad Miller added the comment: I get the same problem when I try to change the key set. This is on on intel build using Tk 8.5, and the latest 3.1 source checked out with bzr. I too changed the order of /Library/Frameworks and /System/Library/Frameworks in setup.py A simple fix for me wa

[issue1520662] support all of strftime(3)

2009-03-17 Thread David W. Lambert
David W. Lambert added the comment: (I have no clue where the servers are.) -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue5503] multiprocessing/connection.py wrong pipe name under win32

2009-03-17 Thread jq
New submission from jq : def arbitrary_address(family): elif family == 'AF_PIPE': return tempfile.mktemp(prefix=r'\\.\pipe\pyc-%d-%d-' % (os.getpid(), _mmap_counter.next())) #works after removed tempfile.mktemp return r'\\.\pipe\pyc-%d-%d-' % (o

[issue1520662] support all of strftime(3)

2009-03-17 Thread David W. Lambert
David W. Lambert added the comment: (with similar links for strpfime). These are reasons a patch may be worth while: x difficult to work around using ctypes module with c library. x help(strftime) advises the programmer to see the reference manual for formatting codes. x Searching bugs.py

[issue5381] json needs object_pairs_hook

2009-03-17 Thread Raymond Hettinger
Changes by Raymond Hettinger : Removed file: http://bugs.python.org/file13244/json_ordered.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue5502] io-c: TextIOWrapper is faster than BufferedReader but not protected by a lock

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: I wrote a short script to test TextIOWrapper.readline() with 32 threads. After 5 seconds, I found this issue in Python trunk (2.7): Exception in thread Thread-26: Traceback (most recent call last): File "/home/SHARE/SVN/python-trunk/Lib/threading.py", line 5

[issue5374] optparse special usage tokens conflict with formatting characters

2009-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think this patch should be applied for two reasons. First, this is just a general comment on % formatting that could apply everywhere % formatting is used (the correct place for it is in docs for % formatting). Second, it has become a non-issue with

[issue1520662] support all of strftime(3)

2009-03-17 Thread David W. Lambert
David W. Lambert added the comment: http://linux.die.net/man/3/strftime or this link may be in USA, if you care: http://www.manpagez.com/man/3/strftime/ -- nosy: +LambertDW ___ Python tracker _

[issue4194] default subprocess.Popen buffer size

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: The strange performance between bytes/text (BufferedReader/TextIOWrapper) may be explained by the issue #5502. -- ___ Python tracker ___ __

[issue5502] io-c: TextIOWrapper is faster than BufferedReader but not protected by a lock

2009-03-17 Thread STINNER Victor
New submission from STINNER Victor : TextIOWrapper.readline() is much faster (eg. 72 ms vs 95 ms) than BufferedReader.readline(). It's because BufferedReader always acquires the file lock, whereas TextIOWrapper only acquires the file lock when the buffer is empty. I would like a BufferedReade

[issue4194] default subprocess.Popen buffer size

2009-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: I just wanna say that buffering can be a problem when writing, but not when reading. If you read() from a buffered file, you still get the available contents immediately, you don't have to wait for the buffer to be full. -- nosy: +pitrou __

[issue1520662] support all of strftime(3)

2009-03-17 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: I'd be happy to look at this. Would you be able to detail what is missing for me, so that it is easier for me to get to grips with what is involved? I'm not intimately familiar with all of the functionality of these modules, so if you are able to detail w

[issue4136] merge json library with latest simplejson 2.0.x

2009-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: It might not be bad. I read through the patch a saw that it uses only the most basic C APIs and already has unicode aware sections. It may be a matter of switching the PyString functions. Will look at it in more detail later this week. Fortunately, there

[issue4358] Segfault in stringobject.c

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: farshad: Is the bug still open? If yes, can you give more informations? If you don't answer, I will have to close this issue because it's not possible find the bug with so few informations :-/ -- ___ Python tracker

[issue4034] traceback attribute error

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: Ping. benjamin.peterson's patch fixes the very strange issue, and I would like to see it upstream. About clearing the frame/traceback, it's another issue (#1565525). -- ___ Python tracker

[issue3022] mailbox module, two small fixes

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: Ping. Nobody is interested by the patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5374] optparse special usage tokens conflict with formatting characters

2009-03-17 Thread Andy Buckley
Andy Buckley added the comment: Sorry, browser error last time. Should work now (fingers crossed). -- keywords: +patch Added file: http://bugs.python.org/file13360/optparse-prog-escape.patch ___ Python tracker

[issue5374] optparse special usage tokens conflict with formatting characters

2009-03-17 Thread Andy Buckley
Andy Buckley added the comment: Doc patch for Doc/library/optparse.rst attached. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue4136] merge json library with latest simplejson 2.0.x

2009-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Reopening so that we don't forget to merge it in py3k :) (I have the feeling it won't be trivial, although I hope to be proven wrong) -- status: closed -> open versions: -Python 2.7 ___ Python tracker

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: Comments about my own patches. unicode_width.patch: * error messages should be improved: ValueError("Unable to compute string width") for Windows IOError(strerror(errno)) otherwise adjust_offset.patch: * format_exception_only() from Lib/traceback.py ma

[issue4136] merge json library with latest simplejson 2.0.x

2009-03-17 Thread Bob Ippolito
Bob Ippolito added the comment: r70443 in trunk -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2009-03-17 Thread STINNER Victor
Changes by STINNER Victor : Added file: http://bugs.python.org/file13359/print_exception.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2009-03-17 Thread STINNER Victor
Changes by STINNER Victor : Added file: http://bugs.python.org/file13358/adjust_offset.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2009-03-17 Thread STINNER Victor
Changes by STINNER Victor : Added file: http://bugs.python.org/file13357/unicode_width.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: For an easier review, I splitted my patch in multiple small patches: - unicode_utf8size.patch: create _PyUnicode_UTF8Size() function: Number of bytes needed to encode the unicode character as UTF-8 - unicode_width.patch: create PyUnicode_Width(): Number of co

[issue5481] Expand Decimal.__format__() support to include "n"

2009-03-17 Thread Mark Dickinson
Mark Dickinson added the comment: Closing as duplicate of issue 2110. -- resolution: -> duplicate status: open -> closed superseder: -> Implement __format__ for Decimal ___ Python tracker

[issue2110] Implement __format__ for Decimal

2009-03-17 Thread Mark Dickinson
Mark Dickinson added the comment: Committed, r70439 and r70440. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue2170] rewrite of minidom.Node.normalize

2009-03-17 Thread Malte Helmert
Malte Helmert added the comment: I removed my original patch which has been superseded by David's patch. David, I suggest that you also remove test_minidom.patch which is superseded by your later patch (see http://bugs.python.org/msg77766 for policy on this). -- __

[issue5474] distutils produces invalid RPM packages of prerelease python packages

2009-03-17 Thread Rudd-O
Rudd-O added the comment: I am considering some changes in the auto-dependency part of the patch. Keep tuned. -- ___ Python tracker ___ _

[issue2170] rewrite of minidom.Node.normalize

2009-03-17 Thread Malte Helmert
Changes by Malte Helmert : Removed file: http://bugs.python.org/file9513/minidom.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue2170] rewrite of minidom.Node.normalize

2009-03-17 Thread Malte Helmert
Malte Helmert added the comment: While we're cleaning up: data = child.data if not data: could be if not child.data: since data is not used again. Alternatively, you could use data in place of child.data later on for a small speed-up, but I doubt that we care about such sma

[issue4136] merge json library with latest simplejson 2.0.x

2009-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Bob, please go ahead and commit. I don't see any advantage to letting the code continue sit in the tracker. Also, having it in will let me go forward with issue 5381 which has been held-up until this was complete. Thanks for all your work on JSON. ---

[issue4136] merge json library with latest simplejson 2.0.x

2009-03-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: The patch in its current form is fine with me, please apply (OTOH, I don't see the need for urgency - 2.7 is still many months away, and likely, we will see another update to the same code before it gets released) -- __

[issue4136] merge json library with latest simplejson 2.0.x

2009-03-17 Thread Bob Ippolito
Bob Ippolito added the comment: All of the comments are addressed. I am not going to go through the trouble of creating a new patch to remove the remaining backwards compatibility cruft in the C code and struct function. That is easier to remove later. -- ___

[issue4136] merge json library with latest simplejson 2.0.x

2009-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, if Bob has addressed all of Martin's comments, I suppose it can get in. The second step will be to port it to py3k... -- ___ Python tracker __

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-17 Thread Tennessee Leeuwenburg
Changes by Tennessee Leeuwenburg : Added file: http://bugs.python.org/file13355/strptime_patch_v2.txt ___ Python tracker ___ ___ Python-bugs-li

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-17 Thread Tennessee Leeuwenburg
Tennessee Leeuwenburg added the comment: Thanks for the comments all and sorry for the delay -- life! -- ___ Python tracker ___ ___ Py

[issue5236] time.strptime should reject bytes arguments on Py3

2009-03-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Please remove the whitespace changes in the patch (around "_cache_lock"). Otherwise it is good. -- nosy: +amaury.forgeotdarc ___ Python tracker _

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: Proof of concept of patch fixing this issue: - parse_syntax_error() reads the text line into a PyUnicodeObject* instead of a "const char**" - create utf8_to_unicode_offset(): convert byte offset to a number of characters. The Python version should be somethi

[issue2110] Implement __format__ for Decimal

2009-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: The tests you submitted are reassuring. I think you should go ahead and commit this. -- resolution: -> accepted ___ Python tracker ___

[issue4015] [patch] make installed scripts executable on windows

2009-03-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I sometimes use this trick on Windows: name the script with a .bat extension, and put these lines on top of the file: @echo off rem = """ rem run python on this bat file. rem The -x causes python to skip the first line of the file: c:\path\to\python -x %

[issue2110] Implement __format__ for Decimal

2009-03-17 Thread Mark Dickinson
Mark Dickinson added the comment: New version of decimal_n_format.patch, with support for the thousands separator (PEP 378). As discussed on python-dev, during zero-padding the patched code adds an extra '0' on the left to avoid a leading ',' if necessary. For example: >>> format(Decimal('

[issue5391] mmap: read_byte/write_byte and object type

2009-03-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Oh, I though that the question was about bytes vs str :-/ Ocean-city > and I prefer the solution (a). And you Martin? I also think that ints should be used to represent individual bytes. However, your list of alternatives is incomplete: we *could* also cha

[issue5391] mmap: read_byte/write_byte and object type

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: > How does that answer the question? We know what data type to > use for multiple bytes - but what data type should be used > for a single byte? Hum, what was the question? :-) Quote of my email: « About m.read_byte(), we have two choices: (a) Py_BuildValue

[issue2531] float compared to decimal is silently incorrect.

2009-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Imri, I don't think the 3.0 model for cross-type comparisons can be backported without breaking code, so it probably isn't going to happen. The whole purpose of the 3.x series was to allow improvements that weren't backwards compatible. Mark, this raises a

[issue5499] only accept byte for getarg('c') and unicode for getarg('C')

2009-03-17 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto : -- nosy: +ocean-city ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue5391] mmap: read_byte/write_byte and object type

2009-03-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: STINNER Victor wrote: > STINNER Victor added the comment: > > Le Tuesday 17 March 2009 14:39:59 Hirokazu Yamamoto, vous avez écrit : >> Well, there is no conclusion which of your choices (a or b) is preferred. > > Guido just wrote in other mail thread (py3k:

[issue5500] tarfile: path problem in arcname under windows

2009-03-17 Thread Martin v. Löwis
Martin v. Löwis added the comment: Lars, what do you think? -- assignee: -> lars.gustaebel nosy: +lars.gustaebel, loewis ___ Python tracker ___ _

[issue2531] float compared to decimal is silently incorrect.

2009-03-17 Thread Imri Goldberg
Imri Goldberg added the comment: This behavior also exists in Python 2.6. However, in Python 3 an exception is raised instead, as these kinds of comparisons are considered incorrect. Because of that, I'd like Python 3's behavior of raising exceptions on float-decimal comparisons to be backported

[issue5501] Update multiprocessing docs re: freeze_support

2009-03-17 Thread Jesse Noller
Changes by Jesse Noller : -- assignee: georg.brandl -> jnoller ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue5501] Update multiprocessing docs re: freeze_support

2009-03-17 Thread Brandon Corfman
New submission from Brandon Corfman : Indicate in docs whether freeze_support() can be called without issues on Unix or OS X, so the user knows whether they can have a single code base that works correctly on all platforms. -- assignee: georg.brandl components: Documentation messages: 83

[issue2170] rewrite of minidom.Node.normalize

2009-03-17 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file13349/issue2170.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue2170] rewrite of minidom.Node.normalize

2009-03-17 Thread R. David Murray
R. David Murray added the comment: Added several more tests, to validate the sibling link code more, and fixed the bug. -- Added file: http://bugs.python.org/file13352/issue2170.patch ___ Python tracker ___

[issue5391] mmap: read_byte/write_byte and object type

2009-03-17 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: Ah, no, this should not be backported to 3.0. Martin saids so in msg82904, and I agreed. -- ___ Python tracker ___ __

[issue5499] only accept byte for getarg('c') and unicode for getarg('C')

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: unicode methods center(), ljust(), rjust() use a callback (convert_uc) to get an unicode character (unicode string of 1 character). If 'C' is fixed, convert_uc() callback can be removed. -- ___ Python tracker

[issue5410] msvcrt bytes cleanup

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: Patch implementing my proposition (depends on issue5499). -- Added file: http://bugs.python.org/file13351/msvcrt_wchar.patch ___ Python tracker

[issue5410] msvcrt bytes cleanup

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: > msvcrt.ungetwch() calls _ungetch not _ungetwch ... are you sure that someone already used these functions? :-) If you suppose that issue5499 is fixed, you can leave msvcrt_putch() and msvcrt_ungetch unchanged and use "C" format in msvcrt_ungetwch() ("Py_UN

[issue5391] mmap: read_byte/write_byte and object type

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: Le Tuesday 17 March 2009 14:39:59 Hirokazu Yamamoto, vous avez écrit : > Well, there is no conclusion which of your choices (a or b) is preferred. Guido just wrote in other mail thread (py3k: accept unicode for 'c' and byte for 'C' in getarg?): "Yeah, mmap

[issue2170] rewrite of minidom.Node.normalize

2009-03-17 Thread R. David Murray
R. David Murray added the comment: You are absolutely right. I will write a test case and fix the patch. -- ___ Python tracker ___ __

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-03-17 Thread Neyro
Neyro added the comment: @vsajip thank you very much for correcting me. I always thought that since I was not using that FileHandler it didn't count, as if the handler was not created. Now I see that there are no reasons for the config loader to ignore it, especially since it is declared in the

[issue2170] rewrite of minidom.Node.normalize

2009-03-17 Thread Malte Helmert
Malte Helmert added the comment: I eyeballed the new patch and wonder if the case where text nodes are collapsed is handled correctly. Assume that self.childNodes contains nodes [A, B, C], where A and B are non-empty text nodes and C is a non-text node. The algorithm would collapse A and B into

[issue5500] tarfile: path problem in arcname under windows

2009-03-17 Thread Elijah Merkin
New submission from Elijah Merkin : Tested on Python 2.5.4. 1. Use tarfile.open("fname", "w|gz") to create an archive. 2. Add a file using TarFile.add(name, arcname=None, recursive=True, exclude=None) by specifying 2 params: absolute path to a source file as 'name' and something containing one o

[issue5353] Improve IndexError messages with actual values

2009-03-17 Thread R. David Murray
R. David Murray added the comment: This issue was discussed two years ago in this thread: http://mail.python.org/pipermail/python-list/2006-December/588224.html Most of the messages under that subject are noise about politeness or lack thereof (including a post by the submitter of this issue t

[issue5391] mmap: read_byte/write_byte and object type

2009-03-17 Thread Hirokazu Yamamoto
Hirokazu Yamamoto added the comment: >In the python-dev thread, most people agree to use bytes in mmap. Did >anyone reviewed the patch? Well, there is no conclusion which of your choices (a or b) is preferred. http://www.nabble.com/What-type-of-object-mmap.read_byte-should-return-on-py3k--tt22

[issue5391] mmap: read_byte/write_byte and object type

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: In the python-dev thread, most people agree to use bytes in mmap. Did anyone reviewed the patch? Can you commit it to py3k than then to the 3.0 branch? -- ___ Python tracker

[issue5499] only accept byte for getarg('c') and unicode for getarg('C')

2009-03-17 Thread STINNER Victor
New submission from STINNER Victor : To avoid byte/character mixture, getarg('c') must only accept a byte string of 1 byte and getarg('C') only an unicode string of 1 character. Impacted methods: - datetime.datetime.isoformat(sep), array.array(type, data): don't accept byte anymore - msvcrt.p

[issue2066] Adding new CNS11643, a *huge* charset, support in cjkcodecs

2009-03-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 2009-03-17 13:30, Hye-Shik Chang wrote: > Hye-Shik Chang added the comment: > > When I asked Taiwanese developers how often they use these character > sets, it appeared that they are almost useless in the usual computing > environment in Taiwan. This w

[issue2170] rewrite of minidom.Node.normalize

2009-03-17 Thread R. David Murray
R. David Murray added the comment: Er, I meant to say, "as easy to understand" as the proposed patch. -- ___ Python tracker ___ ___ Py

[issue2170] rewrite of minidom.Node.normalize

2009-03-17 Thread R. David Murray
R. David Murray added the comment: I checked the speed of the proposed patch, and found that it was definitely slower than the original code. So I took another look at the original, and refactored it in a different way: instead of moving the sibling relinking into a second pass, I changed to co

[issue2066] Adding new CNS11643, a *huge* charset, support in cjkcodecs

2009-03-17 Thread Hye-Shik Chang
Hye-Shik Chang added the comment: When I asked Taiwanese developers how often they use these character sets, it appeared that they are almost useless in the usual computing environment in Taiwan. This will only serve for a historical compatibility and literal standard compliance. I'm quite neu

[issue2066] Adding new CNS11643, a *huge* charset, support in cjkcodecs

2009-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le mardi 17 mars 2009 à 10:56 +, Marc-Andre Lemburg a écrit : > +1 > > As mentioned several times on the ticket: static C data is not really > something to worry about these days. Well, I suggest that someone familiar with the codec-building machinery do t

[issue3565] array documentation, method names not 3.0 compliant

2009-03-17 Thread Matt Giuca
Matt Giuca added the comment: Note that, irrespective of the changes to the library itself, the documentation is out of date since it still uses the old "string/unicode" nomenclature, rather than the new "bytes/string". I have provided a separate documentation patch which should be applicable wi

[issue3446] center, ljust and rjust are inconsistent with unicode parameters

2009-03-17 Thread STINNER Victor
STINNER Victor added the comment: About Python3, bytes.center accepts unicode as second argument, which is an error for me: >>> b"x".center(5, b"\xe9") b'\xe9\xe9x\xe9\xe9' >>> b"x".center(5, "\xe9") b'\xe9\xe9x\xe9\xe9' The second example must fail with a TypeError. str.center has the right

[issue2066] Adding new CNS11643, a *huge* charset, support in cjkcodecs

2009-03-17 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue3565] array documentation, method names not 3.0 compliant

2009-03-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: It would be nice to deprecate the old names in 3.1 and remove them in 3.2, but I think it should get approval on python-dev. -- assignee: georg.brandl -> ___ Python tracker ___

[issue5498] Can SGMLParser properly handle tags?

2009-03-17 Thread once-off
New submission from once-off : The attached script (sgml_error.py) was designed to output XML files unchanged, other than expanding tags into an opening and closing tag, such as . It seems the SGMLParser class recognizes an empty tag, but does not emit the closing tag until the NEXT forward sla

[issue4749] Issue with RotatingFileHandler logging handler on Windows

2009-03-17 Thread Vinay Sajip
Vinay Sajip added the comment: Neyro, your problem is caused by having two handlers (a FileHandler and a RotatingFileHandler) pointing to the same file. Because of this, rollover fails (the file is still open because there is a handle open to it from the FileHandler). If you remove the FileH

[issue2066] Adding new CNS11643, a *huge* charset, support in cjkcodecs

2009-03-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 2009-03-14 02:32, Antoine Pitrou wrote: > Antoine Pitrou added the comment: > > Based on the feedback above, it seems this should be committed, > shouldn't it? +1 As mentioned several times on the ticket: static C data is not really something to worry

[issue3565] array documentation, method names not 3.0 compliant

2009-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Benjamin, do you think this should be fixed in 3.1? -- nosy: +benjamin.peterson, pitrou ___ Python tracker ___ _

[issue5494] Failure in test_httpservers on Linux

2009-03-17 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- resolution: -> invalid status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailin

[issue5139] Add combinatoric counting functions to the math module.

2009-03-17 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue2110] Implement __format__ for Decimal

2009-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Mark, this looks fine. Can you add support for PEP 378? -- assignee: rhettinger -> marketdickinson ___ Python tracker ___ __