[issue9551] ConfigParser.SafeConfigParser.set fails when no value provided

2010-08-10 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: Removed file: http://bugs.python.org/file18460/ConfigParser.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9551 ___

[issue9551] ConfigParser.SafeConfigParser.set fails when no value provided

2010-08-10 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: Patch now includes a unit test. -- Added file: http://bugs.python.org/file18466/ConfigParser.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9551

[issue9548] locale can be imported at startup but relies on too many library modules

2010-08-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: heapq tries to import _heapq but, at this point, the build dir (such as build/lib.linux-x86_64-3.2/) hasn't been added to sys.path The problem only exists for developers, not for an installation copy of Python? Another approach

[issue9548] locale can be imported at startup but relies on too many library modules

2010-08-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: heapq tries to import _heapq but, at this point, the build dir (such as build/lib.linux-x86_64-3.2/) hasn't been added to sys.path The problem only exists for developers, not for an installation copy of Python? This particular problem

[issue9253] argparse: optional subparsers

2010-08-10 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Seems like there's minimally the bug that argparse should currently throw an error if you add an argument after subparsers (since that argument will never be parsed under the current semantics). I do believe that supporting an

[issue9554] test_argparse.py: use new unittest features

2010-08-10 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: These all look like good changes to me. (I looked at the patch, but haven't tried applying it though.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9554

[issue9345] argparse wrap tests are sensitive to terminal size

2010-08-10 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Marking as duplicate of 9553 (which has a better description and a patch). -- resolution: - duplicate ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9345

[issue9548] locale can be imported at startup but relies on too many library modules

2010-08-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Indeed, but since it calls sysconfig.get_platform(), I'm not sure how much code would need to be rewritten in C. Oh, the function is prefixed by the following comment: # XXX This should not be part of site.py, since it is needed

[issue9553] test_argparse.py: 80 failures if COLUMNS env var set to a value other than 80

2010-08-10 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: The best solution would be to make sure that a few different column widths are tested. However, in the meantime, the tests do assume 80 columns, so I think it's correct to specify that using os.environ as suggested. One problem with

[issue9345] argparse wrap tests are sensitive to terminal size

2010-08-10 Thread Steven Bethard
Steven Bethard steven.beth...@gmail.com added the comment: Actually closing this time. Duplicate of issue 9553. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9345

[issue8432] buildbot: test_send_signal of test_subprocess failure

2010-08-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: http://www.python.org/dev/buildbot/builders/x86%20FreeBSD%203.x/builds/492 On this report, both implementations (Python and C) failed: FAIL: test_send_signal (test.test_subprocess.POSIXProcessTestCase) FAIL: test_send_signal

[issue8432] buildbot: test_send_signal of test_subprocess failure

2010-08-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The problem is maybe that the SIGINT is ignored on these particular platforms (FreeBSD and Mac OS X). I worked on this topic recently (see issue #3137) and I cannot guarantee that exceptions are still ignored somewhere. I can investigate if

[issue1744382] Read Write lock

2010-08-10 Thread Yaakov Nemoy
Yaakov Nemoy loupgaroubl...@users.sourceforge.net added the comment: Feel free to close this. I can't commit to maintaining this right now, if i ever find the time, i can reopen the issue. -- ___ Python tracker rep...@bugs.python.org

[issue9555] transient crashes on x86 XP-4 buildbot: test_file, test_file2k, test_bsddb3

2010-08-10 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: There's frequent crashes on the x86 XP-4 buildbot. On 2.6: 83915: # something crashed: test_file 83913: success 83743: # something crashed: test_file 83738: success 83721: success 83718: # something crashed: test_file 83704:

[issue9555] transient crashes on x86 XP-4 buildbot: test_file, test_file2k, test_bsddb3

2010-08-10 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: IIUC code -1073741819 (0XC005) is an acces violation. Some other issues with same error code: #6869, #8849, ... -- ___ Python tracker rep...@bugs.python.org

[issue9555] transient crashes on x86 XP-4 buildbot: test_file, test_file2k, test_bsddb3

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9555 ___ ___

[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

2010-08-10 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: - Using _UNSET similar in the docs is not good; there used to be a way to note a parameter as optional. Not sure whether there is any more. - Docs for methods which take vars/default should include a note indicating where to find the

[issue7182] For non-debug builds, the cygwinccompiler.py should define NDEBUG

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7182 ___ ___

[issue1173134] improvement of the script adaptation for the win32 platform

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- assignee: - tarek components: +Windows nosy: +tarek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1173134 ___

[issue1626300] 'Installing Python Modules' does not work for Windows

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- assignee: - d...@python components: +Windows nosy: +d...@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1626300 ___

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9116 ___ ___

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

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4032 ___ ___

[issue8171] bdist_wininst builds wrongly for --plat-name=win-amd64

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8171 ___ ___

[issue8170] Wrong Paths for distutils build --plat-name=win-amd64

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8170 ___ ___

[issue8548] Building on CygWin 1.7: PATH_MAX redefined

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8548 ___ ___

[issue5879] multiprocessing - example pool of http servers fails on windows socket has no attribute fromfd

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5879 ___ ___

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2233 ___ ___

[issue7405] compiling python 3.1.1 using cygwin 1.7.0 and gcc 4.3.4

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7405 ___ ___

[issue9503] print statement hangs Windows service

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9503 ___ ___

[issue1708316] doctest work with Windows PyReadline

2010-08-10 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1708316 ___ ___

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure

2010-08-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9516 ___ ___

[issue8432] buildbot: test_send_signal of test_subprocess failure

2010-08-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: These tests exist and pass on 2.7 and 3.1. Ok. In r78946, for the pure Python implementation, I only see the restoration of the signals which can be related to this issue. -- ___

[issue9553] test_argparse.py: 80 failures if COLUMNS env var set to a value other than 80

2010-08-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: There's a handy utility for this in test.support: EnvironmentVarGuard. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9553

[issue9556] Specifying the time a TimedRotatingFileHandler rotates

2010-08-10 Thread Ronald Oussoren
New submission from Ronald Oussoren ronaldousso...@mac.com: The logging module contains a TimedRotatingFileHandler that automaticly rotates the logfile after a specified interval. This class misses an important feature: it is not possible to specify at what time the file should be rotated,

[issue9556] Specifying the time a TimedRotatingFileHandler rotates

2010-08-10 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- type: behavior - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9556 ___ ___

[issue9549] Remove sys.setdefaultencoding()

2010-08-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Is it possible to add a deprecation warning in 2.7 too? If not, at least a recommendation not to use it in the 2.7 docs? I am willing to write one or two paragraphs to explain why it’s a terrible idea. -- nosy: +merwok

[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

2010-08-10 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: I am away from the computer at the moment but doing my best to reply. - Using _UNSET similar in the docs is not good; there used to be a way to note a parameter as optional. Not sure whether there is any more. I don't know where to look

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-10 Thread J . David Ibáñez
J. David Ibáñez jda...@itaapy.com added the comment: This issue has broken our build system too. A bug has been fixed, but another one is open now. If the MANIFEST file has been produced by distutils it should be regenerated each time. But if it has not been produced by distutils then it

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-10 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I agree with msg113530 and msg112371 that the current behavior is a bug: distutils is now too agressive because it recalculates the MANIFEST file even when distutils isn't the one that calculated it in the first place. This is a

[issue9555] transient crashes on x86 XP-4 buildbot: test_file, test_file2k, test_bsddb3

2010-08-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Maybe is this duplicate of #9295? -- nosy: +ocean-city ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9555 ___

[issue9551] ConfigParser.SafeConfigParser.set fails when no value provided

2010-08-10 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: Committed on the release27-maint branch as 83931. -- keywords: -needs review resolution: - accepted status: open - closed ___ Python tracker rep...@bugs.python.org

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

2010-08-10 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I like the idea of a marker in a comment line in the MANIFEST, we can introduce this as a bug fix to avoid this regression -- ___ Python tracker rep...@bugs.python.org

[issue9421] configparser.ConfigParser's getint, getboolean and getfloat don't accept `vars`

2010-08-10 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: Even I think the leading underscore screams don't use this from outside, doofus! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9421

[issue9295] test_close_open_print_buffered(test_file) sometimes crashes

2010-08-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I cannot crash python by above patch anymore... Strange. Is test_close_open_print_buffered the only test that fails? It seem to be. Is freeing the memory allocated for setvbuf() while close() running in another thread really

[issue9557] test_mailbox failure under a Windows VM

2010-08-10 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: I get this failure in test_mailbox under Windows XP running in a qemu virtual machine: == FAIL: test_reread (test.test_mailbox.TestMaildir)

[issue9261] include higher (../../) dirs fails

2010-08-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I think disallowing .. is fine, so I’m assigning to myself to make sure I’ll take time later to check the docs. -- assignee: tarek - merwok ___ Python tracker rep...@bugs.python.org

[issue8411] New GIL: improve condition variable emulation on NT

2010-08-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thanks Kristján, I've committed the patch with modified comments in r83932. Unfortunately, the Windows buildbots are in a wreck, so this won't be checked immediately (I only have a single-core XP VM under which the patch ran fine). --

[issue9295] test_close_open_print_buffered(test_file) sometimes crashes

2010-08-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: - above patch + above script -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9295 ___

[issue5300] Distutils ignores file permissions

2010-08-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Distutils2 -Distutils versions: +Python 2.5, Python 2.6, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5300 ___

[issue9558] build_ext fails on VS8.0

2010-08-10 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: test_build_ext fails on VS8.0. == ERROR: test_build_ext (distutils.tests.test_build_ext.BuildExtTestCase)

[issue9558] build_ext fails on VS8.0

2010-08-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Is *release blocker* too strong? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9558 ___

[issue5673] Add timeout option to subprocess.Popen

2010-08-10 Thread Pablo Bitton
Pablo Bitton pablo.bit...@gmail.com added the comment: I reproduced the problem with the latest patch, subprocess-timeout-py3k-v7.patch, on py3k on Linux. Attached is the code to reproduce the problem and the resulting traceback. -- Added file: http://bugs.python.org/file18468/tcpdump

[issue8411] New GIL: improve condition variable emulation on NT

2010-08-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: This commit also fixed test_thread.py crash on win2000. Thanks! -- nosy: +ocean-city status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8411

[issue8411] New GIL: improve condition variable emulation on NT

2010-08-10 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8411 ___ ___

[issue7351] Documentation typos found in zipfile — Work with ZIP archives

2010-08-10 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7351 ___ ___ Python-bugs-list

[issue7351] Documentation typos found in zipfile — Work with ZIP archives

2010-08-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- resolution: fixed - wont fix stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7351 ___

[issue8411] New GIL: improve condition variable emulation on NT

2010-08-10 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- status: pending - open Removed message: http://bugs.python.org/msg113544 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8411 ___

[issue8411] New GIL: improve condition variable emulation on NT

2010-08-10 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- nosy: -ocean-city status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8411 ___

[issue9318] Py3k compilation on old MSVC

2010-08-10 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: PC/pyconfig.h: no more needed. fixed in posixmodule.c Python/import.c: my patch was wrong. we should use _mkdir(const char*) on windows. there is deprecated function mkdir(const char*), but it doesn't take mode_t as parameter. so

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I commited Py_UNICODE_strrchr.patch as r83933 after removing the useless start variable. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9425

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-10 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file18446/Py_UNICODE_strrchr.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9425 ___

[issue9559] mailbox.mbox creates new file when adding message to mbox

2010-08-10 Thread Chris Green
New submission from Chris Green ch...@isbd.co.uk: When you call mailbox.mbox.add() the old mbox file is copied, the new file is modified and then renamed to the name of the'old' mbox file. This breaks the way that many MUAs detect and manage new mail in an mbox, in particular I discovered

[issue9425] Rewrite import machinery to work with unicode paths

2010-08-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: _PyFile_FromFdUnicode.patch: create _PyFile_FromFdUnicode() function. It will be used in import.c to open a file using an unicode filename. For _PyFile_FromFd(), I kept the previous behaviour: clear the exception on

[issue1744382] Read Write lock

2010-08-10 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - later status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1744382 ___

[issue9560] platform.py: use -b option for file command in _syscmd_file()

2010-08-10 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: Lib/platform.py was created 7 years ago by r32391. _syscmd_file() docstring was never changed whereas it is inconsistent with the implementation: --- def _syscmd_file(target,default=''): Interface to the system's file

[issue9555] transient crashes on x86 XP-4 buildbot: test_file, test_file2k, test_bsddb3

2010-08-10 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Right, it looks like a duplicate. -- resolution: - duplicate status: open - closed superseder: - test_close_open_print_buffered(test_file) sometimes crashes ___ Python tracker

[issue9295] test_close_open_print_buffered(test_file) sometimes crashes

2010-08-10 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: See the transient failures on x86 XP-4 buildbot (2.6 and 2.7 only). Issue #9555 closed as duplicate: http://bugs.python.org/issue9555#msg113522 -- components: +Windows keywords: +buildbot nosy: +flox

[issue9561] distutils: set encoding to utf-8 for input and output files

2010-08-10 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: While working on #9425 (support non-ascii characters in python directory name with ascii locale), I wrote a patch for distutils.file_util(): set encoding to utf-8 and errors to surrogateescape. See the patch with comments at:

[issue9560] platform.py: use -b option for file command in _syscmd_file()

2010-08-10 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: New submission from STINNER Victor victor.stin...@haypocalc.com: Lib/platform.py was created 7 years ago by r32391. _syscmd_file() docstring was never changed whereas it is inconsistent with the implementation:

[issue9526] 2 GB limit in array module

2010-08-10 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks for confirming, Stefan. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9526 ___ ___

[issue9530] integer undefined behaviors

2010-08-10 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Applied issue9530_1.patch in r83936. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9530 ___

[issue9559] mailbox.mbox creates new file when adding message to mbox

2010-08-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +akuchling versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9559 ___

[issue8821] Range check on unicode repr

2010-08-10 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.6, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8821 ___ ___

[issue9446] urllib2 tests fail when offline

2010-08-10 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I believe in our python-list discussion you identified the precise line that fails. Please copy it here. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9446

[issue9562] Slightly misleading wording in documentation of dict.update

2010-08-10 Thread Mitchell Model
New submission from Mitchell Model m...@acm.org: The documentation of dict.update says that it accepts either another dictionary object or an iterable of key/value pairs (as a tuple or other iterable of length two) The parenthesized phrase is slightly misleading in that it could be

[issue9253] argparse: optional subparsers

2010-08-10 Thread Michael . Elsdörfer
Michael.Elsdörfer mich...@elsdoerfer.info added the comment: To expand on my case from issue9540, I have a bunch of commands, each of which should enable a specific subset of options only available the individual command, but all of the commands share the same behavior in taking nargs='*'

[issue8411] New GIL: improve condition variable emulation on NT

2010-08-10 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Great. I hope you agree that it is simpler. I'm afraid my explanations can be somewhat long-winded so I hope you found a better way to document my pseudo race condition. -- status: pending - open

[issue9563] bad exception handling when giving no value to an option requiring one

2010-08-10 Thread Gwendal LE BIHAN
New submission from Gwendal LE BIHAN gwendal.lebihan@gmail.com: Having created the parser this way: optparser=OptionParser() optparser.add_option(--share-dir,dest=share_dir,default=/usr/share) options,args=optparser.parse_args() And calling the program this way: appname --share-dir I get

[issue9563] optparse: bad exception handling when giving no value to an option requiring one

2010-08-10 Thread Gwendal LE BIHAN
Changes by Gwendal LE BIHAN gwendal.lebihan@gmail.com: -- title: bad exception handling when giving no value to an option requiring one - optparse: bad exception handling when giving no value to an option requiring one ___ Python tracker

[issue7335] int/long discrepancy when formatting zero with %.0d

2010-08-10 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Out of date for 2.x. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7335 ___

[issue8526] msilib doesn't support multiple CAB instances in same installer

2010-08-10 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- keywords: -easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8526 ___ ___ Python-bugs-list

[issue9564] Test issue.

2010-08-10 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: Testing autonosy. Please close as invalid. -- assignee: tarek components: Distutils messages: 113562 nosy: mark.dickinson, merwok, tarek priority: normal severity: normal status: open title: Test issue.

[issue9564] Test issue.

2010-08-10 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Looks good. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9564 ___

[issue3532] bytes.tohex method

2010-08-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3532 ___ ___ Python-bugs-list mailing

[issue9553] test_argparse.py: 80 failures if COLUMNS env var set to a value other than 80

2010-08-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9553 ___ ___ Python-bugs-list mailing

[issue9553] test_argparse.py: 80 failures if COLUMNS env var set to a value other than 80

2010-08-10 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: I agree with Steven: for the current tests we should specify (and restore) 80 columns. We might want to add additional tests at different column widths. -- ___ Python tracker rep...@bugs.python.org

[issue1626300] 'Installing Python Modules' does not work for Windows

2010-08-10 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1626300 ___ ___ Python-bugs-list mailing

[issue9556] Specifying the time a TimedRotatingFileHandler rotates

2010-08-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Adding the logging maintainer to nosy. (BTW Vinay, Misc/maintainers.rst says your roundup name is “vsajip”) -- nosy: +merwok, vinay.sajip ___ Python tracker rep...@bugs.python.org

[issue8834] Define order of Misc/ACKS entries

2010-08-10 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed in r83937 (py3k) and r83938 (release31-maint). The py3k version is now a superset of the lists in the maintenance branches. I don't want to generate any more commit traffic by bringing all branches in sync.

[issue9565] socket : accept() method not working

2010-08-10 Thread Hasan
New submission from Hasan captainm...@gmail.com: hi, i am use the socket module in python. But accept() method not working and its not give me an error about this problem. for example i run the my scipt. When it comes to accept() method line, python is locks. i use the ubuntu os. and python

[issue9563] optparse: bad exception handling when giving no value to an option requiring one

2010-08-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: 2.6 no longer receives bug fixes now that 2.7 is out. Is this still a problem in 2.7? (My testing indicates that it isn't.) -- nosy: +r.david.murray stage: - unit test needed ___ Python

[issue9565] socket : accept() method not working

2010-08-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The bug tracker is not the place to get help in learning how to do socket programming, I'm afraid. Try the python-list or python-tutor mailing lists, or #python on freenode IRC. -- nosy: +r.david.murray resolution: - invalid

[issue9396] Standardise (and publish?) cache handling in standard library

2010-08-10 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Great minds think alike. I was just about to propose that functools.wraps add a standard attribute to point at the underlying function (on the theory that objects should be introspectable). This would allow a standard way

[issue9563] optparse: bad exception handling when giving no value to an option requiring one

2010-08-10 Thread Gwendal LE BIHAN
Gwendal LE BIHAN gwendal.lebihan@gmail.com added the comment: I confirm. Fixed in Python 2.7. I didn't have Python 2.7 installed since it's not in the Ubuntu repository yet. -- ___ Python tracker rep...@bugs.python.org

[issue9433] regrtest.py -j 2 doesn't work on Windows: remove close_fds=True on Windows

2010-08-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Possible patch (checked to work in a Windows 7 VM): Index: Lib/test/regrtest.py === --- Lib/test/regrtest.py(révision 83938) +++ Lib/test/regrtest.py(copie de

[issue9566] Compilation warnings under x64 Windows

2010-08-10 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: A 64-bit build under Windows produces many compilation warnings, mostly related to lossy conversions between different int sizes. Some of these warnings appear harmless after analysis (are MS 64 bit compilers pickier than their 32 bit

[issue9566] Compilation warnings under x64 Windows

2010-08-10 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This must be a duplicate report - this issue has been known for years, and Kristjan and others (including myself) volunteered to work on it, and did actually work on it. I don't think it's necessary to have a bug report in the bug tracker

[issue665761] reduce() masks exception

2010-08-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Added file: http://bugs.python.org/file18472/issue665761-py3k.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue665761 ___

[issue2443] Define Py_VA_COPY macro as a cross-platform replacement for gcc __va_copy

2010-08-10 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- assignee: - belopolsky nosy: -Alexander.Belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2443 ___

[issue9253] argparse: optional subparsers

2010-08-10 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Stable releases don’t go into stable branches, so I’m editing versions. I also remove 3.3 since it doesn’t exist now, it means “this won’t go in 3.2”. -- nosy: +merwok versions: -Python 2.7, Python 3.3

  1   2   >