[issue15112] argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positional

2012-06-22 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15112 ___ ___

[issue8355] diff.py produce unified format by default

2012-06-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The reasons for rejecting this still apply. -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8355 ___

[issue15114] Deprecate strict mode of HTMLParser

2012-06-22 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15114 ___ ___

[issue15083] Rewrite ElementTree tests in a cleaner and safer way

2012-06-22 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15083 ___ ___

[issue8355] diff.py produce unified format by default

2012-06-22 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: The reasons for rejecting this still apply. Which specifically are valid for 3.3? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8355

[issue10941] imaplib: Internaldate2tuple produces wrong result if date is near a DST change

2012-06-22 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- assignee: - belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10941 ___

[issue15141] IDLE horizontal scroll bar missing (Win-XPsp3)

2012-06-22 Thread Pat
New submission from Pat pasqual...@ymail.com: There is no horizontal scroll bar at the bottom of the IDLE editor window. When a program line exceeds the window area, the window has to be widened, or text has to be manually selected beyond the window to see or edit that portion of the line. No

[issue1644987] ./configure --prefix=/ breaks, won't build C modules

2012-06-22 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Closing, since this is ancient. Please, open a new bug if still relevant (for 2.7, 3.2 or 3.3). -- assignee: tarek - serwy nosy: +serwy resolution: - out of date status: open - closed ___ Python

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Added some review comments on latest patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue444582 ___

[issue15124] _thread.LockType: Optimize lock deletion, acquisition of uncontested lock and release of lock.

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset dfc7fd24983a by Kristjan Valur Jonsson in branch 'default': Issue #15124: Optimize _thread.LockType deletion and acquisition when http://hg.python.org/cpython/rev/dfc7fd24983a -- nosy: +python-dev

[issue15124] _thread.LockType: Optimize lock deletion, acquisition of uncontested lock and release of lock.

2012-06-22 Thread Kristján Valur Jónsson
Changes by Kristján Valur Jónsson krist...@ccpgames.com: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15124 ___

[issue15125] argparse: positional arguments containing - in name not handled well

2012-06-22 Thread Nicu Stiurca
Nicu Stiurca supernic2...@gmail.com added the comment: Re-selecting Python 2.6 under version (I think it was accidentally unselected). Here as another related error: if I try to add dest=baz to the a.add_argument() call, it throws ValueError: dest supplied twice for positional argument

[issue15125] argparse: positional arguments containing - in name not handled well

2012-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Nope, it was intentionally unselected. We use versions for the versions in which we will fix the bug, and 2.6 gets only security patches at this point. In any case, argparse isn't part of the stdlib in 2.6. -- versions:

[issue1644987] ./configure --prefix=/ breaks, won't build C modules

2012-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I took the five minutes to test this. It does not fail in 2.7. I remember we fixed some other issues with '-prefix=/', so I presume this got fixed at that time as a byproduct. Either that, or it was a Fedora bug of some sort.

[issue15140] PEP 384 inconsistent with implementation

2012-06-22 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: It's a bug in the PEP: users need to provide the module documentation through Py_tp_doc (which actually is mentioned in the PEP). I'll fix it. -- ___ Python tracker rep...@bugs.python.org

[issue14785] Add sys._debugmallocstats()

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d63a80abfbec by David Malcolm in branch 'default': Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues http://hg.python.org/cpython/rev/d63a80abfbec -- nosy:

[issue15125] argparse: positional arguments containing - in name not handled well

2012-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Oh, and to make sure your second report doesn't get lost, could you open another issue for the other bug, and give a complete example? -- ___ Python tracker rep...@bugs.python.org

[issue14837] Better SSL errors

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 96513d71e650 by Antoine Pitrou in branch 'default': Issue #14837: SSL errors now have `library` and `reason` attributes describing precisely what happened and in which OpenSSL submodule.

[issue14837] Better SSL errors

2012-06-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There it is, Georg :) As mentioned in the commit message, this unfortunately creates a reference leak, which is apparently related to the use of the stable ABI. -- resolution: - fixed stage: - committed/rejected status: open - closed

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-06-22 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: http://bugs.python.org/review/14626/diff/5182/Doc/library/os.rst#newcode1210 Doc/library/os.rst:1210: using it will raise a :exc:`NotImplementedError`. Same as above: would it make sense to ignore the arg if follow_symlinks is not

[issue9527] Add aware local time support to datetime module

2012-06-22 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: This patch breaks OpenIndiana buildbots. For instance http://www.python.org/dev/buildbot/all/builders/AMD64%20OpenIndiana%203.x/builds/3810/steps/test/logs/stdio FAIL: test_astimezone_default_eastern (test.datetimetester.TestDateTimeTZ_Pure)

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Attached is a patch which fixes your review comments in Lib/shutil.py, and it makes an adjustment in the wording of the documentation. The documentation is a bit more strong in wording that the current directory is always prepended to the path

[issue9527] Add aware local time support to datetime module

2012-06-22 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Working on this. It turns out tm_gmtoff uses the opposite sign to that of timezone in time.h. For more confusion, consider this: $ TZ=EST+5 date +%z -0500 I am rechecking all UTC offset signs. On Fri, Jun 22, 2012 at

[issue15061] hmac.secure_compare() leaks information about length of strings

2012-06-22 Thread Christian Heimes
Christian Heimes li...@cheimes.de added the comment: In order to get the patch in before the beta release I'm willing to drop the promise and document that the function may leak some information if the arguments differ in length or the arguments' types are incompatible. --

[issue15061] hmac.secure_compare() leaks information about length of strings

2012-06-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: In order to get the patch in before the beta release I'm willing to drop the promise and document that the function may leak some information if the arguments differ in length or the arguments' types are incompatible. That's not a problem to

[issue15142] Fix reference leak with types created using PyType_FromSpec

2012-06-22 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: The following patch seems to fix the issue explained in http://mail.python.org/pipermail/python-dev/2012-June/120659.html : diff --git a/Objects/typeobject.c b/Objects/typeobject.c --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@

[issue15143] Windows compile errors

2012-06-22 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: The Windows buildbot are broken, they don't compile anymore. The errors seem to be: [...] ResourceCompile: C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /l0x0409 /I..\PC /I..\Include /nologo

[issue14769] Add test to automatically detect missing format units in skipitem()

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 40d7869501a2 by Larry Hastings in branch 'default': Issue #14769: Incorporated mildly pedantic feedback from python-dev. http://hg.python.org/cpython/rev/40d7869501a2 --

[issue15144] Possible integer overflow in operations with addresses and sizes.

2012-06-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka storch...@gmail.com: In unicodeobject.c and stringlib aligned addresses and sizes are used for optimization. pointer-integer and implicit integer-integer conversions may overflow or underflow on platforms with sizeof(size_t) != sizeof(void *) or

[issue15102] Fix 64-bit building for buildbot scripts

2012-06-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Now that my buildbot is up and building (and failing at that) could these changes be committed? Well, it would be nice if you could post an updated patch after the comments above. (I'm not saying I'm gonna commit, since I'm not a Windows

[issue15144] Possible integer overflow in operations with addresses and sizes.

2012-06-22 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15144 ___ ___

[issue15138] base64.urlsafe_b64**code are too slow

2012-06-22 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Antoine thinks so: http://bugs.python.org/issue15139 :-) I think we should have an official policy, though. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15138

[issue9527] Add aware local time support to datetime module

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0f0e3ec22fce by Alexander Belopolsky in branch 'default': Issue #9527: tm_gmtoff has 'correct' sign. http://hg.python.org/cpython/rev/0f0e3ec22fce -- ___ Python tracker

[issue15008] PEP 362 Signature Objects reference implementation

2012-06-22 Thread Yury Selivanov
Yury Selivanov yseliva...@gmail.com added the comment: New patch - pep362.8.patch One big change (Guido's request) - No more AttributeErrors on missing Parameter.default of Signature.return_annotation. They now will be set to Parameter.empty Signature.empty correspondingly. --

[issue15143] Windows compile errors

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset f59e6cc3d5eb by Martin v. Löwis in branch 'default': Issue #15143: Define _DEBUG when compiling resources. http://hg.python.org/cpython/rev/f59e6cc3d5eb -- nosy: +python-dev

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I'm fine with this version going in, but I don't understand what you are saying about PATHEXT. You are getting it from the environment, but you say the shell always looks at the extension. So if someone has changed PATHEXT in their

[issue15145] Faster *_find_max_char

2012-06-22 Thread Serhiy Storchaka
New submission from Serhiy Storchaka storch...@gmail.com: Here is patch that speed up *_find_max_char stringlib functions. Microbenchmarks: ./python -m timeit -s s='A'*20+'\x80' s[:-1] ./python -m timeit -s s='A'*20+'\U0001' s[:-1] Results on Intel Atom N570 @ 1.66GHz: vanilla patched

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: I don't know. It makes sense to me. I'll try to find someone else to look at it and adjust it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue444582

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I don't really understand why you call abspath(). If the caller wants an absolute path, they can call abspath() themselves. -- ___ Python tracker rep...@bugs.python.org

[issue14785] Add sys._debugmallocstats()

2012-06-22 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- keywords: -needs review resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14785

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0fe7439e470c by Brian Curtin in branch 'default': Fix #444582. Add shutil.which function for finding programs on the system path. http://hg.python.org/cpython/rev/0fe7439e470c -- nosy: +python-dev

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: I don't really understand why you call abspath(). If the caller wants an absolute path, they can call abspath() themselves. Because that is what `which` does. I just pushed the change before I saw this message, so it went in as the patch

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I think it would be more surprising if by default it did something different than what the 'which' command does. It also seems like the most useful result to return by default. If there's demand for a non-abspath version we could add

[issue665194] datetime-RFC2822 roundtripping

2012-06-22 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Most of the localtime() logic is now implemented (correctly) in datetime.astimezone(). Attached patch fixes email.utils.localtime() implementation. -- status: closed - open Added file:

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I just pushed the change before I saw this message, so it went in as the patch shows. Do you want this changed? Well, I think it would be better indeed. -- ___ Python tracker rep...@bugs.python.org

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I think it would be more surprising if by default it did something different than what the 'which' command does. You know, I've never noticed that Unix `which` automatically abspathified the results (does it always? is it system-dependent? how

[issue15145] Faster *_find_max_char

2012-06-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: 0.8190.73 0.7880.755 Are there any circumstances where this produces a larger speedup? I don't think a 10% improvement on a micro-benchmark is interesting at all (it's basically 0% on any real-world program). -- nosy: +pitrou

[issue665194] datetime-RFC2822 roundtripping

2012-06-22 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue665194 ___ ___

[issue15102] Fix 64-bit building for buildbot scripts

2012-06-22 Thread Jeremy Kloth
Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com: Added file: http://bugs.python.org/file26095/5924b376d15f.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15102 ___

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I'm fine with it changing. Hopefully it won't introduce subtle bugs in anyone's programs :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue444582

[issue13590] extension module builds fail with python.org OS X installers on OS X 10.7 and 10.6 with Xcode 4.2

2012-06-22 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: With version 2 of the patch I can bootstrap on OSX 10.5 as well (removes the dependency on subprocess, falls back on os.system instead) This also removes _binary_on_path as suggested by Éric. The patch needs more testing: I haven't

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 9d2fe615a400 by Antoine Pitrou in branch 'default': Issue #444582: shutil.which() respects relative paths. http://hg.python.org/cpython/rev/9d2fe615a400 -- ___ Python

[issue444582] Finding programs in PATH, adding shutil.which

2012-06-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There is another small issue: it returns the normcase'd dir, which means that the case is lost under Windows. Not very serious, but cosmetically imperfect I suppose. -- ___ Python tracker

[issue15138] base64.urlsafe_b64**code are too slow

2012-06-22 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: So, can I check this into 3.3? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15138 ___ ___

[issue15138] base64.urlsafe_b64**code are too slow

2012-06-22 Thread Guido van Rossum
Changes by Guido van Rossum gu...@python.org: -- assignee: - gvanrossum stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15138 ___

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-06-22 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Looks like the FreeBSD bot fails in test_posix: == ERROR: test_fs_holes (test.test_posix.PosixTester)

[issue15138] base64.urlsafe_b64**code are too slow

2012-06-22 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I haven't tested the patch, but it looks fine to me. -- versions: -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15138 ___

[issue15112] argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positional

2012-06-22 Thread Walter Mundt
Walter Mundt waltermu...@codethink.info added the comment: Attached is a patch to fix this bug by deferring matching of nargs='*' argument against a zero-length pattern until the end of the arguments list. I believe that it ought to be maximally conservative in that it should not change the

[issue15145] Faster *_find_max_char

2012-06-22 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Are there any circumstances where this produces a larger speedup? I don't know. *_find_max_char in any case only a part of expensive functions. Even if it is optimized to zero time, this will most likely not produce a larger speedup. I

[issue15145] Faster *_find_max_char

2012-06-22 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- priority: normal - low stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15145 ___

[issue15138] base64.urlsafe_b64**code are too slow

2012-06-22 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Submitted. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15138 ___

[issue15008] PEP 362 Signature Objects reference implementation

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d892bf410478 by Larry Hastings in branch 'default': Issue #15008: Implement PEP 362 Signature Objects. http://hg.python.org/cpython/rev/d892bf410478 -- nosy: +python-dev

[issue15008] PEP 362 Signature Objects reference implementation

2012-06-22 Thread Yury Selivanov
Changes by Yury Selivanov yseliva...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15008 ___

[issue15008] PEP 362 Signature Objects reference implementation

2012-06-22 Thread Larry Hastings
Changes by Larry Hastings la...@hastings.org: -- stage: patch review - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15008 ___

[issue14923] Even faster UTF-8 decoding

2012-06-22 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Here is a patch that uses some sort of autodetection. -- Added file: http://bugs.python.org/file26098/decode_utf8_signed_byte-2.patch ___ Python tracker rep...@bugs.python.org

[issue15146] Implemented PyType_FromSpecWithBases

2012-06-22 Thread Robin Schreiber
New submission from Robin Schreiber robin.schrei...@me.com: Enhancement to the currently existing PyType_FromSpec() which creates and returns a heap type from a given spec. PyType_FromSpecWithBases() works similar to PyType_FromSpec(), however it sets the bases of the newly created heap type

[issue15146] Implemented PyType_FromSpecWithBases

2012-06-22 Thread Robin Schreiber
Changes by Robin Schreiber robin.schrei...@me.com: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15146 ___ ___ Python-bugs-list

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 27f9c26fdd8b by Larry Hastings in branch 'default': Issue #14626: Large refactoring of functions / parameters in the os module. http://hg.python.org/cpython/rev/27f9c26fdd8b -- nosy: +python-dev

[issue15147] Remove packaging from the stdlib

2012-06-22 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: Eric, this is for you. If you do only one thing before the 3.3 beta, please do this. -- assignee: eric.araujo components: Library (Lib) messages: 163504 nosy: eric.araujo, georg.brandl, pitrou priority: release blocker severity: normal

[issue10941] imaplib: Internaldate2tuple produces wrong result if date is near a DST change

2012-06-22 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: I updated the fix to take advantage of resolved issue 9527. I also noticed and fixed another bug: Internaldate2tuple was using locale-dependent %b directive for strftime. -- Added file:

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 04fd8f77a58e by Larry Hastings in branch 'default': Issue #14626: Fix buildbot issues on FreeBSD (AMD64). (Fingers crossed.) http://hg.python.org/cpython/rev/04fd8f77a58e --

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset e1e0eeb07398 by Larry Hastings in branch 'default': Issue #14626: Fix buildbot issue on x86 Tiger 3.x. http://hg.python.org/cpython/rev/e1e0eeb07398 -- ___ Python tracker

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 13f5a329d5ea by Jesus Cea in branch 'default': Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA http://hg.python.org/cpython/rev/13f5a329d5ea -- ___

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-06-22 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: This looks like a bug in freebsd: http://lists.freebsd.org/pipermail/freebsd-amd64/2012-January/014332.html Since looks like a kernel bug, skipping test in that case. Committed patch. Thanks for the head-up. --

[issue10941] imaplib: Internaldate2tuple produces wrong result if date is near a DST change

2012-06-22 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: The latest patch belongs to issue 11024. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10941 ___

[issue10142] Support for SEEK_HOLE/SEEK_DATA

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 8acaa341df53 by Jesus Cea in branch 'default': Skip the test only if neccesary - Kernel bug in freebsd9 - #10142: Support for SEEK_HOLE/SEEK_DATA http://hg.python.org/cpython/rev/8acaa341df53 --

[issue15147] Remove packaging from the stdlib

2012-06-22 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Yep, that was on my planning for tonight or tomorrow afternoon. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15147 ___

[issue15147] Remove packaging from the stdlib

2012-06-22 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Distutils2, Documentation nosy: +alexis, tarek stage: needs patch - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15147 ___

[issue11024] imaplib: Time2Internaldate() returns localized strings

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 42b9d9d795f7 by Alexander Belopolsky in branch 'default': Issues #11024: Fixes and additional tests for Time2Internaldate. http://hg.python.org/cpython/rev/42b9d9d795f7 -- nosy: +python-dev

[issue4473] POP3 missing support for starttls

2012-06-22 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: 3.3 beta will be published next Sunday. Any hope? Lorenzo, is your patch applicable to 3.3? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473

[issue15148] shutul.which() docstring could be clearer

2012-06-22 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe tshep...@gmail.com: I find this a little hard to parse (ignoring the obvious typo and the grammar error): Given a file, mode, and a path string, return the path whichs conform to the given mode on the path. One other suggestion: wouldn't 'file' read

[issue15148] shutul.which() docstring could be clearer

2012-06-22 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15148 ___ ___

[issue15148] shutil.which() docstring could be clearer

2012-06-22 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- title: shutul.which() docstring could be clearer - shutil.which() docstring could be clearer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15148

[issue665194] datetime-RFC2822 roundtripping

2012-06-22 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: David, issue665194.diff patch is a bug fix for localtime(). If you decide to keep localtime(), there is not much of a rush because bug fixes can go in after beta. -- ___ Python

[issue15148] shutil.which() docstring could be clearer

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5975292ddf82 by Alexander Belopolsky in branch 'default': Issue #15148: Fixed typos in shutil.which() docstring http://hg.python.org/cpython/rev/5975292ddf82 -- nosy: +python-dev

[issue15148] shutil.which() docstring could be clearer

2012-06-22 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: *file* is correct because shutil.which() is more general than shell which command. (It can be used to find source files on PYTHONPATH, for example.) I think the confusing part is return the path ... on the path. This can

[issue15148] shutil.which() docstring could be clearer

2012-06-22 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: I updated file to command in 973b4806f760. It needs to be command so it matches the implementation's argument name, and because it doesn't exactly take a file. Alexander, can you explain the part about finding a file on PYTHONPATH? I don't

[issue15148] shutil.which() docstring could be clearer

2012-06-22 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Alexander, can you explain the part about finding a file on PYTHONPATH? I thought about something like this: shutil.which('shutil.py', os.F_OK, ':'.join(sys.path)) '/Users/sasha/Work/python-hg/py3k/Lib/shutil.py' but

[issue15149] Release Schedule needs updating

2012-06-22 Thread Tshepang Lekhonkhobe
New submission from Tshepang Lekhonkhobe tshep...@gmail.com: I see some stuff marked 'planned' has been rejected for 3.3, while some has already been implemented. -- assignee: docs@python components: Documentation messages: 163521 nosy: anthonybaxter, barry, benjamin.peterson,

[issue15150] Windows build does not link

2012-06-22 Thread Brian Curtin
New submission from Brian Curtin br...@python.org: 6python3.def : error LNK2001: unresolved external symbol PyState_AddModule 6python3.def : error LNK2001: unresolved external symbol PyState_RemoveModule 6C:\python-dev\cpython\PCbuild\python3.lib : fatal error LNK1120: 2 unresolved externals

[issue15148] shutil.which() docstring could be clearer

2012-06-22 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: Brian, Did you intend to commit Tools/msi/msi.py in changeset 973b4806f760? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15148

[issue15148] shutil.which() docstring could be clearer

2012-06-22 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: No, reverting. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15148 ___ ___ Python-bugs-list

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 66f7377547d5 by Larry Hastings in branch 'default': Issue #14626: Fix buildbot issue on OpenIndiana 3.x machines. (Hopefully.) http://hg.python.org/cpython/rev/66f7377547d5 --

[issue14127] add st_*time_ns fields to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

2012-06-22 Thread Larry Hastings
Larry Hastings la...@hastings.org added the comment: Closing this, as I have now removed os.utimensat and os.futimesat. As well as os.futimens, os.futimes, and os.lutimes. And in fact retooled os.utime in a pretty major way. (See #14626.) -- resolution: - fixed stage: patch review

[issue4473] POP3 missing support for starttls

2012-06-22 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email nosy: +barry, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue15148] shutil.which() docstring could be clearer

2012-06-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yeah, Brian had it as 'file' before, and I asked him to change it because it is confusing. 'file' sounds like a Python file object, which this is not. 'filename' would be OK, but 'cmd', as you note, is what it is really about. One

[issue15148] shutil.which() docstring could be clearer

2012-06-22 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5f18d9d34f73 by Brian Curtin in branch 'default': Fix #15148. Make the shutil.which docstring more thorough http://hg.python.org/cpython/rev/5f18d9d34f73 New changeset aa153b827d17 by Brian Curtin in branch

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2012-06-22 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: So I have a patch that does most of what my previous message shows, but I can't seem to complete it. I don't know if I'm misunderstanding something or this just can't be done, but I could use the help of someone who understands MSI things much

[issue15112] argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positional

2012-06-22 Thread Walter Mundt
Changes by Walter Mundt waltermu...@codethink.info: -- components: +Library (Lib) type: - behavior versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15112 ___

[issue15079] pickle: Possibly misplaced test

2012-06-22 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15079 ___ ___ Python-bugs-list mailing

<    1   2   3   >