[issue5729] Allows tabs for indenting JSON output

2010-10-15 Thread Bob Ippolito
Bob Ippolito added the comment: Sorry but I don't think I will be able to. I'd be happy to accept patches into simplejson that make it easier to merge with Python 3 in the future, but I simply do not have the time to maintain the Python 3 branch of the code that we don't use. -- ___

[issue10058] C-API Intro should be more explicit about error return codes

2010-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Assuming it is true, the rewrite strikes me as an improvement. -- ___ Python tracker ___ ___ Python

[issue6014] No shell prompt when a graphics window that was started from IDLE is closed

2010-10-15 Thread Ned Deily
Changes by Ned Deily : -- nosy: -BreamoreBoy resolution: -> invalid status: open -> closed ___ Python tracker ___ ___ Python-bugs-lis

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-15 Thread Ned Deily
Ned Deily added the comment: Looks like the "exit" callback will work for IDLE but there are the usual edge cases and odd differences among the various branches and build options to work through and fix up. Patch forthcoming. -- ___ Python tracker

[issue10116] Sporadic failures in test_urllibnet

2010-10-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Issue10119 is related too and both I guess, is boiling down to httplib either not properly using an open socket or closing it prematurely. -- ___ Python tracker

[issue9997] function named 'top' gets unexpected namespace/scope behaviour

2010-10-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: r85562. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-15 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10119] test_urllibnet failure when using support.transient_internet

2010-10-15 Thread Senthil Kumaran
New submission from Senthil Kumaran : I am attaching the script which exhibits the problem. wrapping the urllib.request.urlopen, with the support.transient_internet contextmanager exhibits an Unexpected Behavior. Without the context manager, reading the file using the filedescriptor succeeds,

[issue10058] C-API Intro should be more explicit about error return codes

2010-10-15 Thread Nikolaus Rath
Nikolaus Rath added the comment: Georg, this is an important piece of information, but I think it is not yet clearly stated in the documentation. Here is what http://docs.python.org/c-api/intro.html says about return codes: "In general, when a function encounters an error, it sets an excepti

[issue10118] Tkinter does not find font

2010-10-15 Thread mark saaltink
New submission from mark saaltink : Tkinter, since tk 8.5 apparently, does not find all the fonts that tk knows about. I'm using Python 2.6.5 on Linux but have seen this on previous versions. I have added the font with "xset fp+ "". The font is Richard Jones' zed font, available from http:

[issue9862] PIPE_BUF is invalid on AIX

2010-10-15 Thread R. David Murray
R. David Murray added the comment: Committed to py3k in r85554, 2.7 in r85556. Sébastien, from what you say it sounds like this does not apply to 3.1, so I blocked it there. If this is incorrect let me know and I'll backport it. -- resolution: -> fixed stage: commit review -> commi

[issue6014] No shell prompt when a graphics window that was started from IDLE is closed

2010-10-15 Thread Roger Serwy
Roger Serwy added the comment: This issue can be closed. The natural language toolkit uses Tk for its GUI, the same as IDLE. Under Ubuntu 8.10, IDLE is launched from the menu without a subprocess. Running nltk as described without a subprocess causes this problem. Try launching IDLE without

[issue5150] IDLE to support reindent.py

2010-10-15 Thread Roger Serwy
Roger Serwy added the comment: I grabbed the core of reindent.py and put it into an extension, unmodified. The original reindent.py will emit Indentation Errors if they exist. ScriptBinding already has nice code to handle these problems by highlighting the error, placing the cursor at the er

[issue10114] compile() doesn't support the PEP 383 (surrogates)

2010-10-15 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file19243/compile_surrogates.patch ___ Python tracker ___ ___ Python-bugs-lis

[issue10114] compile() doesn't support the PEP 383 (surrogates)

2010-10-15 Thread STINNER Victor
STINNER Victor added the comment: Remove [compile_surrogates.patch] because it creates filenames unencode to the filesystem encoding. Eg. compile('', '\udcc3\udca9', 'exec').co_filename gives 'é' even if the filesystem encoding is 'ascii'. -- ___ P

[issue10114] compile() doesn't support the PEP 383 (surrogates)

2010-10-15 Thread STINNER Victor
STINNER Victor added the comment: > I do not see what filesystem encodings, or any other encoding > to bytes should really have to do with the [code.co_filename]. co_filename attribute is used to display the traceback: Python opens the related file, read the source code line and display it. O

[issue9862] PIPE_BUF is invalid on AIX

2010-10-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray nosy: +r.david.murray stage: -> commit review type: -> behavior ___ Python tracker ___ _

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2010-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le vendredi 15 octobre 2010 à 22:51 +, Mads Kiilerich a écrit : > Mads Kiilerich added the comment: > > Can you confirm that the exception raised both on "too early" and "too > late" is something like "...SSL3_GET_SERVER_CERTIFICATE:certificate > verify fa

[issue10114] compile() doesn't support the PEP 383 (surrogates)

2010-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Pardon my ignorance, but given that code.co_filename is a string attribute given as a string, which is to say, unicode in 3.x, I do not see what filesystem encodings, or any other encoding to bytes should really have to do with the attribute. I actually would

[issue10114] compile() doesn't support the PEP 383 (surrogates)

2010-10-15 Thread STINNER Victor
STINNER Victor added the comment: > All filenames should use the filesystem encoding in Python. Here is a new patch [code_encoding.patch] implementing this idea: - Use filesystem encoding (and surrogateescape) to encode/decode paths in compile() and the parser, instead of utf-8 in strict mod

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2010-10-15 Thread Mads Kiilerich
Mads Kiilerich added the comment: Can you confirm that the exception raised both on "too early" and "too late" is something like "...SSL3_GET_SERVER_CERTIFICATE:certificate verify failed"? (If so: It would be nice if a slightly more helpful message could be given. I don't know if that is poss

[issue10110] Queue doesn't recognize it is full after shrinking maxsize

2010-10-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10110] Queue doesn't recognize it is full after shrinking maxsize

2010-10-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: That won't be necessary. The change from == to <= is innocuous. There's no need to lock-up maxsize in a read-only property. We're consenting adults. Besides, it would probably break someone-else's odd use case. I don't want to expand the API, nor do I

[issue9713] Py_CompileString fails on non decode-able paths.

2010-10-15 Thread STINNER Victor
STINNER Victor added the comment: See also issue #10114. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue10114] compile() doesn't support the PEP 383 (surrogates)

2010-10-15 Thread STINNER Victor
STINNER Victor added the comment: See also #9713. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue10114] compile() doesn't support the PEP 383 (surrogates)

2010-10-15 Thread STINNER Victor
STINNER Victor added the comment: #6543 changed code->co_filename encoding from filesystem encoding+surrogateescape to utf-8+strict. With my patch, compile('', '\udcc3\udca9', 'exec').co_filename gives 'é', it doesn't depend on the filesystem encoding. But 'é' cannot be used with all filesys

[issue10110] Queue doesn't recognize it is full after shrinking maxsize

2010-10-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm not sure what our use case is. I discovered this when I was looking at our project's util library, and we have a Queue subclass that overrides _full to handle the scenario where the queue shrinks. I'm guessing it's being used to dynamically adjust the qu

[issue10110] Queue doesn't recognize it is full after shrinking maxsize

2010-10-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: I've briefly looked at the patch and it seems reasonable. Will look it in more detail by 3.2 goes out. I'm curious about your use case for wanting to change the maxsize of an existing Queue that is already in use. That seems like a odd design.

[issue10114] compile() doesn't support the PEP 383 (surrogates)

2010-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think the title is slightly misleading. As I read the patch, the issue is that PyArg_ParseTupleAndKeywords requires that string args to C functions be valid Unicode strings (and that it does this by trying to encode to utf-8). Your patch subverts this by re

[issue9807] deriving configuration information for different builds with the same prefix

2010-10-15 Thread Dave Malcolm
Dave Malcolm added the comment: Summarizing IRC discussion: Tested on Fedora 13 x86_64 with: --enable-shared --with-wide-unicode and with confdir != srcdir with: ../configure --enable-shared --with-wide-unicode --with-pydebug Mostly working but, test_distutils fails: test_get_outputs (di

[issue10109] itertools.product with infinite iterator cause MemoryError.

2010-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: The input to itertools.product must be a finite sequence of finite iterables. itertools.count(startvalue) produces an infinite sequence of ints (which are not iterable). Passing the latter to the former causes the latter to run until memory is exhausted. You

[issue10073] calendar.isleap() not checking parameter type

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: > To me, Alexander's example > >>> calendar.isleap("%d") > False > is a buggy result. So I would reclassify the issue. You'll always find plenty "wrong" inputs for which a function doesn't raise an exception. That's the downside of duck typing. > The ration

[issue10073] calendar.isleap() not checking parameter type

2010-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: To me, Alexander's example >>> calendar.isleap("%d") False is a buggy result. So I would reclassify the issue. The rationale for not checking input types is that bad types result in an error, but that does not happen here due to a design decision that some

[issue10110] Queue doesn't recognize it is full after shrinking maxsize

2010-10-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I should point out that in Python 2.5, it was possible for a subclass to override the _full method to account for this situation, but with Python 2.6 and later, the calculation in _full was hand-inlined... so it's not readily possible for a subclass to corre

[issue10098] intermittent failure in test_os

2010-10-15 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue10073] calendar.isleap() not checking parameter type

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: I don't see the point. If you file one such bug per day, you won't be finished in a year -- there's no reason to start adding typechecking in this function. -- nosy: +georg.brandl ___ Python tracker

[issue10072] ftplib documentation is unclear

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Committed after review in r85548. Thanks! -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker ___

[issue10064] link to page with documentation bugs

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: The reference you're referring to is in the section about bugs in Python: """ Bug reports for Python itself should be submitted via the Python Bug Tracker (http://bugs.python.org/). """ and it is placed below the section dealing with documentation bugs. As suc

[issue10058] Unclear PyString_AsStringAndSize return value

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Same here. There is only ever one return value on error unless documented otherwise, since the type of error is already contained in the exception that is set on return. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed __

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Given the range of people advocating for this change, this looks to me > like it should be a release blocker for 3.2. Raymond's comment about > performance seems especially important, and since the world seems to > be moving toward 64-bit operating systems (c

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2010-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: The unnamed quasi-html file loaded with msg118397 was a unless, essentially unreadable duplicate of that message, hence removed. -- nosy: +terry.reedy ___ Python tracker

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2010-10-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file19192/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue10058] Unclear PyString_AsStringAndSize return value

2010-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not much familiar with the C api but I presume that all functions return -1 on error and that this is documented somewhere in the beginning. I also presume that functions that return values thru passed in pointers and that are documented as returning an

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-15 Thread Skip Montanaro
Skip Montanaro added the comment: Not that anybody needs my input on this, but... Given the range of people advocating for this change, this looks to me like it should be a release blocker for 3.2. Raymond's comment about performance seems especially important, and since the world seems to be

[issue7140] imp.new_module does not function correctly if the module is returned from a function and used directly

2010-10-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since that revision only touched py3k, I am guessing that it only broke 3.2. -- nosy: +terry.reedy versions: +Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker

[issue9317] Incorrect coverage file from trace test_pickle.py

2010-10-15 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I have found the cause of at least part of the issue. Apparently, module level statements for some of the modules such as pickle do not show up in trace because they are imported by trace itself. In other words, by the time traced script gets executed

[issue9539] python-2.6.4: test failure in test_distutils due to linking to system libpython2.6

2010-10-15 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm afraid this can't be fixed in 2.6. -- versions: -3rd party, Python 2.6 ___ Python tracker ___

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

2010-10-15 Thread David Watson
David Watson added the comment: > As a further note: I think socket.gethostname() is a special case, since this > is just about a local setting (i.e. not related to DNS). But the hostname *is* commonly intended to be looked up in the DNS or whatever name resolution mechanisms are used locally

[issue6098] xml.dom.minidom incorrectly claims DOM Level 3 conformance

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Applied in r85547. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue9317] Incorrect coverage file from trace test_pickle.py

2010-10-15 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I have verified that the original issue is still present. I will try to narrow it down to a smaller test case. -- ___ Python tracker ___

[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the test case, committed the fix and the new test in r85546. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue4086] support %z format in time.strftime and _strptime?

2010-10-15 Thread Georg Brandl
Changes by Georg Brandl : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue10117] Tools/scripts/reindent.py fails on non-UTF-8 encodings

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue10111] Minor problems with PyFileObject documentation (Doc/c-api/file.rst)

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

[issue10117] Tools/scripts/reindent.py fails on non-UTF-8 encodings

2010-10-15 Thread Éric Araujo
Éric Araujo added the comment: +1. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue5150] IDLE to support reindent.py

2010-10-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: There's no need to go to python-dev or python-ideas with this one. If someone wants to figure-out a way to add reindent functionality to IDLE, patches are welcome. -- ___ Python tracker

[issue5150] IDLE to support reindent.py

2010-10-15 Thread Éric Araujo
Éric Araujo added the comment: reindent.py is very much a script: It lacks a nice, full programmatic API, I mean standalone functions to check a file object or a filename and functions implementing the command-line interface. As it is now, you see for example print calls in the middle of fun

[issue7450] document that os.chmod accepts an octal digit mode

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: We now have the S_IXXX constants documented explicitly, so I don't think this change is needed. -- resolution: -> works for me status: open -> closed ___ Python tracker ___

[issue4785] json.JSONDecoder() strict argument undocumented and potentially confusing

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied in r85543 and r85544. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue7790] struct_time documentation entry should point to the table defining the tuple

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Thanks, moved the table down in r85542. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue10117] Tools/scripts/reindent.py fails on non-UTF-8 encodings

2010-10-15 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +christian.heimes, flox, tim_one ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10117] Tools/scripts/reindent.py fails on non-UTF-8 encodings

2010-10-15 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Tools/scripts/reindent.py -d Lib/test/encoded_modules/module_koi8_r.py Traceback (most recent call last): File "Tools/scripts/reindent.py", line 310, in main() File "Tools/scripts/reindent.py", line 93, in main check(arg) File "Tools/scrip

[issue5729] Allows tabs for indenting JSON output

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Bob, any chance you get to that merge before 3.2b1? -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue4968] Clarify inspect.is method docs

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Committed suggestions with a few changes in r85541. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-15 Thread Ned Deily
Ned Deily added the comment: It looks like the '::tk::mac::Quit' callback does not exist in the Apple-supplied Tk 8.4.7 in OS X 10.5 and 10.4, although it does work with the Apple-supplied Tk 8.4.19(?) and 8.5 in 10.6 and with a current ActiveState 8.4.19 on 10.4 through 10.6. However, inste

[issue8954] wininst regression: errors when building on linux

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Raising priority. -- priority: normal -> critical ___ Python tracker ___ ___ Python-bugs-list mailing

[issue6798] Argument for sys.settrace() callbacks documented incorrectly

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Should be fixed in r85540. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue7303] pkgutil lacks documentation for useful functions

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Fixed markup a bit and committed in r85538. Thanks! -- status: open -> closed ___ Python tracker ___

[issue9308] Remove redundant coding cookies from 3.x stdlib

2010-10-15 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Committed in r85537. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mai

[issue9054] pyexpat configured with "--with-system-expat" is incompatible with expat 2.0.1

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Applied in r85536, will backport to other branches as well. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue9801] Can not use append/extend to lists in a multiprocessing manager dict

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: For now, documented the current behavior in r85534. If a different solution is desired, a new issue can be opened. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue1699594] shlex fails to parse strings correctly

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: That particular commit can't be the reason, but some other must be. Closing as wfm. -- dependencies: -shlex.split() does not tokenize like the shell resolution: -> works for me status: open -> closed ___ Python tra

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-15 Thread Tal Einat
Tal Einat added the comment: Note that some discussion about this issue is taking place on the idle-dev mailing list. Bruce Sherwood found the line "root.bind('<>', flist.close_all_callback)", which seems to be an unsuccessful attempt to achieve the wanted behavior. Kevin Walzer mentioned t

[issue9344] please add posix.getgrouplist()

2010-10-15 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: Did a bit of digging and found that getgrouplist signature differs on (at least) Linux and Mac OS: - http://www.kernel.org/doc/man-pages/online/pages/man3/getgrouplist.3.html -http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/

[issue9683] Dead code in py3k inspect module

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Fixed both in r85533. Thanks! -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list m

[issue10115] accept4 can fail with errno 90

2010-10-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +exarkun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue9778] Make hash values the same width as a pointer (or Py_ssize_t)

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Ping? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue7771] dict view comparison methods are not documented

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Applied in r85532. Thanks! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue10115] accept4 can fail with errno 90

2010-10-15 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: Weekend is coming, so I can lend a hand in implementing whatever you choose. Summary: * remove accept4() as default and expose it as separate method * add runtime fallback if accept4() returns ENOSYS -- ___ Py

[issue2830] Copy cgi.escape() to html

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Refined and applied the patch in r85531. Thanks all! -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue10110] Queue doesn't recognize it is full after shrinking maxsize

2010-10-15 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9308] Remove redundant coding cookies from 3.x stdlib

2010-10-15 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am attaching an updated patch, issue9308b.diff. Compared to the "a" patch, I added test/encoded_modules to the makefile so that it gets installed and removed cookies from some more test and Tools files. -- Added file: http://bugs.python.org/f

[issue10115] accept4 can fail with errno 90

2010-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > What about exposing accept4() to python level? That's another possibility, in which case we would first remove the current accept4-calling code in order to fix the buildbot failure. -- nosy: +loewis ___ Python tr

[issue8267] Tutorial section on dictionary keys recommends sort instead of sorted

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r85529. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue8340] bytearray undocumented on trunk

2010-10-15 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: d...@python -> pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue5355] Expat parser error constants are string descriptions

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: You're completely correct, added one in r85528. Thanks! -- status: open -> closed ___ Python tracker ___ _

[issue10115] accept4 can fail with errno 90

2010-10-15 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: What about exposing accept4() to python level? -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue5355] Expat parser error constants are string descriptions

2010-10-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Please, add a tiny unit test for the presence of this feature. This is the only way for vm implementers to follow CPython development. -- nosy: +amaury.forgeotdarc stage: -> unit test needed status: closed -> open ___

[issue5355] Expat parser error constants are string descriptions

2010-10-15 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r85526. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue10112] Use -Wl, --dynamic-list=x.list, not -Xlinker -export-dynamic

2010-10-15 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue10098] intermittent failure in test_os

2010-10-15 Thread Brian Curtin
Brian Curtin added the comment: That works for me locally. Checked in that 0 to 1 change in r85525 - waiting to see if it works on the slower buildbots. -- stage: -> commit review ___ Python tracker

[issue10110] Queue doesn't recognize it is full after shrinking maxsize

2010-10-15 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10109] itertools.product with infinite iterator cause MemoryError.

2010-10-15 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-15 Thread Kevin Walzer
Kevin Walzer added the comment: Ronald--I think it works with both 8.4 and 8.5. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10107] Quitting IDLE on Mac doesn't save unsaved code

2010-10-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: Kevin, which versions of Tk does this work with? IDLE should at least work with the versions of Tk 8.4 and 8.5 that Apple ships with OSX 10.4, 10.5 and 10.6 (the last one being the only one with built-in support for Tk 8.5) -- ___

[issue10111] Minor problems with PyFileObject documentation (Doc/c-api/file.rst)

2010-10-15 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue10099] socket.fromfd() documentation problem

2010-10-15 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: invalid -> works for me ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10108] ExpatError not property wrapped

2010-10-15 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +d...@python versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Py

[issue10115] accept4 can fail with errno 90

2010-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, 90 is ENOSYS on that buildbot :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue10116] Sporadic failures in test_urllibnet

2010-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Rather than the hand-made _open_with_retry, I think it would be better to use support.transient_internet() (it's already used in other tests). Retrying is not very helpful if the other end is down. Also, EBADF (bad file descriptor) looks like a bug. httplib s

  1   2   >