[issue10224] Build 3.x documentation using python3.x

2010-10-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: Did you know break building the 3.x documentation with Python 2? If so, please revert that change. -- nosy: +loewis ___ Python tracker ___ __

[issue10198] wave module writes corrupt wav file for zero-length writeframes

2010-10-28 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r85914. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue10226] urlparse example is wrong

2010-10-28 Thread Georg Brandl
Georg Brandl added the comment: I think this is correct: it is the new behavior after the fix for #754016 was committed. -- nosy: +georg.brandl ___ Python tracker ___ _

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: For completeness sake: Apple's Cocoa APIs do not renormalize strings, that is: I've created a file named 'één' in the Terminal, then (using a python 3.2 build): # Terminal input seems NFC: >>> len('één') 3 # Output from os.listdir isn't: >>> os.listdir('.')

[issue10226] urlparse example is wrong

2010-10-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Looks like I've been beaten again by make doctest picking up older python, but something is not right here: In Python 2.6.5: >>> urlparse('www.cwi.nl:80/%7Eguido/Python.html') ParseResult(scheme='www.cwi.nl', netloc='', path='80/%7Eguido/Python.html',

[issue10226] urlparse example is wrong

2010-10-28 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: d...@python -> orsenthil nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10224] Build 3.x documentation using python3.x

2010-10-28 Thread Georg Brandl
Georg Brandl added the comment: In r85910, I ported the Python-specific modules in tools/ so that they don't need to be 2to3-converted. Now you can basically easy_install Sphinx on 3.1 and run its sphinx-build without touching the Doc/ tree. -- __

[issue10226] urlparse example is wrong

2010-10-28 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : The following example in Doc/library/urlparse.rst is wrong >>> urlparse('www.cwi.nl:80/%7Eguido/Python.html') ParseResult(scheme='', netloc='', path='www.cwi.nl:80/%7Eguido/Python.html', params='', query='', fragment='') In the actual output

[issue10224] Build 3.x documentation using python3.x

2010-10-28 Thread Georg Brandl
Georg Brandl added the comment: I fixed that bug in Sphinx rev 49747f5b0c70 (which I will push as soon as bitbucket is up again); incremental build now works for me. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker

[issue10222] 3.2 on AIX - Unexpected text ',' encountered.

2010-10-28 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r85907. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue10147] Python Documentation bugs

2010-10-28 Thread Georg Brandl
Georg Brandl added the comment: I can only repeat myself and point to . -- ___ Python tracker ___ _

[issue10224] Build 3.x documentation using python3.x

2010-10-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Incremental build was not that successful. After editing Doc/faq/programming.rst, I get the following in the error log: # Sphinx version: 1.1pre # Python version: 3.2a3+.0 # Docutils version: 0.7 release # Jinja2 version: 2.5.5 Traceback (most recent c

[issue10217] python-2.7.amd64.msi install fails

2010-10-28 Thread Manfred Bartz
Manfred Bartz added the comment: I uninstalled python and then re-installed it using the same procedure which caused the original problem. This time the install succeeded without any problems. The only explanation I can think of is that either the temporary 32-bit install or the command-line

[issue10217] python-2.7.amd64.msi install fails

2010-10-28 Thread Manfred Bartz
Manfred Bartz added the comment: I ran the install from the command line with: msiexec /i python-2.7.amd64.msi /l*v python.log compresed log attached. The install completed without error dialogs and a superficial test suggests that I have a working python-2.7-64 installation. -- A

[issue6011] python doesn't build if prefix contains non-ascii characters

2010-10-28 Thread Éric Araujo
Éric Araujo added the comment: Of course, first export LANG and LC_ALL to C. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue6011] python doesn't build if prefix contains non-ascii characters

2010-10-28 Thread Éric Araujo
Éric Araujo added the comment: I can’t reliably reproduce it, but here you go: $ pwd /home/wok/python/3.2/sep-build-dir-éric♥ $ ../configure --prefix $PWD [okay] $ make [snip gcc and ar] ranlib libpython3.2m.a gcc -pthread -Xlinker -export-dynamic -o python Modules/python.o libpython3.2m.a -

[issue10186] Invalid SyntaxError pointer offset

2010-10-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: r85904 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue10191] scripts files are not RECORDed.

2010-10-28 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. This is indeed a bug with respect to PEP 376. It would be too difficult to modify shutil (and copy2) to make it return filenames, but thanks to the new copy_function hook it will be easy to store filenames in a list and use that. I’ll ha

[issue10147] Python Documentation bugs

2010-10-28 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file19333/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue10147] Python Documentation bugs

2010-10-28 Thread Éric Araujo
Éric Araujo added the comment: Marc-André: I do recall it being a grammar rule. Take for example the difference between the compound noun “a system call” and the compound noun used as adjective “system-level” (in “a system-level call”). Again, I’m not on a crusade here, just reacting on my g

[issue4032] distutils cannot recognize ".dll.a" as library on cygwin

2010-10-28 Thread Éric Araujo
Éric Araujo added the comment: Okay, let’s reach a conclusion on the other bug before getting back to this one. -- ___ Python tracker ___

[issue10225] Fix doctest runable examples in python manual

2010-10-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Thu, Oct 28, 2010 at 10:20 PM, Éric Araujo wrote: > > How do you replace “make doctest”? $ sphinx-build -b html -d Doc/build3/doctrees -D latex_paper_size= Doc Doc/build3/html but I had to run 2to3 on Doc/conf.py and Doc/tools first. -- _

[issue10225] Fix doctest runable examples in python manual

2010-10-28 Thread Éric Araujo
Éric Araujo added the comment: > hg trunk version [of] sphinx works with python 3.x and can be used to > validate examples in ReST documentation. How do you replace “make doctest”? -- nosy: +eric.araujo ___ Python tracker

[issue10225] Fix doctest runable examples in python manual

2010-10-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- dependencies: +Build 3.x documentation using python3.x ___ Python tracker ___ ___ Python-bugs-lis

[issue10225] Fix doctest runable examples in python manual

2010-10-28 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : As noted in issue 10224, python 3.x documentation is not being built with python 3.x yet, so a simple cd Doc; make doctest does not work. However, hg trunk version os sphinx works with python 3.x and can be used to validate examples in ReST documenta

[issue10093] Warn when files are not explicitly closed

2010-10-28 Thread Brett Cannon
Brett Cannon added the comment: That's what I thought. So if socket.socket() alone is enough to consume an fd then there should be a warning. -- ___ Python tracker ___

[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2

2010-10-28 Thread Anthony Long
Anthony Long added the comment: Patched my installation of python27 (via macports, snow leopard) and the patch was successful. Verified patch works in a limited capacity, using yolk. -- nosy: +antlong ___ Python tracker

[issue9377] socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names

2010-10-28 Thread R. David Murray
R. David Murray added the comment: Looks like we have our first customer (issue 10223). -- nosy: +r.david.murray ___ Python tracker ___ __

[issue10223] socket.gethostname() fail

2010-10-28 Thread R. David Murray
Changes by R. David Murray : -- resolution: rejected -> duplicate stage: -> committed/rejected superseder: -> socket, PEP 383: Mishandling of non-ASCII bytes in host/domain names type: crash -> behavior ___ Python tracker

[issue10220] Make generator state easier to introspect

2010-10-28 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue10220] Make generator state easier to introspect

2010-10-28 Thread Nick Coghlan
Nick Coghlan added the comment: Indeed, the minimal lifecycles are: GEN_CREATED->GEN_CLOSED (exception thrown in before the generator was even started) GEN_CREATED->GEN_RUNNING->GEN_CLOSED (initial next() with internal logic that skips all yields) GEN_CREATED->GEN_RUNNING->GEN_SUSPENDED->GEN_

[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2

2010-10-28 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, loewis, orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-28 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: For backwards compatibility, say with other build configurations (there is still rudimentary support for VS2005, 2003.) -- ___ Python tracker _

[issue10220] Make generator state easier to introspect

2010-10-28 Thread Guido van Rossum
Guido van Rossum added the comment: I take it back. The 4-value state looks better. My initial hesitance was that if you ever see GEN_RUNNING you are probably already in trouble, since you can't call send, next, throw or even close on a running generator (they all throw ValueError), so why are

[issue10210] os.get_exec_path() should not produce any warning

2010-10-28 Thread STINNER Victor
STINNER Victor added the comment: Fixed by r85902. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-

[issue10093] Warn when files are not explicitly closed

2010-10-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If a new, unbound socket uses some form of OS resource, then a warning > is needed. Is their an equivalent limitation like there is with file > descriptors as to how many an OS can possibly have open at once? A socket *is* a file descriptor (under Unix), so,

[issue10093] Warn when files are not explicitly closed

2010-10-28 Thread Brett Cannon
Brett Cannon added the comment: If a new, unbound socket uses some form of OS resource, then a warning is needed. Is their an equivalent limitation like there is with file descriptors as to how many an OS can possibly have open at once? -- ___ Pyth

[issue10220] Make generator state easier to introspect

2010-10-28 Thread Nick Coghlan
Nick Coghlan added the comment: So something like: GEN_CREATED, GEN_ACTIVE, GEN_CLOSED = range(3) def getgeneratorstate(g): """Get current state of a generator-iterator. Possible states are: GEN_CREATED: Created, waiting to start execution GEN_ACTIVE: Currently being executed (o

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue8423] tiger buildbot: test_pep277 failures

2010-10-28 Thread STINNER Victor
STINNER Victor added the comment: > I opened the issue #10209: "Mac OS X: Decompose filenames on encode, > and precompose filenames on decode". It was a bad idea. I fixed test_pep277 instead with: - r85897 disables the filenames that are normalized differently by Python and by darwin - r858

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread STINNER Victor
STINNER Victor added the comment: I now agree with Martin: "Mac OS X: Decompose filenames on encode, and precompose filenames on decode" was a bad idea, fix the test is the right solution. test_pep277 now pass on "x86 Tiger 3.x" buildbot, and so I can close this issue and issue #8423.

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread STINNER Victor
STINNER Victor added the comment: > - r85897 disables the filenames that are normalized differently by Python and > by darwin > - r85899 disables test_normalize and test_listdir tests It looks like r85897 is enough to fix test_pep277 on "x86 Tiger 3.x" buildbot. But r85899 should not make the

[issue6715] xz compressor support

2010-10-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Could you upload the patch to http://codereview.appspot.com/? -- ___ Python tracker ___ ___ Python-b

[issue10222] 3.2 on AIX - Unexpected text ',' encountered.

2010-10-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +sable ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue10217] python-2.7.amd64.msi install fails

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

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread STINNER Victor
STINNER Victor added the comment: > The problem with test_normalize() and test_listdir() of test_pep277 > is maybe that these tests are irrevelant on Mac OS X? I tried a different approach (different than my patch and the svn branch): - r85897 disables the filenames that are normalized differe

[issue10093] Warn when files are not explicitly closed

2010-10-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: I would need opinions on one more thing. The current patch warns when a socket has not been explicitly closed. But it does so even when the socket isn't bound at all. e.g.: $ ./python -c "import socket; socket.socket()" -c:1: ResourceWarning: unclosed Perha

[issue5437] Singleton MemoryError can hold traceback data and locals indefinitely

2010-10-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch with improved tests committed in r85896 (3.2) and r85898 (3.1). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue5437] Singleton MemoryError can hold traceback data and locals indefinitely

2010-10-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: I can't manage to reproduce the issue with PyExc_RecursionErrorInst. It seems this instance is only used in a very select condition, that is, when the recursion limit is hit when trying to "normalize" an exception. Therefore, I will add a test without "fixing

[issue10224] Build 3.x documentation using python3.x

2010-10-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I had some success after running 2to3 on Doc/conf.py and Doc/tools. The build succeeded, but I have not compared the output yet. Running doctest, however, still reported lots of errors and hang in turtle.rst. $ sphinx-build -b doctest -d Doc/build3/d

[issue10224] Build 3.x documentation using python3.x

2010-10-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> d...@python components: +Build, Documentation nosy: +d...@python versions: +Python 3.2 ___ Python tracker ___ _

[issue10224] Build 3.x documentation using python3.x

2010-10-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +eric.araujo, georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue10223] socket.gethostname() fail

2010-10-28 Thread EcmaXp
EcmaXp added the comment: http://bugs.python.org/issue9377 -- resolution: -> rejected status: open -> closed ___ Python tracker ___

[issue10224] Build 3.x documentation using python3.x

2010-10-28 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Opening a ticket to track the progress of getting python 3.x build its own documentation. So far I have installed Sphinx from http://bitbucket.org/birkenfeld/sphinx, but I get the following error: $ sphinx-build -b html -d Doc/build3/doctrees -D late

[issue10223] socket.gethostname() fail

2010-10-28 Thread EcmaXp
New submission from EcmaXp : C:\Users\PC-\Desktop>c:\python31\python Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit (Intel)] on win32 Type “help”, “copyright”, “credits” or “license” for more information. >>> import socket >>> socket.gethostname() Traceback (most recent call

[issue6715] xz compressor support

2010-10-28 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: here's Lib/test/teststring.xz, required by the test suite. -- Added file: http://bugs.python.org/file19407/teststring.xz ___ Python tracker

[issue6715] xz compressor support

2010-10-28 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: here's Lib/test/teststring.lzma, required by the test suite. -- Added file: http://bugs.python.org/file19406/teststring.lzma ___ Python tracker

[issue6715] xz compressor support

2010-10-28 Thread Per Øyvind Karlsen
Per Øyvind Karlsen added the comment: Here's a patch with the latest code generated against py3k branch, it comes with Doc/library/lzma.rst as well now. -- keywords: +patch Added file: http://bugs.python.org/file19405/py3k-lzmamodule.patch ___ Pytho

[issue7061] Improve 24.5. turtle doc

2010-10-28 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- stage: committed/rejected -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue7061] Improve 24.5. turtle doc

2010-10-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Attaching another small doc improvement: "gon" is better know as "grad" and even under that name requires an explanation. See issue7061a.diff -- Added file: http://bugs.python.org/file19404/issue7061a.diff ___

[issue6661] Transient test_multiprocessing failure (test_active_children)

2010-10-28 Thread Sandro Tosi
Sandro Tosi added the comment: well, at least we have a confirmation it's still there :) any idea how we can try to debug it? -- ___ Python tracker ___ _

[issue6661] Transient test_multiprocessing failure (test_active_children)

2010-10-28 Thread Stefan Krah
Stefan Krah added the comment: I've seen that one as well, but very rarely. -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-lis

[issue10186] Invalid SyntaxError pointer offset

2010-10-28 Thread Stefan Krah
Changes by Stefan Krah : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10186] Invalid SyntaxError pointer offset

2010-10-28 Thread Stefan Krah
Stefan Krah added the comment: Hi, I've problems with two recent commits (r85814 and r85817): Example: r85812 is ok: == Python 3.2a3+ (py3k:85812:85835M, Oct 28 2010, 22:02:19) [GCC 4.2.4 (Ubuntu 4.2.4-3ubuntu4)] on linux2 Type "help", "copyright", "credits" or "license" for mor

[issue6661] Transient test_multiprocessing failure (test_active_children)

2010-10-28 Thread Sandro Tosi
Sandro Tosi added the comment: Hello, what can we do with this issue? It doesn't seem it happened again after Antoine's report (or at least no-one had followed it up) and it doesn't happen nowdays (f.e. I exec'd test_multiprocessing in a loop for some time, and no error comes). What do you t

[issue10221] {}.pop('a') raises non-standard KeyError exception

2010-10-28 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: accepted -> stage: commit review -> patch review ___ Python tracker ___ ___ Python-bugs

[issue10217] python-2.7.amd64.msi install fails

2010-10-28 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10222] 3.2 on AIX - Unexpected text ',' encountered.

2010-10-28 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : "Parser/tokenizer.h", line 18.17: 1506-275 (S) Unexpected text ',' encountered. http://svn.python.org/view/python/branches/py3k/Parser/tokenizer.h?annotate=76232#l16 Extra comma in the following line: STATE_NORMAL, /* have a codec associated with inpu

[issue8332] regrtest single TestClass/test_method

2010-10-28 Thread Sandro Tosi
Sandro Tosi added the comment: Hello, as explained in msg108109 (of issue9028) you can actually call a single test, or a single TestClass: $ ./python -m unittest test.test_httpservers.BaseHTTPServerTestCase.test_handler . -- R

[issue10038] json.loads() on str should return unicode, not str

2010-10-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: +1 for fixing this in-tree. We need a patch, though ;) -- nosy: +pitrou ___ Python tracker ___ ___

[issue5437] Singleton MemoryError can hold traceback data and locals indefinitely

2010-10-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Updated patch against py3k. -- Added file: http://bugs.python.org/file19403/memerror.patch ___ Python tracker ___ __

[issue10221] {}.pop('a') raises non-standard KeyError exception

2010-10-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I wonder if it would be worthwhile to unify missing key processing as in issue10221a-with-tests.diff. -- Added file: http://bugs.python.org/file19402/issue10221a-with-tests.diff ___ Python tracker

[issue10221] {}.pop('a') raises non-standard KeyError exception

2010-10-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Attaching a patch with tests. -- keywords: +needs review resolution: -> accepted stage: unit test needed -> commit review Added file: http://bugs.python.org/file19401/issue10221-with-tests.diff ___ Python trac

[issue10221] {}.pop('a') raises non-standard KeyError exception

2010-10-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This is the case where fixing an issue is easier than arguing that it is not a bug. :-) (Changing to "behavior" not because I agree that it is a bug, but for consistency with targeting 2.7) A (1-line) patch attached. -- keywords: +patch stage:

[issue10221] {}.pop('a') raises non-standard KeyError exception

2010-10-28 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10221] {}.pop('a') raises non-standard KeyError exception

2010-10-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: I agree with the OP's request. d.pop(k) is conceptually equivalent to: r = d[k]# raises KeyError(k) del d[k] return r The current message was probably borrowed from dict.popitem(). But that is much different since the dict.pop(k) method is ke

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread STINNER Victor
STINNER Victor added the comment: > My question is rather why it failed in the first place, > when issue8207 had supposedly fixed it. r79426 (of #8207) only disabled some tests. The problem with test_normalize() and test_listdir() of test_pep277 is maybe that these tests are irrevelant on Ma

[issue10207] test_file2k crashes under Windows

2010-10-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed the aforementioned patch (r85892) and this seems to be fixed. Thank you! -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue9295] test_close_open_print_buffered(test_file) sometimes crashes

2010-10-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Apparently it's fixed! -- stage: needs patch -> committed/rejected status: pending -> closed ___ Python tracker ___

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Yes, but not exactly... Mac OS X NFD normalization is a little bit > different than Python's normalization: see msg105669 and > http://developer.apple.com/library/mac/#qa/qa2001/qa1173.html I see. This is one more reason not to convert strings into NFD, no?

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread STINNER Victor
STINNER Victor added the comment: Some pointers. "MacFUSE" http://code.google.com/p/macfuse/issues/detail?id=139#c2 "FILENAME_ENCODING_PROPOSAL" (MacFUSE) http://code.google.com/p/macfuse/wiki/FILENAME_ENCODING_PROPOSAL "Converting to Precomposed Unicode" http://developer.apple.com/library/ma

[issue10221] {}.pop('a') raises non-standard KeyError exception

2010-10-28 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: There have been several requests for KeyError to grow "key" attribute that will always contain the key that caused the error. See issue 1182143, for example. If this is done, I think it would be natural to unify the args as well for empty and non-empy

[issue10220] Make generator state easier to introspect

2010-10-28 Thread Guido van Rossum
Guido van Rossum added the comment: I could imagine separating the state into two parts: - a three-valued enum distinguishing created, active, or exhausted - a bool (only relevant in the active state) whether it is currently running or suspended The latter is just g.gi_running so we don't ne

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread STINNER Victor
STINNER Victor added the comment: > I'd like to see this patch reverted. I created a specific branch to test the patch (I also patched PyUnicode_EncodeFSDefault() and PyUnicode_DecodeFSDefaultAndSize()): issue10209. test_pep277 now pass in this branch! > encoding with NFD should not be neces

[issue10116] Sporadic failures in test_urllibnet

2010-10-28 Thread Georg Brandl
Georg Brandl added the comment: Let's try with the patch. r85893. (I'm afraid the pre-commit hook still rejected the file after applying the patch.) -- nosy: +georg.brandl resolution: -> fixed status: open -> pending ___ Python tracker

[issue9295] test_close_open_print_buffered(test_file) sometimes crashes

2010-10-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hirokazu, I've committed your 2.7 patch in r85892. Let's see what the buildbots say. -- resolution: -> fixed status: open -> pending versions: -Python 2.6 ___ Python tracker ___

[issue9981] let make_buildinfo use a temporary directory on windows

2010-10-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: Why is the second parameter optional? -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10213] tests shouldn't fail with unset timezone

2010-10-28 Thread R. David Murray
R. David Murray added the comment: Indeed, Factory is part of the standard tz (zoneinfo) database, as can be seen on this web page that makes the database browsable: http://twiki.org/cgi-bin/xtra/tzdatepick.html Whether or not a distribution uses Factory initially is of course a distribution

[issue10209] Mac OS X: Decompose filenames on encode, and precompose filenames on decode

2010-10-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'd like to see this patch reverted. I don't think it is useful. 1. encoding with NFD should not be necessary, as the system will do that, anyway. 2. decoding with NFC is incompatible with previous Python releases, and I can't see why NFC is conceptually bet

[issue10221] {}.pop('a') raises non-standard KeyError exception

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

[issue10116] Sporadic failures in test_urllibnet

2010-10-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: committed/rejected -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10202] ftplib doesn't check close status after sending file

2010-10-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Proper behavior for ftplib when sending is to send all desired data, > then call "sock.shutdown(socket.SHUT_RDWR)". This indicates that no > more data will be sent, and blocks until the receiver has > acknowledged all their data. I think you misunderstand.

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-28 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file19399/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-28 Thread Boštjan Mejak
Boštjan Mejak added the comment: Then disable the tracker's ability to post messages via POP/IMAP. Just block those protocols in the tracker and you won't see any gibberish anymore. ;) On Thu, Oct 28, 2010 at 4:05 PM, Éric Araujo wrote: > > Éric Araujo added the comment: > > > Is the trai

[issue10116] Sporadic failures in test_urllibnet

2010-10-28 Thread Stephen Hansen
Changes by Stephen Hansen : Removed file: http://bugs.python.org/file19390/issue10116.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10116] Sporadic failures in test_urllibnet

2010-10-28 Thread Stephen Hansen
Stephen Hansen added the comment: New patch, sans trailing whitespace. Ahem. -- Added file: http://bugs.python.org/file19398/issue10116-nowhitespace.patch ___ Python tracker ___

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-28 Thread Éric Araujo
Éric Araujo added the comment: > Is the trailing whitespace problem solved? You can follow the link to the revision to see that it is. Georg’s message implied this, too. > Please make sure everything is correct and that no more typos occur for this > issue. We do. > And I am the original pa

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-28 Thread Georg Brandl
Georg Brandl added the comment: a) I already removed the whitespace before committing. The pre-commit hook wouldn't even allow committing that. b) I don't think constant refusal to submit a patch in the way we request earns you a place in the acknowledgements. -- __

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-28 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file19397/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue7351] Rename BadZipfile to BadZipFile for consistency

2010-10-28 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file19388/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

  1   2   >