[issue11763] assertEqual memory issues with large text inputs

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8dbf661c0a63 by Ezio Melotti in branch '2.7': #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long. http://hg.python.org/cpython/rev/8dbf661c0a63 New changeset 04e64f77c6c7 by Ezio Melotti in branch '3.1': #11763:

[issue11763] assertEqual memory issues with large text inputs

2011-04-27 Thread Ezio Melotti
Ezio Melotti added the comment: I committed a slightly modified version of the patch, so the issue should be fixed now. There are two related problems though: 1) difflib is used in other places, so those should probably be checked too; 2) _baseAssertEqual should check if the len of the msg (or

[issue11922] Add General Index to Windows .chm help file Contents

2011-04-27 Thread Tim Golden
Tim Golden added the comment: I can't say I'd object as such, but the [Index] tab already contains the items in the General Index and is arguably the killer feature of the CHM in any case. -- nosy: +tim.golden ___ Python tracker

[issue9390] Error in sys.excepthook on windows when redirecting output of the script

2011-04-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I've seen the same question/answer on other forums, about Perl, Lua and Javascript http://stackoverflow.com/questions/3018848/cannot-run-python-script-on-windows-with-output-redirected but nobody suggested to set this flag by default. I don't know if it

[issue11921] distutils2 should be able to compile an Extension based on the Python implementation version

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: Alexis is right, the implementation name is not currently available as an environment marker. Maybe another approach could be used: consider all extensions optional on non-CPython platforms? -- versions: +3rd party -Python 2.7 _

[issue11928] fail on filename with space at the end

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: Do you get the bug if you put such a filename in the MANIFEST file, or MANIFEST.in, or data_files argument, or something else, or all of them? If it’s a MANIFEST bug, can you test with quotes around the filename? -- assignee: tarek -> eric.araujo compon

[issue9614] _pickle is not entirely 64-bit safe

2011-04-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The warnings above are a bit old: 027f81579b4a changed Pdata into a PyVarObject, and the "int length" member is now accessed with the Py_SIZE() macro. Unfortunately, the only win64 buildbot is offline, and I could not find any recent log of compilation

[issue10148] st_mtime differs after shutil.copy2

2011-04-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11933] newer() function in dep_util.py mixes up new vs. old files due stat.st_mtime vs stat[ST_MTIME]

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: Hi! Welcome to the joy of Python and thanks for the bug report and analysis. > In researching a bug Is it public? I’d be curious to look at it. > I was surprised that a newly created file was being replaced when > being processed a second time What created the

[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

2011-04-27 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Library (Lib) -Demos and Tools nosy: +eric.araujo stage: -> test needed versions: -Python 2.5, Python 2.6, Python 3.4 ___ Python tracker __

[issue6625] UnicodeEncodeError on pydoc's CLI

2011-04-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue9614] _pickle is not entirely 64-bit safe

2011-04-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Yes there are still warnings, but in different places; here is an extract of the previous buildlog.html file: ..\Modules\_pickle.c(156) : warning C4244:'initializing' : conversion from 'Py_ssize_t' to 'int', possible loss of data ..\Modules\_pickle.c(

[issue11928] fail on filename with space at the end

2011-04-27 Thread anatoly techtonik
anatoly techtonik added the comment: The mere presence of this file in directory with setup.py files this error. It is not added in any files. -- ___ Python tracker ___ ___

[issue11928] fail on filename with space at the end

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: Wow. Can you set DISTUTILS_DEBUG=1 in your environment and then copy the full traceback here? Try to see if other commands like build or check cause the error too. -- ___ Python tracker

[issue11928] fail on filename with space at the end

2011-04-27 Thread anatoly techtonik
anatoly techtonik added the comment: >python setup.py sdist {{{ Distribution.parse_config_files(): options (after parsing config files): no commands known yet options (after parsing command line): option dict for 'sdist' command: {} running sdist Distribution.get_command_obj(): creating 'sdist

[issue11928] fail on filename with space at the end

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: > WindowsError: [Error 2] The system cannot find the file specified: 'some file > ' The strange thing is that the filename is correct (I feared it was a strip() call somewhere that caused the bug), and that you get a WindowsError. This makes me think that the

[issue10318] "make altinstall" installs many files with incorrect shebangs

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: > There are a lot of examples that use a bare “python”; changing all of > those would cause merging pains. I’ve changed my mind. Given the python/python2/python3 drama with distributions, I now think that we should use “python3” in the 3.x docs. Merging is not

[issue11182] remove unused undocumented pydoc.Scanner class

2011-04-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo stage: -> needs patch title: pydoc.Scanner class not used by anything -> remove unused undocumented pydoc.Scanner class ___ Python tracker __

[issue11934] build with --prefix=/dev/null and zlib enabled in Modules/Setup failed

2011-04-27 Thread ysj.ray
New submission from ysj.ray : The development guide(http://docs.python.org/devguide/setup.html) suggested that one can build with "--prefix=/dev/null" in order to avoid accidentally install it. But in the Modules/Setup.dist the zlib module is defined as: zlib zlibmodule.c -I$(prefix)/include -

[issue10616] Change PyObject_AsCharBuffer() error message

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: +1 to Antoine’s +1. -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6780] startswith error message is incomplete

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: I would have used with self.assertRaises to write the tests, thinking it would be less verbose/cumbersome. -- nosy: +eric.araujo ___ Python tracker __

[issue11924] Pickle and copyreg modules don't document the interface

2011-04-27 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Documentation nosy: +eric.araujo stage: -> needs patch versions: +Python 3.1 ___ Python tracker ___

[issue6780] startswith error message is incomplete

2011-04-27 Thread Ezio Melotti
Ezio Melotti added the comment: In 3.1 I had to use try/except because cm.exception is new in 2.7/3.2. I used assertRaises on the other branches. -- ___ Python tracker ___ __

[issue11918] Drop OS/2 and VMS support in Python 3.3

2011-04-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11926] help("keywords") returns incomplete list of keywords

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: True and False are keywords in 3.x for the parser (IIUC), even though they’re still instances of bool. -- nosy: +eric.araujo ___ Python tracker _

[issue9938] Documentation for argparse interactive use

2011-04-27 Thread Xuanji Li
Xuanji Li added the comment: I don't think it's best to create a new subclass to throw an ArgumentParserExit exception; if I read the stack trace I'd see that an ArgumentError was thrown, then caught, then an ArgumentParserExit was thrown, which IMHO is confusing. In the current design, parse

[issue11682] PEP 380 reference implementation for 3.3

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: (“Create patch” does not work for some reason, I’ll report that to the metatracker in a few days if nobody does it first) -- nosy: +eric.araujo ___ Python tracker __

[issue11918] Drop OS/2 and VMS support in Python 3.3

2011-04-27 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue11927] SMTP_SSL doesn't use port 465 by default

2011-04-27 Thread Kasun Herath
Kasun Herath added the comment: I did a quick patch based on the suggested solution. (pitrou, thanks for adding to the nosy list or could have missed this) -- keywords: +patch Added file: http://bugs.python.org/file21794/smtplib_default_ports.patch

[issue11935] MMDF/MBOX mailbox need utime

2011-04-27 Thread Steffen Daode Nurpmeso
New submission from Steffen Daode Nurpmeso : According to the de-facto MBOX standard [1] and the MMDF description [2] mtime and atime are used to detect wether a mailbox has new mail: If the mtime on a nonempty mbox file is greater than the atime, the file has new mail. For [1] this is do

[issue11918] Drop OS/2 and VMS support in Python 3.3

2011-04-27 Thread Piéronne Jean-François
Piéronne Jean-François added the comment: What we have planed is to release 2.7 in september, and I think we will be on time, so we can start working on 3.x in october, is it compatible with your schedule? -- ___ Python tracker

[issue3451] Asymptotically faster divmod and str(long)

2011-04-27 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue10912] PyObject_RichCompare differs in behaviour from PyObject_RichCompareBool ; difference not noted in documentation

2011-04-27 Thread Nick Coghlan
Nick Coghlan added the comment: Reopening, as a 2.7 backport of this would be a nice thing to have. -- assignee: rhettinger -> status: closed -> open versions: +Python 2.7 ___ Python tracker _

[issue10761] tarfile.extractall fails to overwrite symlinks

2011-04-27 Thread Scott Leerssen
Scott Leerssen added the comment: It happens on RedHat and CentOS 5, but I suspect it would happen on any Unix variant. Here's a test that exacerbates the issue: # # test_tarfile.py # # Description: # tests for python tarfile module # # $Id$ # import os import shutil import tarfile im

[issue11682] PEP 380 reference implementation for 3.3

2011-04-27 Thread Nick Coghlan
Nick Coghlan added the comment: It's because it isn't a true Mercurial clone-and-update - it's a patch queue, which the review generation code doesn't know how to interpret. -- ___ Python tracker

[issue11918] Drop OS/2 and VMS support in Python 3.3

2011-04-27 Thread STINNER Victor
STINNER Victor added the comment: PEP 398 -- Python 3.3 Release Schedule http://www.python.org/dev/peps/pep-0398/ -- ___ Python tracker ___ _

[issue11874] argparse assertion failure with brackets in metavars

2011-04-27 Thread Manveru
Manveru added the comment: I was a victim of the same issue, but only after my usage list does not fit in one line. Please fix! -- nosy: +manveru ___ Python tracker ___ ___

[issue11839] argparse: unexpected behavior of default for FileType('w')

2011-04-27 Thread Manveru
Manveru added the comment: I have the same issue with default here with 2.7. Fortunately I have my own type function so I can prevent is by changing my internal state. This is however only a workaround for real bug in the argparse. -- nosy: +manveru versions: +Python 2.7

[issue11935] MMDF/MBOX mailbox need utime

2011-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11588] Add "necessarily inclusive" groups to argparse

2011-04-27 Thread Manveru
Manveru added the comment: I am subscribing to this idea as I've just fall into such use case where I need it. I would like to submit a patch, but I still have difficulties to understand argparse code not much spare time to spent on this. -- nosy: +manveru ___

[issue11936] plistlib.writePlistToBytes does not exist on 2.6 (osx) and documentation does not include information about version

2011-04-27 Thread sorin
New submission from sorin : On OS X (10.6) with Python 2.6 import plistlib plistlib.writePlistToBytes(dict()) AttributeError: 'module' object has no attribute 'writePlistToBytes' Python documentation contains no information regarding when writePlistToBytes was add. http://docs.python.org/dev

[issue11921] distutils2 should be able to compile an Extension based on the Python implementation version

2011-04-27 Thread dholth
dholth added the comment: Yes, putting implementation-specific environment markers in the Extensions section is the idea (instead of the haphazard and occasionally-applied 'Python code in setup.py appends to a list of extensions' method). An Extension can only be optional when there is equiva

[issue11927] SMTP_SSL doesn't use port 465 by default

2011-04-27 Thread Sijin Joseph
Sijin Joseph added the comment: Should we add a unit test for this as well? -- nosy: +sijinjoseph ___ Python tracker ___ ___ Python-b

[issue11937] Interix support

2011-04-27 Thread Markus Duft
New submission from Markus Duft : Hey! For a while now, i'm maintaining python build patches for interix for the gentoo prefix project. I thought maybe i can bring them upstream :) currently i have python 2.7.1 building, and i'll start testing python 3.2 in a while... may i ask your opinions

[issue11938] duplicated test name in getattr_static's test case

2011-04-27 Thread Andreas Stührk
New submission from Andreas Stührk : There are two tests called "test_descriptor" in getattr_static's test case. Attached is a patch that renames one. -- components: Tests files: duplicated_test_descriptor.patch keywords: patch messages: 134565 nosy: Trundle, michael.foord priority: nor

[issue11277] Crash with mmap and sparse files on Mac OS X

2011-04-27 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: What do you think - i think this issue can really be closed now. I'll attach a final 11277.5.diff which has a less irritated and thus better understandable comment than .4.diff. I'll also drop .3 and .4. A lot of noise again 8| -- Added file: ht

[issue11277] Crash with mmap and sparse files on Mac OS X

2011-04-27 Thread Steffen Daode Nurpmeso
Changes by Steffen Daode Nurpmeso : Removed file: http://bugs.python.org/file21715/11277.3.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue11277] Crash with mmap and sparse files on Mac OS X

2011-04-27 Thread Steffen Daode Nurpmeso
Changes by Steffen Daode Nurpmeso : Removed file: http://bugs.python.org/file21717/11277.4.diff ___ Python tracker ___ ___ Python-bugs-list ma

[issue8296] multiprocessing.Pool hangs when issuing KeyboardInterrupt

2011-04-27 Thread Gökçen Eraslan
Changes by Gökçen Eraslan : -- nosy: +Gökçen.Eraslan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-04-27 Thread Gökçen Eraslan
Changes by Gökçen Eraslan : -- nosy: +Gökçen.Eraslan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue9207] multiprocessing occasionally spits out exception during shutdown (_handle_workers)

2011-04-27 Thread Gökçen Eraslan
Changes by Gökçen Eraslan : -- nosy: +Gökçen.Eraslan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue10252] Fix resource warnings in distutils

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 85fefd41ef5d by Éric Araujo in branch '3.2': Fix double use of f.close(). http://hg.python.org/cpython/rev/85fefd41ef5d -- nosy: +python-dev ___ Python tracker __

[issue11591] "python -S" should be robust against e.g. "from site import addsitedir"

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9a1ca0062950 by Éric Araujo in branch 'default': Add versionchanged for a364719e400a (#11591) http://hg.python.org/cpython/rev/9a1ca0062950 -- ___ Python tracker

[issue10998] Remove last traces of -Q / sys.flags.division_warning / Py_DivisionWarningFlag

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset f9e2b2b17e58 by Éric Araujo in branch 'default': Add versionchanged for c19752ea037f (#10998) http://hg.python.org/cpython/rev/f9e2b2b17e58 -- ___ Python tracker

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Antoine, I wonder if we can restore PyThread_set_key_value to behave like a canonical TLS api function (always setting) but fix the cases that want to "set if it has not already been set" like the cases you mention. It is very unorthodox to have such "

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2011-04-27 Thread Dev Player
Dev Player added the comment: mhammond added a recent note at: python.exe help() modules crashes - ID: 3150027 https://sourceforge.net/tracker/?func=detail&aid=3150027&group_id=78018&atid=551954 Scroll down below the detail and click the "Comments" link. View the note from mhammond's on 4/2

[issue9264] trace.py documentation is incomplete

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: Nesting of class/method and class/data directives recommended in 584f9c213a6d. -- ___ Python tracker ___ __

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine, I wonder if we can restore PyThread_set_key_value to behave > like a canonical TLS api function (always setting) but fix the cases > that want to "set if it has not already been set" like the cases you > mention. > It is very unorthodox to have such "

[issue9614] _pickle is not entirely 64-bit safe

2011-04-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Wed, Apr 27, 2011 at 4:31 AM, Amaury Forgeot d'Arc wrote: >.. 027f81579b4a changed Pdata into a PyVarObject, and the "int length" member > is now accessed with the Py_SIZE() macro. ISTM that with this change Pdata struct is now indistinguishable from

[issue11926] help("keywords") returns incomplete list of keywords

2011-04-27 Thread R. David Murray
R. David Murray added the comment: As part of fixing this we should add a unit test to pydoc that goes something like this: assertEqual(sorted(pydoc.Helper.keywords.keys())), sorted(keyword.kwlist)) -- nosy: +r.david.murray ___ Python tracker

[issue11933] newer() function in dep_util.py mixes up new vs. old files due stat.st_mtime vs stat[ST_MTIME]

2011-04-27 Thread John S. Gruber
John S. Gruber added the comment: Thanks for considering my report so quickly. Attached is a simple test to reproduce the bug, as you suggested. Please note that I am not suggesting the code base use stat.st_mtime. Running the attached with ext4, which keeps sub-second file timestamps: grub

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Ah, using the fallback implementation of tls? Surely this isn't a problem with the pthreads tls, I'd be surprised if it retains TLS values after fork. -- ___ Python tracker

[issue9614] _pickle is not entirely 64-bit safe

2011-04-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I believe attached issue9614.diff should fix the warnings, but I don't have a box to test this on. -- Added file: http://bugs.python.org/file21800/issue9614.diff ___ Python tracker

[issue11933] newer() function in dep_util.py mixes up new vs. old files due stat.st_mtime vs stat[ST_MTIME]

2011-04-27 Thread John S. Gruber
John S. Gruber added the comment: The original bug report is at: https://bugs.launchpad.net/ubuntu/+source/python-distutils-extra/+bug/770566 As you can see it had to do with a symbolic link created by distutils-extra before distutils was called upon to copy anything. Since this was done behi

[issue11588] Add "necessarily inclusive" groups to argparse

2011-04-27 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue11874] argparse assertion failure with brackets in metavars

2011-04-27 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue9723] Add shlex.quote

2011-04-27 Thread Xuanji Li
Changes by Xuanji Li : -- nosy: +xuanji ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > Ah, using the fallback implementation of tls? Surely this isn't a > problem with the pthreads tls, I'd be surprised if it retains TLS values > after fork. It surprised me too when I found that out, but it's really with the pthread TLS, on RHEL 4

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Added file: http://bugs.python.org/file21802/tls_reinit_bis.diff ___ Python tracker ___ ___ Python-bugs-l

[issue11933] newer() function in dep_util.py mixes up new vs. old files due stat.st_mtime vs stat[ST_MTIME]

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: > Please note that I am not suggesting the code base use stat.st_mtime. Yep, I did :) Do you have another idea for a fix? We have to walk on eggshells with the distutils codebase: it has often happened that changes made to fix bugs were causing problems in thir

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > You could add a new _PyGILState_ReInit() function and call it from > > PyOS_AfterFork() or PyEval_ReInitThreads(). > > See attached tls_reinit.diff patch. Thank you. I like this patch, except that _PyGILState_ReInit() should be declared in the appropriate

[issue11871] test_default_timeout() of test_threading.BarrierTests failure: BrokenBarrierError

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: The most obvious explanation for that failure is that the barrier's timeout is too low. def test_default_timeout(self): """ Test the barrier's default timeout """ #create a barrier with a low default timeout barri

[issue8400] zipimporter find_module fullname mis-documented

2011-04-27 Thread Ram Rachum
Ram Rachum added the comment: I was bitten now as well... -- nosy: +cool-RR ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > Thank you. I like this patch, except that _PyGILState_ReInit() should be > declared in the appropriate .h file, not in signalmodule.c. I asked myself this question when writing the patch: what's the convention regarding functions ? Should they alwa

[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

2011-04-27 Thread Ben Okopnik
Ben Okopnik added the comment: Here's a test that should exercise every version of "pydoc" installed on the system: mkdir -p /tmp/foo/bar; cd /tmp/foo; chmod 0 bar for n in `whereis -b pydoc`; do echo " $n "; $n modules; done Tested under Ubuntu with bash and sh; should work fine with

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > Thank you. I like this patch, except that _PyGILState_ReInit() should be > > declared in the appropriate .h file, not in signalmodule.c. > > I asked myself this question when writing the patch: what's the > convention regarding functions ? Should they alwa

[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

2011-04-27 Thread Éric Araujo
Éric Araujo added the comment: The script is bugged, since whereis prefixes its output with its argument (i.e. here “pydoc: ”). It’s not a concern anyway: branches open for bugfixes are 2.7, 3.1, 3.2 and 3.3, so when we have a test (preferably as a patch to test_pydoc.py, see http://docs.pyt

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Removed file: http://bugs.python.org/file21802/tls_reinit_bis.diff ___ Python tracker ___ ___ Python-bugs

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Removed file: http://bugs.python.org/file21801/tls_reinit.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Changes by Charles-Francois Natali : Removed file: http://bugs.python.org/file21678/thread_invalid_key.diff ___ Python tracker ___ ___ Python-

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: Here's an updated patch, tested on RHEL4U8. -- Added file: http://bugs.python.org/file21804/tls_reinit.diff ___ Python tracker ___ ___

[issue10632] multiprocessing generates a fatal error

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: It's a duplicate of http://bugs.python.org/issue10517 -- nosy: +neologix, pitrou ___ Python tracker ___ __

[issue11247] Error sending packets to multicast IPV4 address

2011-04-27 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: Suggesting to close. -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-lis

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6f937d6369b6 by Łukasz Langa in branch '3.2': Closes #11670: configparser read_file now iterates over f. http://hg.python.org/cpython/rev/6f937d6369b6 New changeset 9da06f771a57 by Łukasz Langa in branch 'default': Merged #11670 from 3.2 http://hg.

[issue11670] configparser read_file now iterates over f, docs still say it calls readline

2011-04-27 Thread Łukasz Langa
Łukasz Langa added the comment: Closed in http://hg.python.org/cpython/rev/6f937d6369b6. -- resolution: fixed -> accepted ___ Python tracker ___

[issue10060] python.exe crashes or hangs on help() modules when bad modules found

2011-04-27 Thread Dev Player
Dev Player added the comment: What about this application modal popup window appearing behind the DOS window? (See attached) That popup window may only need to have a system style flag to push it to the top of the window z-order stack. What causes that popup to appear? Is it Python source cod

[issue11939] Implement stat.st_dev and os.path.samefile on windows

2011-04-27 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc : Since 9cd1036455e7, os.stat() on Windows fills the st_ino member; it could fill st_dev just as easily; then os.path.samefile() could be shared with the posix implementation. -- components: Windows messages: 134595 nosy: amaury.forgeotdarc priori

[issue11834] wrong module installation dir on Windows

2011-04-27 Thread Bryce Verdier
Bryce Verdier added the comment: Ok, so after getting some off list help, I changed the defaults to what they should be. Also, Mark was right, "--install-scripts" generally puts things in pythondir\Scripts... as tested with pylint, mako, and some others. I changed data back to Data... though

[issue10632] multiprocessing generates a fatal error

2011-04-27 Thread Jesse Noller
Jesse Noller added the comment: Dupe of issue10517 -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Pyt

[issue11937] Interix support

2011-04-27 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I don't agree with some details of the patch (I would move the log-like calculation to a inline function, and document WHY it is needed at all, for instance), but supporting a new platform is good, moreover when the patch is so small. I would ask for a seas

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- dependencies: -multiprocessing generates a fatal error stage: -> commit review superseder: -> multiprocessing generates a fatal error versions: +Python 2.7, Python 3.1, Python 3.3 ___ Python tracker

[issue10632] multiprocessing generates a fatal error

2011-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- superseder: -> multiprocessing generates a fatal error ___ Python tracker ___ ___ Python-bugs-list mai

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- superseder: multiprocessing generates a fatal error -> ___ Python tracker ___ ___ Python-bugs-list mai

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2011-04-27 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever, haypo versions: +Python 3.3 ___ Python tracker ___ ___ Python-bug

[issue11921] distutils2 should be able to compile an Extension based on the Python implementation version

2011-04-27 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-04-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset f6feed6ec3f9 by Antoine Pitrou in branch '2.7': Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_* http://hg.python.org/cpython/rev/f6feed6ec3f9 -- nosy: +python-dev ___ Python tra

[issue11914] pydoc modules/help('modules') crash in dirs with unreadable subdirs

2011-04-27 Thread Ben Okopnik
Ben Okopnik added the comment: Trivial fix: please see attached. As to test_pydoc.py, I don't know the system well enough to fiddle with it, but something like this should work (untested): def test_unreadable_dir(self): ''' pydoc should handle unreadable subdirs gracefully '''

[issue11937] Interix support

2011-04-27 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Markus, could you possibly provide a buildbot running under Interix?. A virtual machine could be OK, if available 24x7, with reasonable resources (CPU, memory). -- ___ Python tracker

[issue11939] Implement stat.st_dev and os.path.samefile on windows

2011-04-27 Thread Brian Curtin
Brian Curtin added the comment: I created/assigned #10646 to myself for other samefile issues - I can cover this as well unless someone beats me to it. -- assignee: -> brian.curtin nosy: +brian.curtin stage: -> needs patch versions: +Python 3.3 __

[issue11937] Interix support

2011-04-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

  1   2   >