[issue14004] Distutils filelist selects too many files on Windows

2012-02-14 Thread Nadeem Vawda
Nadeem Vawda added the comment: > The bug is indeed fixed in the latest 2.7 tip: > > PS C:\Users\jaraco\projects\public\keyring> > C:\Users\jaraco\projects\public\cpython\PCbuild\amd64\python.exe setup.py > sdist 2> NULL | findstr .hg >(produces no output) I suspect you forgot to set

[issue13609] Add "os.get_terminal_size()" function

2012-02-14 Thread Zbyszek Szmek
Zbyszek Szmek added the comment: Wouldn't this be quite unwieldy to use: os.get_terminal_size(sys.__stdout__.fileno(), sys.__stdin__().fileno(), sys.__stderr__.fileno()) ? -- ___ Python tracker

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-02-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue13579] string.Formatter doesn't understand the !a conversion specifier

2012-02-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Doc/library/string.rst string.Formatter().format(fmt, 10)needs a couple of changes also. 1. "format(format_string, *args, **kwargs) format() is the primary API method. It takes a format template string," I think 'template' should be removed as we elsewhere (

[issue13020] structseq.c: refleak

2012-02-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've now committed the patch. Thanks for contributing! -- nosy: +pitrou resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python t

[issue13020] structseq.c: refleak

2012-02-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6454e5de7c34 by Antoine Pitrou in branch '3.2': Issue #13020: Fix a reference leak when allocating a structsequence object fails. http://hg.python.org/cpython/rev/6454e5de7c34 New changeset 5e0085d67f65 by Antoine Pitrou in branch 'default': Issue

[issue13015] _collectionsmodule.c: refleak

2012-02-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch now committed, thank you! -- nosy: +pitrou resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.2 ___ Python tracker

[issue13015] _collectionsmodule.c: refleak

2012-02-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 86adb5c7a9d4 by Antoine Pitrou in branch '3.2': Issue #13015: Fix a possible reference leak in defaultdict.__repr__. http://hg.python.org/cpython/rev/86adb5c7a9d4 New changeset 7cfce717ceee by Antoine Pitrou in branch 'default': Issue #13015: Fix a

[issue13089] parsetok.c: memory leak

2012-02-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue13092] pep-393: memory leaks #2

2012-02-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: TextIOWrapper was already fixed, and the offending code in import.c seems to have disappeared. -- nosy: +pitrou resolution: -> out of date status: open -> closed ___ Python tracker

[issue13090] posix_read: memory leak

2012-02-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: I have a hard time believing posix_read in the culprit. Perhaps, on the other hand, that object is "lost" by test_multiprocessing without being decref'ed enough? -- nosy: +pitrou ___ Python tracker

[issue13609] Add "os.get_terminal_size()" function

2012-02-14 Thread Denilson Figueiredo de Sá
Denilson Figueiredo de Sá added the comment: On Tue, Feb 14, 2012 at 22:17, Zbyszek Szmek wrote: > > I have four small questions: > - -1 is used as the argument meaning "try stdout and stdin". > - Why stderr is not checked too? I propose the following solution: accept either an integer or a se

[issue14018] OS X installer does not detect bad symlinks created by Xcode 3.2.6

2012-02-14 Thread Ned Deily
New submission from Ned Deily : Xcode 3.2.6, the most recent release for OS X 10.6 (Snow Leopard), has a subtle but critical bug that affects Python builds using OS X SDKs (--enable-universalsdk=/Developer/SDKs/MacOSX10.?.sdk). The Xcode installer creates faulty symlinks to /Library within /

[issue13609] Add "os.get_terminal_size()" function

2012-02-14 Thread Zbyszek Szmek
Zbyszek Szmek added the comment: > New try (I fixed my email address and the patch). > > The purpose of os.get_terminal_size() is the same as `stty size`, so > `stty size` could be a model for behavior of os.get_terminal_size(). I guess that this fallback will make some things easier. As long i

[issue14014] codecs.StreamWriter.reset contract not fulfilled

2012-02-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue14004] Distutils filelist selects too many files on Windows

2012-02-14 Thread Jason R. Coombs
Jason R. Coombs added the comment: If always using a posix path separator, I recommend using posixpath.join instead of hard-coding the path separator. -- ___ Python tracker ___

[issue14004] Distutils filelist selects too many files on Windows

2012-02-14 Thread Jason R. Coombs
Jason R. Coombs added the comment: The bug is indeed fixed in the latest 2.7 tip: PS C:\Users\jaraco\projects\public\keyring> C:\Users\jaraco\projects\public\cpython\PCbuild\amd64\python.exe setup.py sdist 2> NULL | findstr .hg (produces no output) -- ___

[issue14017] Make it easy to create a new TextIOWrapper based on an existing

2012-02-14 Thread Nick Coghlan
Nick Coghlan added the comment: Updating issue title, since I realised this doesn't work in 3.2 either (the "newline" argument also isn't available for introspection - "newlines" is not the same thing) Possible API signature: _missing = object() def rewrap(self, encoding=_missing, er

[issue14017] io.TextIOWrapper should expose a documented write_through attribute

2012-02-14 Thread Nick Coghlan
New submission from Nick Coghlan : io.TextIOWrapper acquired a new "write_through" argument for 3.3, but that is not exposed as a documented attribute. This is needed so that a text wrapper can be replaced with an equivalent that only alters selected settings (such as the Unicode error handler

[issue14015] surrogateescape largely missing from documentation

2012-02-14 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14001] CVE-2012-0845 Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch looks ok to me. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10287] NNTP authentication should check capabilities

2012-02-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: This issue can now be closed for good. -- status: open -> closed ___ Python tracker ___ ___ Python-

[issue10287] NNTP authentication should check capabilities

2012-02-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset a7f1ffd741d6 by Antoine Pitrou in branch '3.2': Issue #10287: nntplib now queries the server's CAPABILITIES first before sending MODE READER, and only sends it if not already in READER mode. http://hg.python.org/cpython/rev/a7f1ffd741d6 New change

[issue13881] Stream encoder for zlib_codec doesn't use the incremental encoder

2012-02-14 Thread STINNER Victor
STINNER Victor added the comment: See also issue #7475. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue6784] byte/unicode pickle incompatibilities between python2 and python3

2012-02-14 Thread Merlijn van Deen
Changes by Merlijn van Deen : -- nosy: +valhallasw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue14004] Distutils filelist selects too many files on Windows

2012-02-14 Thread Nadeem Vawda
Nadeem Vawda added the comment: I've been able to reproduce this on current builds of 2.7, 3.2 and 3.3. The problem seems to be that distutils.filelist pathnames using the OS directory separator, but the regexps used for matching paths are written to always assume "/"-based paths. I've been ab

[issue10287] NNTP authentication should check capabilities

2012-02-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think the patch is fine. Will apply soon (thanks!) . -- status: closed -> open ___ Python tracker ___ ___

[issue13703] Hash collision security issue

2012-02-14 Thread Jim Jewett
Jim Jewett added the comment: On Mon, Feb 13, 2012 at 3:37 PM, Dave Malcolm added the comment: >  * added comments about the specialcasing of length 0: >    /* >      We make the hash of the empty string be 0, rather than using >      (prefix ^ suffix), since this slightly obfuscates the hash

[issue9127] subprocess.Popen.communicate() and SIGCHLD handlers

2012-02-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: fixed via http://hg.python.org/cpython/rev/767420808a62 -- dependencies: +race condition in subprocess module nosy: +gregory.p.smith ___ Python tracker __

[issue1326113] Letting "build_ext --libraries" take more than one lib

2012-02-14 Thread Eric Snow
Eric Snow added the comment: Ran into this bug today in 2.7 (building python-sybase with freetds). The fix in msg121260 took care of it (didn't try the patch). Thanks, Éric. Is this something that could get patched in the upcoming micro releases? It's not so important for me at this poin

[issue13878] test_sched failures on Windows buildbot

2012-02-14 Thread Nadeem Vawda
Nadeem Vawda added the comment: Ah, I suppose that makes sense. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14002] distutils2 fails to install a package from PyPI on Python 2.7.2

2012-02-14 Thread Paul Moore
Paul Moore added the comment: On 14 February 2012 15:48, Éric Araujo wrote: > > Éric Araujo added the comment: > >> The initial errors look like complaints about existing packages I have >> installed by other means > They’re logging messages, not errors.  They appear because distutils2 scans

[issue14016] Usage of socket.sendall() in multiple threads

2012-02-14 Thread Srikantha Kadur
Srikantha Kadur added the comment: Thanks David, as the last available option i used this tool. -- ___ Python tracker ___ ___ Pytho

[issue13198] Remove duplicate definition of write_record_file

2012-02-14 Thread Paul Moore
Paul Moore added the comment: > Damn, bitten by the use of universal newlines!  I guess I should split on a > literal '\n' instead of calling splitlines.  Could you make that change in > your clone and tell me if it does the trick? Not for a few days, but I'll check when I'm back home --

[issue14016] Usage of socket.sendall() in multiple threads

2012-02-14 Thread R. David Murray
R. David Murray added the comment: This isn't really the place to get help on using python, but no, python doesn't do any implicit locking for you. -- nosy: +r.david.murray resolution: -> invalid status: open -> closed ___ Python tracker

[issue14016] Usage of socket.sendall() in multiple threads

2012-02-14 Thread Srikantha Kadur
New submission from Srikantha Kadur : Here is my code. Func1(): . . CliSock, addr = ServSocket.accept() print 'DataPortServ:Connected by', addr data.DataSendSock = CliSock for cnt in range(data.ThreadCnt): SessionId = start

[issue13997] Clearly explain the bare minimum Python 3 users should know about Unicode

2012-02-14 Thread Jim Jewett
Jim Jewett added the comment: See bugs/python.org/issue14015 for one reason that surrogateescape isn't better known. -- nosy: +Jim.Jewett ___ Python tracker ___ ___

[issue14015] surrogateescape largely missing from documentation

2012-02-14 Thread Jim Jewett
New submission from Jim Jewett : Recent discussion on the mailing lists and in http://bugs.python.org/issue13997 make it clear that the best way to get python2 results for "ASCII-in-the-parts-I-might-process-or-change" is to replace f = open(fname) with f = open(fname, encoding="ascii

[issue13881] Stream encoder for zlib_codec doesn't use the incremental encoder

2012-02-14 Thread R. David Murray
Changes by R. David Murray : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue13881] Stream encoder for zlib_codec doesn't use the incremental encoder

2012-02-14 Thread Andrew McNabb
Andrew McNabb added the comment: It looks like encodings/zlib_codec.py defines a custom IncrementalEncoder and IncrementalDecoder, but its StreamWriter and StreamReader rely on the standard implementation of codecs.StreamWriter and codecs.StreamReader. One solution might be to have zlib_codec

[issue13878] test_sched failures on Windows buildbot

2012-02-14 Thread Charles-François Natali
Charles-François Natali added the comment: Well, it's not really needed, as long as scheduler deals correctly with expired deadlines. -- ___ Python tracker ___ _

[issue14001] CVE-2012-0845 Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-14 Thread Charles-François Natali
Charles-François Natali added the comment: With test. test_xmlrpc has a timeout detection code which is simply broken (and it's actually documented): I just removed it, so if the server loops, the test will block. I think it's acceptable since other tests behave in the same way, and those day

[issue13992] Segfault in PyTrash_destroy_chain

2012-02-14 Thread Charles-François Natali
Charles-François Natali added the comment: I'm running out of ideas to debug this, maybe Antoine or Amaury can help :-) One last idea (not sure it will work though): If Channel's finalizer gets called twice, inside Channel.__del__, you could save a string representation of the current backtrace

[issue14014] codecs.StreamWriter.reset contract not fulfilled

2012-02-14 Thread Jim Jewett
New submission from Jim Jewett : def reset(self): """ Flushes and resets the codec buffers used for keeping state. Calling this method should ensure that the data on the output is put into a clean state, that allows appending of new fresh data without

[issue14010] deeply nested filter segfaults

2012-02-14 Thread Armin Rigo
Armin Rigo added the comment: The issue is a stack exhaustion. Examples can be trivially made for any iterator that takes another iterator as argument: itertools.takewhile(), zip() in Python3, etc. etc. It's just one of many places where CPython does a recursion without checking the recursi

[issue6715] xz compressor support

2012-02-14 Thread Nadeem Vawda
Nadeem Vawda added the comment: > BTW, any plans on a PyPI backport for fun and profit? At present, no. I'll look into it later in the year, but at the moment I don't have the time to work on it - I suspect the parts written in C will require substantial changes to work under 2.x. --

[issue5411] add xz compression support to shutil

2012-02-14 Thread Éric Araujo
Éric Araujo added the comment: a) is #14013; b) is #14011. If Lars agrees to #14013, I will withdraw this patch in favor of another one that would make shutil automatically support all compressors that tarfile supports (my b) point). Note that this is not going to be pain-free, as for exampl

[issue14013] tarfile should expose supported formats

2012-02-14 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +patch Added file: http://bugs.python.org/file24521/add-tarfile.formats.diff ___ Python tracker ___

[issue14013] tarfile should expose supported formats

2012-02-14 Thread Éric Araujo
New submission from Éric Araujo : shutil contains high-level functions to create a zipfile or a tarball. When a new format is added to the tarfile module, then shutil needs to be updated manually. If tarfile exposed the names of the compressors it supports, then shutil could just automatical

[issue14010] deeply nested filter segfaults

2012-02-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch type: -> crash ___ Python tracker ___ ___ Python-bugs-list ma

[issue6715] xz compressor support

2012-02-14 Thread Éric Araujo
Éric Araujo added the comment: BTW, any plans on a PyPI backport for fun and profit? -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue14011] packaging should use shutil archiving functions transparently

2012-02-14 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- components: +Documentation ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue14012] Misc tarfile fixes

2012-02-14 Thread Éric Araujo
New submission from Éric Araujo : I found a few possible bugs in tarfile: - “mode in 'raw'” can give false positives for '' or 'ra'. Most of the code also checks for “len(mode) > 1”, but I find clearer and safer to just use “mode in ('r', 'a', 'w')”. - To use the shadowed builtin “open”, tar

[issue14005] IDLE Crash when running/saving a file

2012-02-14 Thread Roger Serwy
Roger Serwy added the comment: Try running IDLE from a command prompt and report the error message you see. Start a python shell session and run: import idlelib.idle -- nosy: +serwy ___ Python tracker __

[issue14011] packaging should use shutil archiving functions transparently

2012-02-14 Thread Éric Araujo
New submission from Éric Araujo : The packaging commands sdist and bdist can create various kinds of archives. The function used to create them is thankfully just a thin wrapper around shutil.make_archive (extracted from distutils), and sdist also uses shutil.get_archive_formats to validate i

[issue8087] Unupdated source file in traceback

2012-02-14 Thread Jim Jewett
Jim Jewett added the comment: Martin v. Löwis (loewis) wrote: > Displaying a warning whenever the code has changed on disk is > clearly unacceptable As clarified, the request is only for when a traceback is being created (or perhaps even only for when one is being printed). I agree that we

[issue14010] deeply nested filter segfaults

2012-02-14 Thread Alex Gaynor
New submission from Alex Gaynor : http://paste.pocoo.org/show/550884/ will reliably segfault Python3 on all platforms (similar versions for Python2 using itertools work) -- components: Interpreter Core messages: 153344 nosy: alex, benjamin.peterson priority: normal severity: normal stat

[issue14002] distutils2 fails to install a package from PyPI on Python 2.7.2

2012-02-14 Thread Éric Araujo
Éric Araujo added the comment: > The initial errors look like complaints about existing packages I have > installed by other means They’re logging messages, not errors. They appear because distutils2 scans sys.path for egg-info and egg files/dirs and reports invalid versions (per PEP 386).

[issue13491] Fixes for sqlite3 doc

2012-02-14 Thread Éric Araujo
Éric Araujo added the comment: I think you can commit your patch, with our without merging execute_[12].py, as you think best. Then you can do other patches (with or without pre-commit review) to fix or clean up the examples. -- ___ Python tracker

[issue14004] Distutils filelist selects too many files on Windows

2012-02-14 Thread Éric Araujo
Éric Araujo added the comment: This code just got changed (#13193) to use '/' instead of os.path.join, as it is documented that paths in MANIFEST.in must use only '/'. Can you build an up-to-date Python 2.7 from Mercurial and check again? Your report comes timely, as there was some doubt abo

[issue13198] Remove duplicate definition of write_record_file

2012-02-14 Thread Éric Araujo
Éric Araujo added the comment: Damn, bitten by the use of universal newlines! I guess I should split on a literal '\n' instead of calling splitlines. Could you make that change in your clone and tell me if it does the trick? -- ___ Python tracker

[issue13953] Get rid of doctests in packaging.tests.test_version

2012-02-14 Thread Éric Araujo
Éric Araujo added the comment: > Does a "doc test" test the output literally? Yes, that’s the problem. See doctest documentation for more info about how it works and what problems it has. -- ___ Python tracker _

[issue14009] Clearer documentation for cElementTree

2012-02-14 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +patch Added file: http://bugs.python.org/file24519/doc-cET.diff ___ Python tracker ___ ___ Pyth

[issue14009] Clearer documentation for cElementTree

2012-02-14 Thread Éric Araujo
New submission from Éric Araujo : This patch should clarify how to use cElementTree usage, as well as improving indexing. -- assignee: docs@python components: Documentation messages: 153338 nosy: docs@python, eli.bendersky, eric.araujo priority: normal severity: normal stage: commit rev

[issue14001] CVE-2012-0845 Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue8087] Unupdated source file in traceback

2012-02-14 Thread Yuval Greenfield
Changes by Yuval Greenfield : -- nosy: +ubershmekel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14008] Python uses the new source when reporting an old exception

2012-02-14 Thread Florent Xicluna
Changes by Florent Xicluna : -- resolution: -> duplicate status: open -> closed superseder: -> Unupdated source file in traceback ___ Python tracker ___ ___

[issue14001] CVE-2012-0845 Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-14 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14008] Python uses the new source when reporting an old exception

2012-02-14 Thread Yuval Greenfield
New submission from Yuval Greenfield : I ran the following code: import time time.sleep(10) print 1 / 0 And then modified the source before it hit the exception, python prints out the wrong lines from the new source file. e:\Dropbox\dev\python\metricbot>c:\python32\python te

[issue14001] CVE-2012-0845 Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST request

2012-02-14 Thread Jan Lieskovsky
Jan Lieskovsky added the comment: The CVE identifier of CVE-2012-0845 has been assigned to this issue: [3] http://www.openwall.com/lists/oss-security/2012/02/13/4 -- title: Python v2.7.2 / v3.2.2 (SimpleXMLRPCServer): DoS (excessive CPU usage) by processing malformed XMLRPC / HTTP POST

[issue8739] Update to smtpd.py to RFC 5321

2012-02-14 Thread Geoffrey Spear
Changes by Geoffrey Spear : -- nosy: +wooble ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14006] Improve the documentation of xml.etree.ElementTree

2012-02-14 Thread Stefan Behnel
Stefan Behnel added the comment: Oh, and here are the ReST sources of the lxml docs: https://github.com/lxml/lxml/tree/master/doc/ Specifically the tutorial: https://raw.github.com/lxml/lxml/master/doc/tutorial.txt and the parsing part: https://raw.github.com/lxml/lxml/master/doc/parsing.tx

[issue14006] Improve the documentation of xml.etree.ElementTree

2012-02-14 Thread Stefan Behnel
Stefan Behnel added the comment: Both lxml and ElementTree have tutorials: http://effbot.org/zone/element.htm http://lxml.de/tutorial.html Here is another tutorial that may server as a source for an intro: http://infohost.nmt.edu/tcc/help/pubs/pylxml/web/index.html And the general ET docume

[issue9856] Change object.__format__(s) where s is non-empty to a TypeError

2012-02-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-02-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-02-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14006] Improve the documentation of xml.etree.ElementTree

2012-02-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue13706] non-ascii fill characters no longer work in formatting

2012-02-14 Thread Stefan Krah
Stefan Krah added the comment: I'm using ps_AF for testing: $ ./localeconv_wchar ps_AF size of wchar_t: 32 bits decimal_point byte string: "\xd9\xab" (2 bytes) decimal_point wide string: L"\u066b" (1 characters) thousands_sep byte string: "\xd9\xac" (2 bytes) thousands_sep wide string: L"\u066c