[issue3348] Cannot start wsgiref simple server in Py3k

2008-09-06 Thread Phillip J. Eby
Phillip J. Eby <[EMAIL PROTECTED]> added the comment: Not any time soon; I don't currently use Py3K and can't even vouch for the correctness of the posted patch within Py3K. (i.e., what really happened to the message class?) Sorry; all I can really do here is clarify WSGI-r

[issue3834] wsgiref.validator.InputWrapper readline method has wrong signature

2008-09-11 Thread Phillip J. Eby
Phillip J. Eby <[EMAIL PROTECTED]> added the comment: Per PEP 333: """The optional "size" argument to readline() is not supported, as it may be complex for server authors to implement, and is not often used in practice.""" The whole point of this

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-12 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: Atomic groups and possessive quantifiers appear to be relatively new: http://en.wikipedia.org/wiki/Regular_expressions for instance, has no mention of either that I found. http://www.regular-expressions.info/atomic.html http://www.r

[issue3858] make install tries to install files outside of --prefix

2008-09-13 Thread John J Lee
New submission from John J Lee <[EMAIL PROTECTED]>: ./configure --prefix=DIR && make && make install tries to install files in directories outside of DIR. This happens both with trunk (r66412) and 2.6b3. This is a problem for users of GNU stow, for example. I know that

[issue3858] make install tries to install files outside of --prefix

2008-09-13 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: OK, this was because I had a .pydistutils.cfg file containing the following (ironically, put there following somebody's recipe for installing setuptools packages using stow): [install] install_lib=~/lib/python$py_version_short/si

[issue3851] IDLE: Pressing "Home" on Windows places cursor before ">>>" instead of after. Solution offered.

2008-09-19 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: This is supposed to have been fixed by http://bugs.python.org/issue1196903 but I don't believe there has not been a 2.5 release since then. I do not know if that patch was or was backported for 2.5. -- nos

[issue3891] collections.deque should have empty() method

2008-09-19 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: I changed this to a doc issue for 2.6/3.0 whenever. I have two objections to adding "An empty deque evaluates as false". First, it implies (falsely) that it could be otherwise; since deque has no __bool__ method, its __len_

[issue3936] Faulty suppression of 'as' keyword warning

2008-09-22 Thread Terry J. Reedy
New submission from Terry J. Reedy <[EMAIL PROTECTED]>: Copied from c.l.p post by F. Lundh I have no idea if this has implications for warnings in 2.6 > >>> from sympy.mpmath import specfun > >>> > > So what could be suppressing

[issue3938] Clearing globals; interpreter -- IDLE difference

2008-09-22 Thread Terry J. Reedy
New submission from Terry J. Reedy <[EMAIL PROTECTED]>: Interpreter: >>> globals() {'__builtins__': , '__name__': '__main__', '__doc__': None, '__package__': None} >>> globals().clear() >>> globals() Traceba

[issue3979] Doctest failing when it should pass

2008-09-26 Thread J. Pablo Fernández
New submission from J. Pablo Fernández <[EMAIL PROTECTED]>: The attached file contains a function and two tests for it which are essentially the same. One is a doctest and the other is a TestCase. The doctest fails and I believe it shouldn't. Here's what I get: $ python f

[issue3998] List.sort docstring has obsolete cmp reference.

2008-09-29 Thread Terry J. Reedy
New submission from Terry J. Reedy <[EMAIL PROTECTED]>: 3.0rc1 >>> help(list.sort) Help on method_descriptor: sort(...) L.sort(key=None, reverse=False) -- stable sort *IN PLACE*; cmp(x, y) -> -1, 0, 1 The last line is left over from 2.x docstring. Since cmp keyword

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

2008-10-03 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: As a Windows user, I am not sure I would want this. A run command associated with .py makes all .py files executable. From a command prompt, which I suspect most Windows users never use, typing 'python' is not a big deal. A

[issue4027] wrong page index number in reference book of python documentation

2008-10-03 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: Which version of the Ref Manual is this supposed to be? By Evince do you mean the Gnome document viewer? http://www.gnome.org/projects/evince/ If so, are you trying to view a .pdf downloaded from python.org? If so, did you try viewing i

[issue4029] Documentation displays incorrectly in iexplore.

2008-10-03 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: 3. There is a typo to fix in the header for print on http://docs.python.org/library/functions.html end = 'n' should be end = '\n' About spaces: both IE7 and FF3 on my machine display the same line with real commas

[issue3439] math.frexp and obtaining the bit size of a large integer

2008-10-06 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: To add support to the proposal: there is currently yet another thread on c.l.p on how to calculate numbits efficiently. The OP needs it for prototyping cryptographic algorithms and found Python-level code slower than he

[issue4090] Documenting set comparisons and operations

2008-10-09 Thread Terry J. Reedy
New submission from Terry J. Reedy <[EMAIL PROTECTED]>: RefMan Expressions Comparisons has a subsection headed "Comparison of objects of the same type depends on the type" with entries for numbers, bytes, strings, tuples, lists, mappings, and most_other (compared by id). Sets

[issue4087] equality involving Decimals is not transitive; strange set behaviour results

2008-10-09 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: There are two issues involved: 1. documenting set behavior 2. what to do, if anything, about Decimals and other numbers Since users are free to create similar problems, and since sets are missing from the Reference section on comparis

[issue4087] Document the effects of NotImplemented on == and !=

2008-10-09 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: If Decimal(2) == float(2) were to raise an error, set([Decimal(2), float(2)]) would fail, as I would argue it ought to, and the set anomalies would disappear. -- assignee: georg.brandl -> priority: low

[issue2190] MozillaCookieJar ignore HttpOnly cookies

2008-10-09 Thread John J Lee
Changes by John J Lee <[EMAIL PROTECTED]>: -- nosy: +jjlee ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2190> ___ ___ Python-bugs

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-09 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: You haven't said what the specific problem is. Note that the SimpleCookie class really represents a set of cookies, and the Morsel class represents a single cookie. It seems that setting special value-less cookie-attributes like &qu

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-10 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: I was responding to your comment of 2008-10-08 03:08, not to the opening comment. I already responded to the opening comment. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue4090] Documenting set comparisons and operations

2008-10-10 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: Para 1: Thank you. Pars 2: I understand and accept your concern. Para 3. You are right odd comparisons are the root of several problems. Following you suggestion, let's at least add one blanket, cover-our-asses warning at the bo

[issue1028088] Cookies without values are silently ignored (by design?)

2008-10-10 Thread John J Lee
John J Lee <[EMAIL PROTECTED]> added the comment: The Cookie: header does not have a "secure flag" (The Set-Cookie: header does). I don't strongly object to the issue identified in the original comment being fixed. ___ Python trac

[issue4087] Document the effects of NotImplemented on == and !=

2008-10-10 Thread Terry J. Reedy
Terry J. Reedy <[EMAIL PROTECTED]> added the comment: More sensibility offenders: >>> s = {fractions.Fraction(17,1), decimal.Decimal(17)} >>> s-{17} set() Removing one thing removes two. >>> s.remove(17) >>> 17 in s True Removing something leaves i

[issue7771] dict view comparison methods are not documented

2010-01-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 3.2a doc is unchanged (similarly lacking). The situation is that view have all of the special method (operator methods) that frozen sets do but none of the named methods (.copy to .union). I think it would be helpful if the doc said so. Perhaps change

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: The note starts out "Do not (do x) unless you're not (doing y)". This is confusing. I believe this means "If you are (doing y), you may (do x)". If so, please write it so. If not, please write what you do mean. After thinking abou

[issue6760] patch to subprocess docs to better explain Popen's 'args' argument

2010-02-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: PS. I only looked at the style of the patch. Once that is clearer, someone who knows more than me needs to review it for content correctness. -- ___ Python tracker <http://bugs.python.org/issue6

[issue1943] improved allocation of PyUnicode objects

2010-02-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: >It is, otherwise I would have documented it. The fact that some developers are not using those APIs correctly doesn't change that. If, as Antoine claimed, 'it' is a documented feature of str strings, and Py3 says str = Unicode, it is a p

[issue7829] dis module documentation gives no indication of the dangers of bytecode inspection

2010-02-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The doc begins "30.12. dis — Disassembler for Python bytecode The dis module supports the analysis of Python bytecode by disassembling it. Since there is no Python assembler, this module defines the Python assembly language. The Python bytecode which

[issue4037] doctest.py should include method descriptors when looking inside a class __dict__

2010-02-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not sure whether this would be considered a bugfix or a new feature. (ie, whether it would apply to 2.6 and 3.1 or not) But the change is needed for 3.x also. I am not sure whether the doc needs changing. A testcase should be added to doctest-test

[issue7250] wsgiref.handlers.CGIHandler caches os.environ, leaking info between requests

2010-02-18 Thread Phillip J. Eby
Phillip J. Eby added the comment: What sort of test did you have in mind? To test the desired outcome, it seems we'd need to poison os.environ, reload wsgiref.handlers, remove the poison, and then make sure it didn't get in. That seems a bit like overkill (as well as hard to

[issue7250] wsgiref.handlers.CGIHandler caches os.environ, leaking info between requests

2010-03-01 Thread Phillip J. Eby
Phillip J. Eby added the comment: Will I be able to do what? I have a kludgy test and a patch in my checkout, I was just waiting for word back from you (since Feb 19) on whether that would be ok. -- ___ Python tracker <http://bugs.python.

[issue2292] Missing *-unpacking generalizations

2010-03-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would like to see this revisited when the moratorium is lifted. Added 3.3 as a surrogate for that. As per GvR above, it will need a PEP to pin down details, alternatives, and use cases and discussion on python-ideas list. -- versions: +Python 3.3

[issue2292] Missing *-unpacking generalizations

2010-03-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Whoops, just noticed newish 'after moratorium' keyword. Good idea. -- versions: -Python 3.3 ___ Python tracker <http://bugs.python.

[issue7460] extended slicing not sufficiently covered in docs

2010-03-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: This may be duplicative of #1446619, but I have not looked at that enough. I agree that revision is needed and will try to develop patch suggestions. -- nosy: +tjreedy versions: -Python 3.0 ___ Python tracker

[issue8093] IDLE processes don't close

2010-03-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I reproduced this with 3.1.1 on xp. It took a while to get the shell menu to restart as the calculation process is hogging the cpu 99%. KeyboardInterrupt (^C) would not stop the runaway process. There may have been other issues about this. Two processes is

[issue1069092] segfault on printing nested sequences of None/Ellipsis

2010-03-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: General policy is that ordinary code (not using, for instance, ctypes) should not crash or segfault the interpreter. I believe there is a 'crashers' subdirectory somewhere in the tree for examples that do so that people so inclined can work on the

[issue1683368] object.__init__ shouldn't allow args/kwds

2010-04-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: @dauerbaustelle I believe your question is a separate issue and that it should have been asked on Python list. However, yes, subclasses of immutables must override __new__. For more, do ask on the list, not here

[issue8060] PEP 3101 string formatting missing engineering presentation type for floating point

2010-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Too late for 2.7, but I would like this to hit 3.2. Some calculators have engineering format as an output option and it would be good for Python. This issue is being discussed in python-list in thread "Engineering numerical format...". The OP (

[issue8404] Set operations don't work for dictionary views

2010-04-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue8404> ___ ___ Python-bugs-list mailing list Un

[issue2331] Backport parameter annotations

2010-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can this be closed, either as 'fixed' or 'obsolete' (too late)? -- nosy: +tjreedy ___ Python tracker <http://bu

[issue7511] msvc9compiler.py: ValueError: [u'path']

2010-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tarek, when you set the resolution to 'accepted', did you mean to close this? Resolutions are meant for closed issues. -- nosy: +tjreedy ___ Python tracker <http://bugs.python.

[issue4186] type() doesn't accept bases and dict keyword arguments

2010-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since 'pending' is not implemented, should this be 'closed'? -- nosy: +tjreedy status: pending -> open ___ Python tracker <http:/

[issue3620] test_smtplib is flaky

2010-04-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 3.0 ___ Python tracker <http://bugs.python.org/issue3620> ___ ___ Python-bugs-list mailing list Unsub

[issue2340] Backport PEP 3132 (extended iterable unpacking)

2010-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Fixed?, Out-of-date? (or in process?) -- nosy: +tjreedy ___ Python tracker <http://bugs.python.org/issue2340> ___ ___ Python-bug

[issue3080] Full unicode import system

2010-04-27 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/issue3080> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1909] Backport: Mixing default keyword arguments with *args

2010-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can this be closed as either fixed or out-or-date, as the case may be? -- nosy: +tjreedy ___ Python tracker <http://bugs.python.org/issue1

[issue5559] IDLE Output Window 's goto fails when path has spaces

2010-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Resolution should only be set when an issue is closed. So should this be closed? or unfixed and the versions updated? -- nosy: +tjreedy ___ Python tracker <http://bugs.python.org/issue5

[issue2345] Using an exception variable outside an 'except' clause should raise a Py3K warning

2010-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am assuming that this is an unfixed bug that might still be fixed in 2.7 sometime and that it should not be closed yet, so I am just updating the version. -- nosy: +tjreedy versions: +Python 2.7 -Python 2.6

[issue2380] Raise a Py3K warning for catching nested tuples with non-BaseException exceptions

2010-04-28 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue2380> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1909] Backport: Mixing default keyword arguments with *args

2010-04-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ok, I though 2.7 was in feature freeze. Updating version. -- versions: +Python 2.7 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue1

[issue2715] Remove carbon-specific code from binhex

2010-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would close this, but I am not sure what the resolution should be. -- nosy: +tjreedy status: pending -> open ___ Python tracker <http://bugs.python.org/iss

[issue770280] PyMarshal_ReadLastObjectFromFile

2010-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Can this be closed as either out-of-date or rejected? -- nosy: +tjreedy status: pending -> open ___ Python tracker <http://bugs.python.org/issue

[issue3328] When PyObject_CallMethod fails, refcount is incorrect

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue3328> ___ ___ Python-bugs-list mailing list Unsubscri

[issue3536] case conversion problems in Turkish

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue3536> ___ ___ Python-bugs-list mailing list Unsubscri

[issue3957] [contextlib] Reverse order of locking

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue3957> ___ ___ Python-bugs-list mailing list Unsubscri

[issue4262] import and compile() do not treat trailing whitespace the same

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue4262> ___ ___ Python-bugs-list mailing list Unsubscri

[issue3433] Mac, 3.0 framework install error with fink cp

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue3433> ___ ___ Python-bugs-list mailing list Unsubscri

[issue4025] C99 comments in Python 2.6 break build on AIX 6.1

2010-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the absence of further complaints, this appears to really be fixed. Should it be closed as such? -- nosy: +tjreedy status: pending -> open ___ Python tracker <http://bugs.python.org/iss

[issue1178510] configure: refuses setgroups

2010-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Closing this pending 2.4 Irix issue as out of date. Martin, reopen if you object. -- nosy: +tjreedy resolution: -> out of date status: pending -> closed ___ Python tracker <http://bugs.python.org/iss

[issue5407] Broken Py3.1 release build in Visual Studio 2005

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue5407> ___ ___ Python-bugs-list mailing list Unsubscri

[issue5494] Failure in test_httpservers on Linux

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue5494> ___ ___ Python-bugs-list mailing list Unsubscri

[issue785031] MacPython installer fails on UFS filesystem

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue785031> ___ ___ Python-bugs-list mailing list Unsubscri

[issue1004810] Carbon.File fails if server vol is mounted after launch

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue1004810> ___ ___ Python-bugs-list mailing list Un

[issue1473979] test test_capi crashed -- thread.error: can't allocate lock

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue1473979> ___ ___ Python-bugs-list mailing list Un

[issue658693] cPickle does relative import

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue658693> ___ ___ Python-bugs-list mailing list Unsubscri

[issue2016] Crash when modifying the **kwargs passed to a function.

2010-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is everything fixed, so this can be closed? -- nosy: +tjreedy status: pending -> open ___ Python tracker <http://bugs.python.org/iss

[issue1367628] use PyOS_ReadlineFunctionPointer in non-interractive input

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue1367628> ___ ___ Python-bugs-list mailing list Un

[issue1027] uudecoding (uu.py) does not supprt base64, patch attached

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue1027> ___ ___ Python-bugs-list mailing list Unsubscri

[issue6788] codecs.open on Win32 does not force binary mode

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue6788> ___ ___ Python-bugs-list mailing list Unsubscri

[issue6883] OptionParser.allow_interspersed_args is undocumented

2010-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Skip, can we close this? -- nosy: +tjreedy status: pending -> open ___ Python tracker <http://bugs.python.org/iss

[issue6941] Socket error when launching IDLE

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue6941> ___ ___ Python-bugs-list mailing list Unsubscri

[issue1756343] Python 2.5.1 fails to build on AIX

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date status: pending -> closed ___ Python tracker <http://bugs.python.org/issue1756343> ___ ___ Pyth

[issue1155] Carbon.CF memory management problem

2010-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should this be closed? As out of date? -- nosy: +tjreedy status: pending -> open ___ Python tracker <http://bugs.python.org/iss

[issue2571] cmd.py always uses raw_input, even when another stdin is specified

2010-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Too late for new 2.7 features. -- nosy: +tjreedy resolution: -> out of date status: pending -> closed ___ Python tracker <http://bugs.python.org/

[issue6306] filecmp.cmp can not compare two files from different OS with the same content

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue6306> ___ ___ Python-bugs-list mailing list Unsubscri

[issue1155] Carbon.CF memory management problem

2010-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python.org/issue1155> ___ ___ Python-bugs-

[issue8525] Small enhancement to help()

2010-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.5 is frozen. 2.6 and 3.1 are in bug-fix mode only, and 2.7 is in beta so new features are unlikely there. So I recommend doing a patch against 3.1 or even the 3.2 trunk. And of course, make sure this proposal makes sense for 3.x. -- nosy: +tjreedy

[issue3720] segfault in for loop with evil iterator

2010-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The fix works for 3.1.2, giving TypeError: iter() returned non-iterator of type 'BadIterator' Too late to patch 2.5. Is there any intention of patching 2.6 before its final bug-fix release, in a couple of months? -- keywords: -needs rev

[issue8638] Remove suggestion for name mangling from the tutorial

2010-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Double underscore name mangling is for avoiding name clashes with base classes, not for 'private attributes'. This is such an advanced and rarely used feature that it hardly seems appropriate for the tutorial. -- nosy

[issue8641] IDLE 3 doesn't highlights b"", but u""

2010-05-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: u'whatever' is not valid syntax for 3.x. In any case, with IDLE on my WinXP 3.1.2 system, all string literals are green, with or without a leading b. If you want this to stay open, cut and paste the opening header like Python 3.1.2 (r312:79149, M

[issue3704] cookielib doesn't handle URLs with / in parameters

2010-05-09 Thread John J Lee
John J Lee added the comment: It looks to me that it's just request_path that's wrong, so no need to add extra arguments to that function. It should discard the query and fragment (still keeping the "parameters" -- using urlparse.urlsplit instead of urlparse.urlparse wou

[issue6588] insert cookies into cookie jar - cookielib.py

2010-05-09 Thread John J Lee
John J Lee added the comment: Jon, If you want to get these changes applied you need to: 1. Split up these three separate issues 2. Most important: explain in full detail exactly how you used cookielib, what you expected it to do, and what it actually did, and then justify why your

[issue5537] LWPCookieJar cannot handle cookies with expirations of 2038 or greater on 32-bit platforms

2010-05-09 Thread John J Lee
John J Lee added the comment: Shouldn't module time be changed to use a cross-platform implementation that uses a 64 bit time_t-like type? Apparently Perl 6 has made the equivalent change. Admittedly there seems to be no sign of that actually happening. -- nosy: +

[issue3704] cookielib doesn't handle URLs with / in parameters

2010-05-10 Thread John J Lee
John J Lee added the comment: I'll upload a patch when I'm back home (bugs.python.org went down yesterday). Will turn docstring into comment. -- ___ Python tracker <http://bugs.python.

[issue3704] cookielib doesn't handle URLs with / in parameters

2010-05-10 Thread John J Lee
John J Lee added the comment: Just re-read your comment, Tres. Since when do docstrings determine whether a stdlib function is public? If it's documented in the docs, it's public. If not, it's not. This function isn't, so it's not public. It'

[issue3704] cookielib doesn't handle URLs with / in parameters

2010-05-10 Thread John J Lee
Changes by John J Lee : Added file: http://bugs.python.org/file17285/issue3704.patch ___ Python tracker <http://bugs.python.org/issue3704> ___ ___ Python-bugs-list mailin

[issue3704] cookielib doesn't handle URLs with / in parameters

2010-05-10 Thread John J Lee
John J Lee added the comment: Didn't bother changing docstring to comment, since that would be inconsistent with rest of module. -- ___ Python tracker <http://bugs.python.org/i

[issue3704] cookielib doesn't handle URLs with / in parameters

2010-05-10 Thread John J Lee
John J Lee added the comment: FWIW, the "certain semantics" that request_path "promises" are 1. that it returns the RFC 2965 request-URI (which has never been true -- it returns the path component of the request-URI instead) and 2. that that request-URI is as defined i

[issue3704] cookielib doesn't handle URLs with / in parameters

2010-05-11 Thread John J Lee
John J Lee added the comment: What specific breakage do you expect resulting from my patch being backported? There is no behaviour change here, except to the minimal extent that all bug fixes involve behaviour change. This seems a clear-cut backport candidate. It's not a surprise to me

[issue8691] Doc: left alignment is not the default for numbers

2010-05-11 Thread Terry J. Reedy
New submission from Terry J. Reedy : As reported on python-list by Alan G Isaac, Lib Ref 6.1.3.1. Format Specification Mini-Language, for instance http://docs.python.org/dev/py3k/library/string.html#formatstrings wrongly says in the alignment section "'<'Forces the field

[issue4653] Patch to fix typos for Py3K

2010-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 3.0 ___ Python tracker <http://bugs.python.org/issue4653> ___ ___ Python-bugs-list mailing list Unsub

[issue965065] document docs.python.org in PEP-101

2010-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: PEP 101 now says ___ If this is a final release, also unpack the HTML docs to /data/ftp.python.org/pub/docs.python.org/release/X.Y[.Z]. ___ If this is a major release: Tell the DE to adapt redirects for docs.python.org/X.Y in the

[issue2716] Reimplement audioop because of copyright issues

2010-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker <http://bugs.python.org/issue2716> ___ ___ Python-bug

[issue1397] mysteriously failing test_bsddb3 threading test in other threads

2010-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker <http://bugs.python.org/issue1397> ___ ___ Python-bug

[issue3006] subprocess.Popen causes socket to remain open after close

2010-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker <http://bugs.python.org/issue3006> ___ ___ Python-bug

[issue3710] Reference leak in thread._local

2010-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker <http://bugs.python.org/issue3710> ___ ___ Python-bug

[issue1745035] DoS smtpd vulnerability

2010-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker <http://bugs.python.org/issue1745035> ___ ___ Pytho

[issue1615] descriptor protocol bug

2010-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 -Python 2.5 ___ Python tracker <http://bugs.python.org/issue1615> ___ ___ Python-bugs-list mailing list Unsub

[issue1868] threading.local doesn't free attrs when assigning thread exits

2010-05-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker <http://bugs.python.org/issue1868> ___ ___ Python-bug

<    11   12   13   14   15   16   17   18   19   20   >