[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-13 Thread Larry Hastings
Larry Hastings added the comment: I don't think "k" is the right answer. POSIX defines the user and group parameters as uid_t and gid_t respectively; in turn, uid_t and gid_t are defined as "integers", pointedly omitting the either of the words "signed"

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-13 Thread Larry Hastings
Larry Hastings added the comment: Thinking about it some more, maybe we need to be smart about whether uid_t/gid_t are signed or unsigned. I'm no good with configure hackery--could anyone here enhance the configure script so it could tell us whether or not uid_t and gid_t were sign

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-13 Thread Larry Hastings
Larry Hastings added the comment: That patch from Victor looks pretty good. I'll try to get it in for beta 2, however I'm on the road right now. I'm back Sunday night and will try to do it then. If someone else wants to jump in that's fine with me. --

[issue15228] os.utime() docs not clear on behavior on nonexistant files

2012-07-14 Thread Larry Hastings
Larry Hastings added the comment: I don't think this needs clarifying. If you think the reference to "touch" currently only muddles the issue, let's remove it entirely. -- ___ Python tracker <http://bug

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-14 Thread Larry Hastings
Larry Hastings added the comment: It looks like #1747858 is another duplicate. Though arguably all these "dups" aren't really dups because I rewrote chown's argument parsing for 3.3. -- ___ Python tracker <http://bug

[issue15238] shutil.copystat should copy Linux extended attributes

2012-07-14 Thread Larry Hastings
Changes by Larry Hastings : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2012-07-14 Thread Larry Hastings
Larry Hastings added the comment: Here's a first cut at a patch. It's really just an update of Victor's patch to #4591 (done with his blessing). I tweaked it slightly; the parsing functions are now O& converter functions. I also added a reasonable unit test. Note ho

[issue15233] atexit: guarantee order of execution of registered functions?

2012-07-14 Thread Larry Hastings
Larry Hastings added the comment: Okay, I'll remove the ".. note". Checking in shortly. -- ___ Python tracker <http://bugs.python.org/issue15233> ___ __

[issue15233] atexit: guarantee order of execution of registered functions?

2012-07-14 Thread Larry Hastings
Larry Hastings added the comment: So, it's checked in to trunk. Shall I also backport to 2.7 and 3.2 as the issue suggests? -- ___ Python tracker <http://bugs.python.org/is

[issue15202] followlinks/follow_symlinks/symlinks flags unification

2012-07-14 Thread Larry Hastings
Larry Hastings added the comment: The .4 patches both LGTM, please commit! -- ___ Python tracker <http://bugs.python.org/issue15202> ___ ___ Python-bugs-list m

[issue15202] followlinks/follow_symlinks/symlinks flags unification

2012-07-15 Thread Larry Hastings
Larry Hastings added the comment: Sorry; the patch didn't apply cleanly, and it looks like I bungled doing it manually. Fixing now. -- ___ Python tracker <http://bugs.python.org/is

[issue15151] Documentation for Signature, Parameter and signature in inspect module

2012-07-15 Thread Larry Hastings
Larry Hastings added the comment: Is anyone working on this? I could possibly take a stab at it tonight, if I get the evening to myself. -- ___ Python tracker <http://bugs.python.org/issue15

[issue15233] atexit: guarantee order of execution of registered functions?

2012-07-15 Thread Larry Hastings
Larry Hastings added the comment: I have been meditating on this, and I'm not sure we should change 2.7. 3.2 might be okay. The thing is, I fear we're not just talking about CPython implementation details, we're talking about the Python Standard Library. The existing docume

[issue15238] shutil.copystat should copy Linux extended attributes

2012-07-16 Thread Larry Hastings
Larry Hastings added the comment: Hynek, it's clear you understand this far better than I do. Could I get you to fix the Fedora buildbot problem, etc, etc? -- ___ Python tracker <http://bugs.python.org/is

[issue15413] os.times() disappeared under Windows

2012-07-24 Thread Larry Hastings
Larry Hastings added the comment: Sorry, I've been on the road a lot. Thanks, Antoine! -- ___ Python tracker <http://bugs.python.org/issue15413> ___ ___

[issue15547] Why do we have os.truncate() and os.ftruncate() whereas os.truncate() accepts a file descriptor?

2012-08-03 Thread Larry Hastings
Larry Hastings added the comment: Because both functions were available in 3.2, and we can't remove old functions without a full deprecation cycle. -- resolution: -> wont fix stage: -> committed/rejected status: open -> closed ___

[issue15531] os.path symlink docs missing

2012-08-04 Thread Larry Hastings
Larry Hastings added the comment: I just tried it, and os.readlink('/tmp/broken-symlink') worked fine. What OS are you using? -- ___ Python tracker <http://bugs.python.o

[issue15548] Mention all new os functions in What's New in Python 3.3

2012-08-04 Thread Larry Hastings
Larry Hastings added the comment: ftruncate isn't new. -- ___ Python tracker <http://bugs.python.org/issue15548> ___ ___ Python-bugs-list mailing list Unsubsc

[issue15531] os.path symlink docs missing

2012-08-04 Thread Larry Hastings
Larry Hastings added the comment: What does the following script print out? import os os.chdir('/tmp') os.symlink('--success--', 'foo') print("this should print --success-- :") print(os.readlink('foo')) os.unlink('foo') -- _

[issue15531] os.path symlink docs missing

2012-08-05 Thread Larry Hastings
Larry Hastings added the comment: Since everything is working fine, and the documentation arguably needs no update, I'm closing this. -- resolution: -> works for me stage: -> committed/rejected status: open -> closed ___ Python

[issue15589] Bus error on Debian sparc

2012-08-08 Thread Larry Hastings
Larry Hastings added the comment: This platform is 8-byte aligned? -- ___ Python tracker <http://bugs.python.org/issue15589> ___ ___ Python-bugs-list mailin

[issue15589] Bus error on Debian sparc

2012-08-08 Thread Larry Hastings
Larry Hastings added the comment: nm, I get it, doubles are 8-bytes and should be 8-byte aligned. Let me stare at it some more. -- ___ Python tracker <http://bugs.python.org/issue15

[issue15589] Bus error on Debian sparc

2012-08-08 Thread Larry Hastings
Larry Hastings added the comment: Attached is a patch attempting to force double alignment. Stefan: please apply and try it. Does this help? -- keywords: +patch Added file: http://bugs.python.org/file26727/larry.force.alignment.in.capi.test.1.diff

[issue15748] Various symlink test failures in test_shutil on FreeBSD

2012-08-21 Thread Larry Hastings
Larry Hastings added the comment: I'll ask the obvious: was that an optimized build? Not that that explains the bug--but that might explain why "length" appeared to contain 24. It's hard to believe this is really an OS bug... -- __

[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS

2012-08-21 Thread Larry Hastings
Larry Hastings added the comment: Can you tell me which code path it took? Either by walking through the code as it runs, or by telling me about the preprocessor defines used by utime (HAVE_FUTIMES, HAVE_FUTIMENS, HAVE_FUTIMESAT, HAVE_UTIMENSAT, HAVE_UTIMES, HAVE_UTIME_H). The easy way to

[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS

2012-08-21 Thread Larry Hastings
Larry Hastings added the comment: mtime is never converted into a "decimal". Do you perhaps mean "double"? -- ___ Python tracker <http://bug

[issue15748] Various symlink test failures in test_shutil on FreeBSD

2012-08-22 Thread Larry Hastings
Larry Hastings added the comment: haypo: If a series of shell commands duplicated the problem, then okay, but I suspect the problem has to do with persistent state in the process and will only be reproducible with a C program. -- ___ Python tracker

[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS

2012-08-22 Thread Larry Hastings
Larry Hastings added the comment: Yes, but the code should still work. The test that's failing reads the atime/mtime from a file, then writes those values out to the file, then reads again to confirm that they're the same. That should a

[issue15748] Various symlink test failures in test_shutil on FreeBSD

2012-08-31 Thread Larry Hastings
Larry Hastings added the comment: Could we work around it? Ignore the length we get back from readlink() and just measure the buffer ourselves? Or, if we wanted to be *really* paranoid, write a \0 at the length they give us back and *then* strlen it

[issue15965] AT_FDCWD is 0xffd19553 on Solaris 10, resulting in compiler warnings.

2012-09-18 Thread Larry Hastings
Larry Hastings added the comment: Lgtm. Trent Nelson wrote: > >Trent Nelson added the comment: > >Easy fix, cast AT_FDCWD to (int): > > >% hg diff >diff -r 3a880d640981 Modules/posixmodule.c >--- a/Modules/posixmodule.c Tue Sep 18 07:21:18 2012 +0300 >+++ b

[issue15972] wrong error message for os.path.getsize

2012-09-20 Thread Larry Hastings
Larry Hastings added the comment: Patch looks like it'll work fine. But please add regression tests checking that the error message is what we want. Are the new error messages okay with the OP? It looks like now it'll throw TypeError("argument must be string, bytes or in

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Larry Hastings
Larry Hastings added the comment: Ah! It seems Python is anti-Oxford Comma. Carry on! ;-) Wouldn't test_os be the natural place? I don't understand why you're having difficulty finding a suitable place. -- ___ Python

[issue15999] Using new 'bool' format character

2012-09-21 Thread Larry Hastings
Larry Hastings added the comment: Patch looks fine in principle, though I'd want someone to go over the individual cases to make sure they make sense. Also, I have something up my sleeve regarding argument parsing for 3.4, and if it gets accepted we might be touching all this code anywa

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Larry Hastings
Larry Hastings added the comment: Patch looks fine, except please fix 80 columns. -- ___ Python tracker <http://bugs.python.org/issue15972> ___ ___ Python-bug

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Larry Hastings
Larry Hastings added the comment: LGTM. Serhiy, you have the commit bit? -- ___ Python tracker <http://bugs.python.org/issue15972> ___ ___ Python-bugs-list mailin

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Larry Hastings
Larry Hastings added the comment: Georg: this okay to check in? It passes the regression test. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue15

[issue10044] small int optimization

2012-09-22 Thread Larry Hastings
Larry Hastings added the comment: I must be missing something--because I thought Python *already* depended on this apparently-undefined behavior. The small-block object allocator in Objects/obmalloc.c determines whether a pointer belongs to a particular arena using exactly this trick. I

[issue16024] Doc cleanup regarding path=fd, dir_fd, follow_symlinks, etc

2012-09-24 Thread Larry Hastings
New submission from Larry Hastings: You know how you start pulling on a thread and before you notice you've unraveled the whole sweater? I meant to do a simple *one line* fix on the docs and wound up with a nearly-300-line diff. I claim it's all an improvement, though I'm wi

[issue16064] unittest -m claims executable is "python", not "python3"

2012-09-27 Thread Larry Hastings
New submission from Larry Hastings: I wrote the following script called "bonkers.py": -- import sys print(sys.argv[0]) -- then ran % python3 -m unittest bonkers It printed -- ['python -m unittest', 'bonkers'] -- Shouldn't it say "pyth

[issue16064] unittest -m claims executable is "python", not "python3"

2012-09-28 Thread Larry Hastings
Larry Hastings added the comment: Certainly. But what is the right thing to do? I talked to Michael about it in person this morning, and our consensus was: use basename of sys.executable. Patch attached. -- keywords: +patch stage: needs patch -> patch review Added file: h

[issue16078] Calendar.leapdays(y1,y2) bug

2012-09-28 Thread Larry Hastings
Larry Hastings added the comment: Agreed. Not a bug. Closing the issue. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker <http://bugs.python

[issue16064] unittest -m claims executable is "python", not "python3"

2012-09-28 Thread Larry Hastings
Larry Hastings added the comment: Michael, you're the one who came up with the feature. If you write the comment I'll fold it into the patch. -- ___ Python tracker <http://bugs.python.o

[issue16026] csv.DictReader argument names documented incorrectly

2012-09-28 Thread Larry Hastings
Larry Hastings added the comment: Eric, iirc you're the de facto csv guy? Does this seem reasonable to you? -- nosy: +eric.araujo, larry ___ Python tracker <http://bugs.python.org/is

[issue16074] bad error message in os.rename

2012-09-28 Thread Larry Hastings
Larry Hastings added the comment: As Serhiy says, which filename to display is wholly context-sensitive to which errno it is. And there's no cheap way to display both. The cheap fix is to call path_error with a nulled-out "path" object; this will display the error without a f

[issue16074] bad error message in os.rename

2012-09-28 Thread Larry Hastings
Larry Hastings added the comment: New patch, just calling posix_error directly. -- Added file: http://bugs.python.org/file27344/larry.rename_error.2.diff ___ Python tracker <http://bugs.python.org/issue16

[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and NetBSD w/ FFS, Solaris w/ UFS)

2012-10-16 Thread Larry Hastings
Larry Hastings added the comment: Is there a different utime family function on these platforms that *can* write atime/mtime with ns resolution? -- ___ Python tracker <http://bugs.python.org/issue15

[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and NetBSD w/ FFS, Solaris w/ UFS)

2012-10-16 Thread Larry Hastings
Larry Hastings added the comment: You're a sneaky, naughty bunny. "posix._have_functions" indeed! I guess your back was to the wall. 1) If I follow your code correctly, when one has utimensat, the assertLess calls using _t consider st0.st_mtime_ns < st1.st_mtime_ns even i

[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and NetBSD w/ FFS, Solaris w/ UFS)

2012-10-17 Thread Larry Hastings
Larry Hastings added the comment: I don't know POSIX / UNIX all that well. Does it require that a stat call updates atime? Because that's one of those "how does it ever work" head-scratchers. (Maybe everybody always disables atime these days?

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-13 Thread Larry Hastings
Larry Hastings added the comment: Does Python still officially support m68k? -- nosy: +larry ___ Python tracker <http://bugs.python.org/issue20904> ___ ___ Pytho

[issue20517] Support errors with two filenames for errno exceptions

2014-03-13 Thread Larry Hastings
Larry Hastings added the comment: Yeah, I admit I don't understand what problem that code was solving. But it looked Very Deliberate so I preserved the behavior. -- ___ Python tracker <http://bugs.python.org/is

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-14 Thread Larry Hastings
Larry Hastings added the comment: I'm happy to accept the change for 3.4.1, but I'm not going to cherry-pick a fix for an unsupported platform after rc3. -- ___ Python tracker <http://bugs.python.o

[issue20931] Confusing section title "New Expected Features for Python Implementations" in 3.4 What's New doc

2014-03-15 Thread Larry Hastings
Larry Hastings added the comment: RDM's checkin ( 21ecc3d52806 ) renamed the subheading of "Summary -- Release Highlights" from "New Expected Features for Python Implementations" to "New features". But there's still a major heading with that title.

[issue20931] Confusing section title "New Expected Features for Python Implementations" in 3.4 What's New doc

2014-03-15 Thread Larry Hastings
Larry Hastings added the comment: I propose to check this in. -- keywords: +patch Added file: http://bugs.python.org/file34438/larry.remove.other.instance.of.clumsy.wording.1.diff ___ Python tracker <http://bugs.python.org/issue20

[issue20909] 3.4 cherry pick: d22ef969cb82 & f5be4ea5b43e & 25dc02a2acae new distribution & installation guides

2014-03-15 Thread Larry Hastings
Larry Hastings added the comment: ok. actually pulling all the docs from default into 3.4. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue18257] Two copies of python-config

2014-03-15 Thread Larry Hastings
Larry Hastings added the comment: Can I mark this closed? I'm tagging 3.4.0 final soon. -- ___ Python tracker <http://bugs.python.org/issue18257> ___ ___

[issue16245] Update html.entities.html5 dictionary and parseentities.py

2014-03-15 Thread Larry Hastings
Larry Hastings added the comment: Was this done? I'm tagging 3.4.0 final soon. -- ___ Python tracker <http://bugs.python.org/issue16245> ___ ___ Pytho

[issue20379] help(instance_of_builtin_class.method) does not display self

2014-03-15 Thread Larry Hastings
Larry Hastings added the comment: Fixed in b2ee3fe195e2. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue16123] IDLE - deprecate running without a subprocess

2014-03-15 Thread Larry Hastings
Larry Hastings added the comment: If the 3.4 changes are done, can we either close this or remove 3.4 from the versions? -- nosy: +larry ___ Python tracker <http://bugs.python.org/issue16

[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-15 Thread Larry Hastings
Larry Hastings added the comment: So is this fixed? Can we close the issue? I'm tagging 3.4.0 final soon. -- nosy: +larry ___ Python tracker <http://bugs.python.org/is

[issue20440] Use Py_REPLACE/Py_XREPLACE macros

2014-03-18 Thread Larry Hastings
Larry Hastings added the comment: Yeah, I'm not accepting this for 3.4 at this point, and I bet the other RMs feel the same way. -- ___ Python tracker <http://bugs.python.org/is

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Larry Hastings
Larry Hastings added the comment: Since 3.4 and 3.5 are different code bases, I assume you'd be willing to check this in for both. Assuming that's the case, please tick the 3.5 version too. -- ___ Python tracker <http://bugs.python.o

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-23 Thread Larry Hastings
Larry Hastings added the comment: Martin: I hadn't realized there was such a rule from Guido. Can you cite where he said that? Obviously I didn't mind accepting this patch, as it looks like it would have roughly zero maintenance cost for anyone who doesn't care about 68k. Bu

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-24 Thread Larry Hastings
Larry Hastings added the comment: It sounds like this definitely won't happen for 3.4. And if Guido has indeed declared "no code for unsupported platforms", it won't happen for 3.5 either. -- versions: -Python 3.4 ___ P

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-24 Thread Larry Hastings
Larry Hastings added the comment: I agree that it's a short and straightforward patch, and as stated I wouldn't mind accepting it. However, I don't make a habit of going against Guido's rulings. -- ___ Python tracker <

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-24 Thread Larry Hastings
Larry Hastings added the comment: That's why I haven't said firmly yes or no yet. I expect to see Guido in just over two weeks, and if nothing turns up by then I'll ask him in person. Is anybody here in a hurry? -- ___ Python

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-03-26 Thread Larry Hastings
Larry Hastings added the comment: (And hooray for that, given the meteoric rise of AtheOS. :| ) I'm going to go way out on a limb and say that Guido hasn't made a pronouncement here. Also, the discussions cited by Martin are about entire new platforms (AtheOS, Haiku), whereas

[issue21088] curses addch() argument position reverses in Python3.4.0

2014-03-28 Thread Larry Hastings
Larry Hastings added the comment: That's my fault. That conversion was done at a time when there were a lot fewer eyes looking at AC. It should obviously be fixed, and a test added to the regression test suite. It'd also be nice if running the curses test didn't make rea

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-04 Thread Larry Hastings
Larry Hastings added the comment: > I retract my veto. You don't have a "veto". Only Guido has that. Anyhow you have yet to reply to Mr. Schwab's assertion: > The emulator has always correctly implemented the insn. If that's true, then I don't understa

[issue19655] Replace the ASDL parser carried with CPython

2014-04-05 Thread Larry Hastings
Larry Hastings added the comment: I was told to keep Argument Clinic compatible with 3.3. I think it's a good idea for the tools to not require absolutely current Python. Would it be a big deal to support 3.3? -- ___ Python tracker

[issue21109] tarfile: Traversal attack vulnerability

2014-04-06 Thread Larry Hastings
Larry Hastings added the comment: Thank you Lars for your thorough reply. While I agree that this isn't a release blocker, as it was clearly designed to behave this way... it seems to me that it wouldn't take much to make the tarfile module a lot safer. Specifically: * D

[issue16395] Documentation claims that PySequence_Fast returns a tuple, when it actually returns a list.

2014-04-08 Thread Larry Hastings
Larry Hastings added the comment: I have no objections to someone backporting this. -- ___ Python tracker <http://bugs.python.org/issue16395> ___ ___ Python-bug

[issue21088] curses addch() argument position reverses in Python3.4.0

2014-04-08 Thread Larry Hastings
Larry Hastings added the comment: How about examining the inspect.Signature? -- ___ Python tracker <http://bugs.python.org/issue21088> ___ ___ Python-bugs-list m

[issue21199] Python on 64-bit Windows uses signed 32-bit type for read length

2014-04-10 Thread Larry Hastings
Larry Hastings added the comment: Benjamin: given the brave new world of 2.7 living even longer, Guido said this sort of bug fix was fair game. Will you accept a patch for this in 2.7? -- assignee: -> larry nosy: +benjamin.peterson ___ Pyt

[issue21199] Python on 64-bit Windows uses signed 32-bit type for read length

2014-04-15 Thread Larry Hastings
Larry Hastings added the comment: I don't think we can fix this. file_read returns a str, and str can have at most SSIZE_T_MAX entries. So, file_read could read size_t characters, but it couldn't return them. -- ___ Python trac

[issue21199] Python on 64-bit Windows uses signed 32-bit type for read length

2014-04-15 Thread Larry Hastings
Larry Hastings added the comment: D'oh, yeah, you guys are right. SSIZE_T_MAX > LONG_MAX, so that's an improvement. We just can't do the full size_t range. -- ___ Python tracker <http://bugs.

[issue21199] Python on 64-bit Windows uses signed 32-bit type for read length

2014-04-16 Thread Larry Hastings
Larry Hastings added the comment: Here's my version of the patch. It does the same thing Victor's patch does, but removes a now-completely-irrelevant stanza of code, and adds a test. I'm on 64-bit Linux, so the test was always going to work anyway. So I tested the test by cha

[issue20438] inspect: Deprecate getfullargspec?

2014-04-16 Thread Larry Hastings
Larry Hastings added the comment: +1 to doc deprecation and adding a DeprecationWarning for 3.5. -- ___ Python tracker <http://bugs.python.org/issue20438> ___ ___

[issue20904] HAVE_PY_SET_53BIT_PRECISION for m68k

2014-04-16 Thread Larry Hastings
Larry Hastings added the comment: Okay, I say let's check this in. If mirabilos can cite problems it causes we can revert it. Andreas, is there someone who would normally check this in for you, or should I do it? -- ___ Python tracker

[issue21088] curses addch() argument position reverses in Python3.4.0

2014-04-16 Thread Larry Hastings
Larry Hastings added the comment: Here's my version of the patch, which is like Victor's patch but adds a test. For what it's worth, I'll make sure this issue is fixed before I release 3.4.1. -- Added file: http://bugs.python.org/file34939/larry.curses.win

[issue21293] Remove "capsule hack" from object.c?

2014-04-17 Thread Larry Hastings
New submission from Larry Hastings: I noticed this code in Objects/object.c today: /* Hack to force loading of pycapsule.o */ PyTypeObject *_PyCapsule_hack = &PyCapsule_Type; What is this doing? Note that PyCapsule_Type is referred to inside _Py_ReadyTypes(), so there's

[issue21294] len wrong help

2014-04-17 Thread Larry Hastings
Larry Hastings added the comment: It's really that easy, it was a stupid bug that is probably my fault, the fix will be in 3.4.1. -- ___ Python tracker <http://bugs.python.org/is

[issue21399] inspect and class methods

2014-05-01 Thread Larry Hastings
Larry Hastings added the comment: By default AC emits "$type" for class methods, see dict_fromkeys in Objects/dictobject.c. -- ___ Python tracker <http://bugs.python.o

[issue21121] -Werror=declaration-after-statement is added even for extension modules through setup.py

2014-05-03 Thread Larry Hastings
Larry Hastings added the comment: If you guys want this in 3.4.1, please get it checked in in the next, oh, eight hours. -- ___ Python tracker <http://bugs.python.org/issue21

[issue21088] curses addch() argument position reverses in Python3.4.0

2014-05-04 Thread Larry Hastings
Changes by Larry Hastings : -- assignee: -> larry resolution: -> fixed stage: needs patch -> resolved ___ Python tracker <http://bugs.python.or

[issue21121] -Werror=declaration-after-statement is added even for extension modules through setup.py

2014-05-04 Thread Larry Hastings
Larry Hastings added the comment: Sorry, I should have said "3.4.1rc1". You can still get it in for 3.4.1. -- ___ Python tracker <http://bugs.python.o

[issue21431] 3.4.1rc1 test_pydoc fails: pydoc_data.topics.topics values are type "bytes" not "str"

2014-05-04 Thread Larry Hastings
Larry Hastings added the comment: 3.4.1rc1 is the first release I've cut where the makefile didn't auto-download Sphinx. And then the makefile used "python" and "sphinx-build" straight off the path, rather than finding the local ones. To generate pydoc-topi

[issue21431] 3.4.1rc1 test_pydoc fails: pydoc_data.topics.topics values are type "bytes" not "str"

2014-05-04 Thread Larry Hastings
Larry Hastings added the comment: Well, surely working with the current python is sufficient? I'd be happy if it was only guaranteed to run with the python tree it's a part of. -- ___ Python tracker <http://bugs.python.o

[issue21435] Segfault with cyclic reference and asyncio.Future

2014-05-08 Thread Larry Hastings
Larry Hastings added the comment: I'm totally on board with you guys checking this in for 3.4.1. -- ___ Python tracker <http://bugs.python.org/issue21435> ___ ___

[issue7776] http.client.HTTPConnection tunneling is broken

2014-05-11 Thread Larry Hastings
Larry Hastings added the comment: dstufft, what do you think? -- nosy: +dstufft ___ Python tracker <http://bugs.python.org/issue7776> ___ ___ Python-bugs-list m

[issue21088] curses addch() argument position reverses in Python3.4.0

2014-05-13 Thread Larry Hastings
Changes by Larry Hastings : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue21088> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21483] Skip os.utime() test on NFS?

2014-05-13 Thread Larry Hastings
Larry Hastings added the comment: Antoine's plan sounds good to me. And, is it true that NFS only supports four-byte timestamps? -- ___ Python tracker <http://bugs.python.org/is

[issue21112] 3.4 regression: unittest.expectedFailure no longer works on TestCase subclasses

2014-05-16 Thread Larry Hastings
Larry Hastings added the comment: Berker: do you consider your diff ready to go in, or is it an "early" diff (like a work-in-progress)? -- ___ Python tracker <http://bugs.python.o

[issue7776] http.client.HTTPConnection tunneling is broken

2014-05-16 Thread Larry Hastings
Larry Hastings added the comment: I tag 3.4.1 final in less than 24 hours. I really would prefer that the embedded pip not contain such, uh, fresh software. But let's try it and hope for the best. -- ___ Python tracker <http://bugs.py

[issue7776] http.client.HTTPConnection tunneling is broken

2014-05-16 Thread Larry Hastings
Larry Hastings added the comment: Yeah, I'd like to see the diff. -- ___ Python tracker <http://bugs.python.org/issue7776> ___ ___ Python-bugs-list m

[issue7776] http.client.HTTPConnection tunneling is broken

2014-05-17 Thread Larry Hastings
Larry Hastings added the comment: Okay, this has my blessing to be merged for 3.4.1. -- ___ Python tracker <http://bugs.python.org/issue7776> ___ ___ Python-bug

[issue7776] http.client.HTTPConnection tunneling is broken

2014-05-17 Thread Larry Hastings
Changes by Larry Hastings : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue7776> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21470] Better seeding for the random module

2014-05-17 Thread Larry Hastings
Larry Hastings added the comment: (If the past few weeks have taught us *anything*, it's that we can't look to OpenSSL to learn best practices.) -- nosy: +larry stage: -> resolved ___ Python tracker <http://bugs.pytho

[issue21112] 3.4 regression: unittest.expectedFailure no longer works on TestCase subclasses

2014-05-17 Thread Larry Hastings
Larry Hastings added the comment: Considering that I'm tagging 3.4.1 within an hour or two, and we don't have a patch yet, I'd say that this is too late to go into 3.4.1. But I'm happy to consider it for a future 3.4.x revision. -- __

[issue21520] Erroneous zipfile test failure if the string 'bad' appears in pwd

2014-05-17 Thread Larry Hastings
New submission from Larry Hastings: If you extract current Python (3.4 or trunk) into a directory, and anywhere in the name of the directory is the string "bad", such as /tmp/badtest /home/baddison/src/python then test_write_filtered_python_package() in Lib/test/test_zipfile.py

[issue21520] Erroneous zipfile test failure if the string 'bad' appears in pwd

2014-05-18 Thread Larry Hastings
Larry Hastings added the comment: Here's an eye-wateringly-thorough description of the bug for the sake of posterity. The test code in question is test_write_filtered_python_package() in Lib/test/test_zipfile.py. This function uses PyZipFile to build a zipfile from the contents of the

<    4   5   6   7   8   9   10   11   12   13   >