[issue7978] SocketServer doesn't handle syscall interruption

2010-04-08 Thread Yaniv Aknin
Yaniv Aknin yaniv.ak...@gmail.com added the comment: First, let me cast my vote in favour of leaving select() itself alone, it's excessive to fix this issue with changing select(). Second, while exarkun's comments are accurate, I understand where pitrou is coming from. EINTR is not a

[issue7978] SocketServer doesn't handle syscall interruption

2010-04-08 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: wrapping select in an eintr handler that loops like SocketServer_eintr.diff is fine. -- assignee: - gregory.p.smith nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org

[issue8341] sphinx bug?

2010-04-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: It was a bug in the source file. Fixed in r79901. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8341

[issue7978] SocketServer doesn't handle syscall interruption

2010-04-08 Thread Vetoshkin Nikita
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment: According to man 7 signal select must be explicitely restarted, regardless of the SA_RESTART flag. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7978

[issue8292] Incorrect condition test in platform.py

2010-04-08 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: It seems that the Lib/lib2to3/fixes/fix_filter.py should have fixed all the filter problem in py3k, by adding a list() call to filter(). It's werid this one still exists in standar library. Also I found other two problems with filter in standar

[issue7978] SocketServer doesn't handle syscall interruption

2010-04-08 Thread Charles-Francois Natali
Charles-Francois Natali neolo...@free.fr added the comment: If we agree so far, I believe that an implementation of untilConcludes *should* be added to stdlib (signal.restartable_call, anyone?). Definitely, it's better to have this handler written once and correct than having various

[issue8336] PyObject_CallObject - Not reference-count-neutral

2010-04-08 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: By looking into the source, I found PyObject_CallObject() is “reference-count-neutral” even the call is FAILED, because it will always call Py_DECREF(arg) in the end and in case of exception. -- nosy: +ysj.ray

[issue8297] AttributeError message text should include module name

2010-04-08 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: The unittest of this patch. -- Added file: http://bugs.python.org/file16815/issue_8297_test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8297

[issue8336] PyObject_CallObject - Not reference-count-neutral

2010-04-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Indeed, every function of the API is consistent in this aspect, success or failure should not make a difference in reference counts. Do you have an evidence of the contrary? Note that it's possible that because of the failure, some

[issue2824] zipfile to handle duplicate files in archive

2010-04-08 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: On the second thought having a switch for a low-level zip format hacking is a good addition. It may also be used for in-place removals from .zip file by erasing directory entry. Otherwise remove operation will require repacking archive

[issue3581] failures in test_uuid

2010-04-08 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Confirmed on Windows 7 under qemu with a fresh trunk checkout. -- nosy: +skrah priority: low - high versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org

[issue8336] PyObject_CallObject - Not reference-count-neutral

2010-04-08 Thread Ray.Allen
Ray.Allen ysj@gmail.com added the comment: Yes. I think if the argument object's reference count is increased because of the exception traceback or other cases, it has nothing to do with the PyObject_CallObject itself. Both of the Py_INCREF(arg) and Py_DECREF(arg) will always run once

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-04-08 Thread Chris Jerdonek
Chris Jerdonek chris.jerdo...@gmail.com added the comment: FYI, there seems to be a bug in the code cited above: http://twistedmatrix.com/trac/browser/trunk/twisted/python/reflect.py#L382 For example, _importAndCheckStack('package.subpackage.module') raises _NoModuleFound in the following

[issue8343] improve re parse error messages for named groups

2010-04-08 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: sre_parse has some messages among repeated code sequences, but can be tweaked for user convenience -- components: Library (Lib) files: lib.re.improve-error-message.diff keywords: patch messages: 102604 nosy: techtonik severity:

[issue8336] PyObject_CallObject - Not reference-count-neutral

2010-04-08 Thread Krauzi
Krauzi krauzi_g...@yahoo.de added the comment: a i think i expressed the problem false. The problem is that the arg (which is a tuple here) is correctly decremented and thus the reference counts are OK. BUT: The objects INSIDE the tuple are NOT correctly decremented. This is the code i've

[issue8204] test_ttk_guionly assertion error on 3.x linux 64-bit

2010-04-08 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I can reproduce the problem. The root cause is that the event generate .nb Control-Tab simply does not have any effect - neither through Python, nor through directly wish. Nor do any of the other keys that supposedly cycle through the

[issue8344] test_tag_configure fails on FreeBSD

2010-04-08 Thread Martin v . Löwis
New submission from Martin v. Löwis mar...@v.loewis.de: The FreeBSD buildbot reports FAIL: test_tag_configure (test_ttk.test_widgets.TreeviewTest) -- Traceback (most recent call last): File

[issue3581] failures in test_uuid

2010-04-08 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: According to http://standards.ieee.org/regauth/groupmac/tutorial.html , the assertions in check_node are weeding out perfectly valid addresses: node = 0x525400123456 universal_local_bit = (node 40L) 2 universal_local_bit 2L This

[issue8344] test_tag_configure fails on FreeBSD

2010-04-08 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Apparently, Tk returns a color object instead of a string in this version. Fixed in r79903. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8344

[issue8336] PyObject_CallObject - Not reference-count-neutral

2010-04-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Yes, I think what I wrote above applies here: the string is stored in the args variable. When the exception is raised, the traceback contains the *live* frame objects, with position in the bytecode and all local variables. This allows

[issue8336] PyObject_CallObject - Not reference-count-neutral

2010-04-08 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I don't think this needs to be kept open. -- resolution: - works for me status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8336

[issue8345] missing method MatchObject.groups in re module doc

2010-04-08 Thread Derk Drukker
New submission from Derk Drukker derk.druk...@gmail.com: The method MatchObject.groups disappeared from Doc/library/re.rst in py3k branch r79434 after a merge. (trunk, release26-maint, and release31-maint are fine.) -- assignee: georg.brandl components: Documentation messages: 102612

[issue7650] test_uuid is invalid

2010-04-08 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: The multicast bit is the least significant bit of the first octet. Could you check if the patch for http://bugs.python.org/issue3581 fixes your problem? -- nosy: +skrah ___ Python tracker

[issue1481] test_uuid is warning about unreliable functions

2010-04-08 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Still fails with trunk on OpenBSD. The error is more ctypes related though: _uuid_generate_time isn't set. == ERROR: test_unixdll_getnode (__main__.TestUUID)

[issue8346] Old Version Name in Interactive Mode

2010-04-08 Thread Firat Ozgul
New submission from Firat Ozgul kisti...@yahoo.com: In Python 2.7a4 tutorial, under section 2.1 Invoking the Interpreter set path command is set path=%path%;C:\python26. Also under section 2.1.2 Interactive Mode python command is shown to give Python 2.6 (#1, Feb 28 2007, 00:02:06) --

[issue8204] test_ttk_guionly assertion error on 3.x linux 64-bit

2010-04-08 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: Martin v. Löwis added the comment: I can reproduce the problem. The root cause is that the event generate .nb Control-Tab simply does not have any effect - neither through Python, nor through directly wish. Nor do any of the other keys

[issue8204] test_ttk_guionly assertion error on 3.x linux 64-bit

2010-04-08 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Could it be caused because the notebook is not focused at the correct time ? Here in OSX (finally I have one of these) I had to add self.nb.focus() before that event_generate. No, that doesn't help. The event still gets lost. In

[issue8345] missing method MatchObject.groups in re module doc

2010-04-08 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Thanks for reporting this. Fixed in r79906. -- assignee: georg.brandl - brian.curtin nosy: +brian.curtin -georg.brandl priority: - normal resolution: - fixed stage: - committed/rejected status: open - closed type: - behavior

[issue8204] test_ttk_guionly assertion error on 3.x linux 64-bit

2010-04-08 Thread Guilherme Polo
Guilherme Polo ggp...@gmail.com added the comment: When I run that alone I get the same effect, maybe there is something else contributing to the previous result I saw. focus_force did solve when testing it alone, and I think it is ok to use focus_force when testing at least. Here is the sample

[issue8204] test_ttk_guionly assertion error on 3.x linux 64-bit

2010-04-08 Thread Guilherme Polo
Changes by Guilherme Polo ggp...@gmail.com: Removed file: http://bugs.python.org/file16818/p1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8204 ___

[issue2876] Write UserDict fixer for 2to3

2010-04-08 Thread Jeroen Ruigrok van der Werven
Jeroen Ruigrok van der Werven asmo...@in-nomine.org added the comment: What's the consensus on this? I ask since I actually ran into code today that uses DictMixin and as such wasn't converted by the 2to3 tool. -- nosy: +asmodai ___ Python tracker

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-04-08 Thread Chris Jerdonek
Chris Jerdonek chris.jerdo...@gmail.com added the comment: Four failing unit tests (context code can use clean-up). -- Added file: http://bugs.python.org/file16819/_patch-7559-4-unittests.diff ___ Python tracker rep...@bugs.python.org

[issue8070] Infinite loop in PyRun_InteractiveLoopFlags() if PyRun_InteractiveOneFlags() raises an error

2010-04-08 Thread Tim Lesher
Tim Lesher tles...@gmail.com added the comment: I just hit this one myself, and was about to write a bug and patch. On reviewing the patch: 1. This really has the same issue as the original code: it detects one of a few known return values, and will infinitely loop on an unexpected return

[issue2876] Write UserDict fixer for 2to3

2010-04-08 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: UserDict.DictMixin needs to convert to collections.MutableMapping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2876

[issue8330] Failures seen in test_gdb on buildbots

2010-04-08 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8330 ___ ___ Python-bugs-list mailing

[issue2876] Write UserDict fixer for 2to3

2010-04-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Converting DictMixin to collections.MutableMapping is not necessarily a complete solution. MutableMapping does not provide all the methods that DictMixin does. See for example the problems encountered in issue 7975. -- nosy:

[issue8314] test_ctypes fails in test_ulonglong on sparc buildbots

2010-04-08 Thread Thomas Heller
Thomas Heller thel...@ctypes.org added the comment: Martin, you should probably post your patch to upstream libffi. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8314 ___

[issue3581] failures in test_uuid

2010-04-08 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: The new patch test_uuid.patch fixes issue 7650, issue 1481 and this one. I've applied it to py3k-cdecimal in r79905 and test_uuid is passed on all buildbots (I did not test on ARM and one FreeBSD bot is still hanging in

[issue1481] test_uuid is warning about unreliable functions

2010-04-08 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: With test_uuid.patch from issue 3581 (related) no warnings can be seen on the buildbots. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1481

[issue7650] test_uuid is invalid

2010-04-08 Thread Austin English
Austin English austinenglish+pyt...@gmail.com added the comment: From Juan Lang, who originally pointed out the bug: My only comment is that the message is now misleading: -individual_group_bit = (node 40L) 1 -universal_local_bit = (node 40L) 2 message = %012x

[issue8347] string capitalize erroneously lower-case any non-first letters

2010-04-08 Thread Martin
New submission from Martin famar...@gmail.com: When the following is run: s='the Los Angeles Symphony'; s.capitalize(); it displays 'The los angeles symphony' instead of 'The Los Angeles Symphony' the str.capitalize() should only deal with the first letter, not lower-case the rest of the

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: This patch includes a routine that adds the directory of the python executable to the path before attempting to run a symlinked executable (in test_platform). -- Added file: http://bugs.python.org/file16821/windows symlink draft

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The patch has now missed the window for 2.7, so backporting it won't be necessary. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269

[issue3581] failures in test_uuid

2010-04-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, I trust you on the investigation. Could this go into trunk, since the tests actually fail needlessly on qemu setups? Yes, but after the beta: http://mail.python.org/pipermail/python-dev/2010-April/099132.html -- assignee: - skrah

[issue8348] test_urllib2net fails because of bad URL

2010-04-08 Thread Martin v . Löwis
New submission from Martin v. Löwis mar...@v.loewis.de: Recently, test_urllib2net started failing == ERROR: test_ftp_basic (test.test_urllib2net.TimeoutTest)

[issue8204] test_ttk_guionly assertion error on 3.x linux 64-bit

2010-04-08 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the advice. I managed to fix this (for me) in r79907; I had to force focus before every single event :-( -- keywords: +buildbot resolution: - fixed stage: - committed/rejected status: open - closed

[issue8348] test_urllib2net fails because of bad URL

2010-04-08 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I changed the URL in r79908. -- keywords: +buildbot resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue3081] Py_(X)SETREF macros

2010-04-08 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@divmod.com added the comment: The name suggests a different behavior to me - I assumed it would set the reference count to a specific value. Maybe this is the kind of thing Raymond had in mind when he said The mnemonic doesn't work for me. -- nosy:

[issue8347] string capitalize erroneously lower-case any non-first letters

2010-04-08 Thread Philip Jenvey
Philip Jenvey pjen...@underboss.org added the comment: S.capitalize() - string Return a copy of the string S with only its first character capitalized. You've misunderstood the docs, only the first character is indeed capitalized. You want string.capwords instead -- nosy: +pjenvey

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-04-08 Thread Chris Jerdonek
Chris Jerdonek chris.jerdo...@gmail.com added the comment: The new unit tests pass with this patch (minor clean-up still needed). -- Added file: http://bugs.python.org/file16822/_patch-7559-5.diff ___ Python tracker rep...@bugs.python.org

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, I raised the errno 0 issue on the openssl mailing-list, and I had a nice response by Darryl Miles here: http://www.mail-archive.com/openssl-us...@openssl.org/msg60710.html The bottom line is that any socket error return from unwrap(), that

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: In the last patch, I addressed test_platform running a test under a symlinked Python. I then found the same error resulting from essentially the same code in test_sysconfig. So I refactored those methods into a generator method in

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Added file: http://bugs.python.org/file16825/windows symlink draft 29.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Removed file: http://bugs.python.org/file16809/windows symlink draft 27.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Removed file: http://bugs.python.org/file16821/windows symlink draft 28.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Removed file: http://bugs.python.org/file16824/windows symlink draft 28.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-04-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: My analysis of SSL_shutdown() was missing something: timeout sockets are really non-blocking sockets in disguise. I guess it's never too late to notice. OpenSSL doesn't know about the timeout, so we have to do it ourselves. Ironically, the

[issue2643] mmap_object_dealloc does not call FlushViewOfFile on windows

2010-04-08 Thread Charles-Francois Natali
Charles-Francois Natali neolo...@free.fr added the comment: Alright, the current behaviour is quite strange: we don't call msync() when closing the object, we just unmap() it: mmap_close_method(mmap_object *self, PyObject *unused) { [...] #ifdef UNIX if (0 = self-fd)

[issue2643] mmap_object_dealloc does not call FlushViewOfFile on windows

2010-04-08 Thread Charles-Francois Natali
Changes by Charles-Francois Natali neolo...@free.fr: Added file: http://bugs.python.org/file16828/test_mmap.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2643 ___

[issue7559] TestLoader.loadTestsFromName swallows import errors

2010-04-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thank you very much for those tests. I think you can simplify them a bit. For example, you can use assertRaises. You also might be able to use the test_support.temp_cwd context manager in your context manager, even though you don't

[issue2643] mmap_object_dealloc does not call FlushViewOfFile on windows

2010-04-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +akuchling, exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2643 ___ ___ Python-bugs-list

[issue3081] Py_(X)SETREF macros

2010-04-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Py_ASSIGN could be a better name, but given the enthusiasm generated by this proposal, I think we might just as well close the issue. -- ___ Python tracker rep...@bugs.python.org

[issue3081] Py_(X)SETREF macros

2010-04-08 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I agree with Raymond about the Py_INCREF. I could see more uses for this macro without the Py_INCREF, especially for things like in-place arithmetic operations. The following pattern appears a lot in code like Objects/longobject.c: Old

[issue3081] Py_(X)SETREF macros

2010-04-08 Thread Raymond Hettinger
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3081 ___

[issue8349] os.environ.get returns incorrect data

2010-04-08 Thread Dan Brandow
New submission from Dan Brandow dan.bran...@gmail.com: I have a Windows 7 64 bit machine, which means it has a few different environment variables concerning the program files location: PROGRAMFILES=C:\Program Files (x86) ProgramFiles(x86)=C:\Program Files (x86) Note that both env variables

[issue8349] os.environ.get returns incorrect data

2010-04-08 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This is the correct result. The value of the environment variables depends on whether a 32-bit or a 64-bit process is looking at them, see http://msdn.microsoft.com/en-us/library/aa384274%28VS.85%29.aspx -- nosy: +loewis

[issue8350] os.mkdir doc comment is incorrect

2010-04-08 Thread Todd Whiteman
New submission from Todd Whiteman twhit...@yahoo.com.au: The doc command for os.mkdir is incorrect (at least for posix). It specifies that there is an optional mode keyword, but it's not a keyword argument, see below: import os help(os.mkdir) mkdir(...) mkdir(path [, mode=0777])

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-04-08 Thread Nir Aides
Changes by Nir Aides n...@winpdb.org: Removed file: http://bugs.python.org/file16710/bfs.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7946 ___ ___

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-04-08 Thread Nir Aides
Nir Aides n...@winpdb.org added the comment: Uploaded an update. -- Added file: http://bugs.python.org/file16830/bfs.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7946 ___

[issue6650] sre_parse contains a confusing generic error message

2010-04-08 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Thanks for the patch, LGTM assuming we don't need a test for this. Do you think the vague message could be less cryptic for users that didn't want lookbehind (or don't know what it is)? -- nosy: +ajaksu2 priority: - low stage: - patch

[issue6700] inspect.getsource() returns incorrect source lines

2010-04-08 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Confirmed in trunk and py3k. Also affects inspect.getsourcelines. -- nosy: +ajaksu2 priority: - normal stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6700

[issue6878] outdated docstring in tkinter.Canvas.coords

2010-04-08 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: I think the obvious code fix of list(map()) is less likely to cause surprises than updating the docstring to the new map in 3.x. -- keywords: +easy nosy: +ajaksu2 priority: - low stage: - needs patch type: - behavior

[issue8351] Suppress large diffs in unitttest.TestCase.assertSequenceEqual()

2010-04-08 Thread Floris Bruynooghe
New submission from Floris Bruynooghe floris.bruynoo...@gmail.com: This patch adds the ability to suppress large diffs in the failure message of TestCase.assertSequenceEqual(). The maximum size of the diff is customisable as an new keyword parameter with hopefully a sensible default.

[issue3984] python interpreter import dependency with disutils/util

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

[issue4843] make distutils use shutil

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

[issue8351] Suppress large diffs in unitttest.TestCase.assertSequenceEqual()

2010-04-08 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- assignee: - michael.foord nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8351 ___

[issue5187] distutils upload should prompt for the user/password too

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

[issue1004696] translate Windows cr-lf when installing scripts on Linux

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

[issue7007] Tiny inconsistency in the orthography of url encoded in the doc of urllib.parse

2010-04-08 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Hits from py3k: Doc/library/urllib.rst:239: Convert a mapping object or a sequence of two-element tuples to a url-encoded Doc/library/urllib.rst:263: Convert the path component *path* from an encoded URL to the local syntax for a

[issue1109659] distutils argument parsing is bogus

2010-04-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: “Global option” could be understood as “option that can be given to any command”, i.e. “egg spam -d” == “egg -d spam”. Is it feasible to support such and equivalence, too difficult or not desirable? Regards -- nosy: +merwok

[issue7677] distutils, better error message for setup.py upload -sign without identity.

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

[issue6142] Distutils doesn't remove .pyc files

2010-04-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hello So, is this bug “add a distclean command” now? Regards -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6142 ___

[issue4908] adding a get_metadata in distutils

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

[issue6860] Inconsistent naming of custom command in setup.py help output

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

[issue793069] Add --remove-source option

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

[issue6142] Distutils doesn't remove .pyc files

2010-04-08 Thread James
James purplei...@gmail.com added the comment: i'm fine with that and willing to contribute patches, however i would feel better if whoever upstream was, was more supportive of the idea. someone let me know. a thought: - it's true (as mentioned) that distclean isn't necessarily directly related

[issue6555] distutils config file should have the same name on both platforms and all scopes

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

[issue6087] distutils.sysconfig.get_python_lib gives surprising result when used with a Python build

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

[issue3992] removed custom log from distutils

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

[issue5747] knowing the parent command

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

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Added file: http://bugs.python.org/file16833/admin results - no patch.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Added file: http://bugs.python.org/file16834/admin results - patch 29.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: With patch 29, I believe all patch-related test failures are corrected. The remaining failures in some modules (namely test_tarfile, test_glob, test_mailbox, test_warnings) can be demonstrated to occur in unpatched builds. Since some

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Added file: http://bugs.python.org/file16835/guest results - patch 29.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Removed file: http://bugs.python.org/file16202/guest results.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue1578269] Add os.symlink() and os.path.islink() support for Windows

2010-04-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Removed file: http://bugs.python.org/file16203/admin results.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue7978] SocketServer doesn't handle syscall interruption

2010-04-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, I think the wrapper approach is a good one. Now remains to decide whether it should stay private to socketserver or be exposed as a generic method (for example in the os module as proposed). By the way, adding a patch would be nice, too.

[issue7978] SocketServer doesn't handle syscall interruption

2010-04-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, I think the wrapper approach is a good one. Now remains to decide whether it should stay private to socketserver or be exposed as a generic method (for example in the os module as proposed). By the way, adding a test would be nice, too. I'm

[issue7978] SocketServer doesn't handle syscall interruption

2010-04-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7978 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7163] IDLE suppresses sys.stdout.write() return value

2010-04-08 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: sys.stdout is a idlelib.rpc.RPCProxy in IDLE. It calls Idlelib.PyShell.PseudoFile.write - .PyShell.write - .OutputWindow.OutputWindow.write - .Percolator.Percolator.insert - ... I suppose we could mimic the return value patching

  1   2   >