[issue4955] inconsistent, perhaps incorrect, behavior with respect to entities parsed by xml.sax

2009-01-17 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Neither the title nor your two posts identify the module you think needs to be changed. Changing the title to include that might better get attention from someone who is familiar with that module and could deal with the request. --

[issue4969] mimetypes on Windows should read MIME database from registry (w/patch)

2009-01-17 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: The mimetypes module has a built-in default database, and, in addition, reads mime.types files from a list of standard places (/etc/mime.types by example) On Windows, those files usually don't even present; MIME information is

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks for the patch, Victor! Looks pretty good at first glance, except that it seems that the UTF-32 to UTF-16 translation is skipped if HAVE_USABLE_WCHAR_T is defined. Is that deliberate? A test would be good, too.

[issue4969] mimetypes on Windows should read MIME database from registry (w/patch)

2009-01-17 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- versions: -Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4969 ___ ___

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2009-01-17 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: The x86 gentoo 3.0 and 3.x buildbots have been failing for a while at the test stage, with: make: *** [buildbottest] Unknown signal 32 program finished with exit code 2 I noticed a common denominator with these failures, which is that

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2009-01-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Another observation is that after test_os has been run, the first test to actually cause the 'unknown signal' failure always seems to be one that involves threads (e.g., test_wait3, or test_queue, or test_logging...)

[issue4970] test_os causes delayed failure on x86 gentoo buildbot: Unknown signal 32

2009-01-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: ...and there's a related message from Neal Norwitz at: http://mail.python.org/pipermail/python-3000/2007-August/009944.html I suspect that python Lib/test/regrtest.py test_os test_wait3 (possibly with some additional flags to regrtest.py)

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Looks pretty good at first glance, except that it seems that the UTF-32 to UTF-16 translation is skipped if HAVE_USABLE_WCHAR_T is defined. Is that deliberate? #ifdef HAVE_USABLE_WCHAR_T memcpy(unicode-str, w, size *

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I understand this code as: sizeof(wchar_t) == sizeof(Py_UNICODE). If I misunderstood the code, it's a a heap overflow :-) Yep, sorry. You're right. A test would be good, too. PyUnicode_FromWideChar() is not a public API. Should I write

[issue4828] patch suggestion for webbrowser

2009-01-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I was to suggest to use the PATHEXT variable instead of a hardcoded list of extensions, but does all this work at all? For example, I added a opera.bat in my current directory. a browser named 'opera' was registered, but it did not

[issue3997] zipfile and winzip

2009-01-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Here is an updated version (zip-64k-3.patch). Now the condition for writing a ZIP64 end-of-archive depends on the size of all three values. Added file: http://bugs.python.org/file12775/zip-64k-3.patch

[issue3997] zipfile and winzip

2009-01-17 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Looks fine to me. Please apply. -- keywords: -needs review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997 ___

[issue4967] Bugs in _ssl object read() when a buffer is specified

2009-01-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' billiej...@users.sourceforge.net: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4967 ___

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: On 2009-01-17 14:00, STINNER Victor wrote: A test would be good, too. PyUnicode_FromWideChar() is not a public API. Should I write a function in _testcapi? It is a public C API. Regardless of this aspect, we should always add tests for

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: On 2009-01-17 14:00, STINNER Victor wrote: STINNER Victor victor.stin...@haypocalc.com added the comment: Looks pretty good at first glance, except that it seems that the UTF-32 to UTF-16 translation is skipped if HAVE_USABLE_WCHAR_T is

[issue3871] cross and native build of python for mingw32 with distutils

2009-01-17 Thread Roumen Petrov
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Hi Luke, Initially I start build in cross environment. Later I setup a posix environment, based on msys and in the last patch is commented which module has to be build-in for native build. I'm not surprised that you succeed to build in

[issue4955] xml.sax.expatreader.ExpatParser incorrectly silently skips external character entities in attribute values

2009-01-17 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone exar...@divmod.com: -- title: inconsistent, perhaps incorrect, behavior with respect to entities parsed by xml.sax - xml.sax.expatreader.ExpatParser incorrectly silently skips external character entities in attribute values

[issue4971] Incorrect title case

2009-01-17 Thread Matthew Barnett
New submission from Matthew Barnett pyt...@mrabarnett.plus.com: I've found that the following 4 Unicode characters/codepoints don't behave as I'd expect: Dž (U+01C5), Lj (U+01C8), Nj (U+01CB), Dz (U+01F2). For example, u'\u01C5'.istitle() returns True and unicodedata.category(u'\u01C5') returns

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Updated patch including a test in _testcapi module: create two PyUnicode objects from wide string (PyUnicode_FromWideChar) and another from utf-8 (PyUnicode_FromString) and compare the value. Patch is still for py3k branch and can

[issue4971] Incorrect title case

2009-01-17 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- versions: -Python 2.4, Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4971 ___ ___

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I run my test on py3k on Linux with 32 bits wchar_t: - 16 bits Py_UNICODE: test is failing without PyUnicode_FromWideChar() patch - 32 bits Py_UNICODE: test pass without the patch, so the issue only impact 16 bits Py_UNICODE Can

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-17 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Removed file: http://bugs.python.org/file12773/unicode_fromwidechar_surrogate.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4474 ___

[issue4474] PyUnicode_FromWideChar incorrect for characters outside the BMP (unix only)

2009-01-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: (with the full patch, all tests pass with 16 or 32 bits Py_UNICODE) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4474 ___

[issue4930] Small optimization in type construction

2009-01-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Committed r68665. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4930 ___

[issue4972] let's equip ftplib.FTP with __enter__ and __exit__

2009-01-17 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: In a program, I naturally wrote: from ftplib import FTP with FTP('ftp.somewhere.com') as ftp: ... ftp.login('someone', 'pass') ... ... Until I realized this class is not equipped with __enter__ and __exit__, I

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Zlm
Zlm zemari...@gmail.com added the comment: Hi. I have the same problem, but i'm running Pyhton 2.6.1. I'm using Windows Vista 32bit SP1. I installed Python to C:\Program Files\Python\2.6\ and when I try to run idle from the start menu, it doesn't work. When I try to run it from the command

[issue3871] cross and native build of python for mingw32 with distutils

2009-01-17 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: roumen, hi, can you add: BASECFLAGS=-mthreads $BASECFLAGS LDFLAGS=-mthreads $LDFLAGS when compiling with threads, and... a second request: _block_ people from compiling without mthreads, because there's a bug in wine's

[issue4971] Incorrect title case

2009-01-17 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I do think this is a bug in the Unicode database. The current approach (of falling back to uppercase if there is no title case in the Unicode database) goes back to r17708. However, even the prior version only contained explicitly the cases

[issue4973] calendar formatyearpage returns bytes, not str

2009-01-17 Thread Michael Newman
New submission from Michael Newman michael.b.new...@gmail.com: formatyearpage is returning bytes, not str Python 3.0 (r30:67507, Dec 3 2008, 20:14:27) [MSC v.1500 32 bit (Intel)] on win 32 Type help, copyright, credits or license for more information. import calendar

[issue4910] Remove uses of nb_long slot, and rename to nb_reserved.

2009-01-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks again for reviewing, Benjamin. nb_long renamed in r68651, merged to 3.0 (along with a few other long-int cleanups) in r68666. There seems to be a consensus on deprecating PyNumber_Int. I'll leave this open until that's taken care

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: zlm, did you chose to install Tcl/Tk when installing Python? ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3881 ___

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Zlm
Zlm zemari...@gmail.com added the comment: Yes, I did. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3881 ___ ___ Python-bugs-list mailing list

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Yes, I did. So do you have a file C:\Programas\Python\2.6\tcl\tcl8.5\init.tcl ? ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3881 ___

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Zlm
Zlm zemari...@gmail.com added the comment: So do you have a file C:\Programas\Python\2.6\tcl\tcl8.5\init.tcl ? Yes, I have. Could this problem be related to paths with slashes and backslashes? In the error log, the first path (the right one) has backslashes, but the others have slashes.

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Could this problem be related to paths with slashes and backslashes? Unlikely. The exact same package works on many other machines, so there must be something strange with your machine. Can you run the Sysinternals filemon to find out what

[issue3871] cross and native build of python for mingw32 with distutils

2009-01-17 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: roumen, hi, can you add: BASECFLAGS=-mthreads $BASECFLAGS LDFLAGS=-mthreads $LDFLAGS when compiling with threads, and... a second request: _block_ people from compiling without mthreads, because there's a bug in wine's

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Jacob
Jacob jacobe...@gmail.com added the comment: I don't think it's just his machine (and mine), but i don't think so. Unfortunealy, i don't have a Windows Vista key ready, else i'd have testet it on a clean install, but i'll try to install the same package on the next computer with Vista i stumple

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Zlm
Zlm zemari...@gmail.com added the comment: Can you run the Sysinternals filemon to find out what files it is accessing? I tried Sysinternals ProcessMonitor (equivalent of filemon to Windows Vista), but the simple act of trying to open IDLE produces thousands of entries to the log window. I

[issue4937] Mac DMG install missing version.plist required by bundlebuilder.py

2009-01-17 Thread Ned Deily
Ned Deily n...@acm.org added the comment: As a workaround, you can copy the missing file from a 2.5 (or earlier) Python and edit it, if necessary. sudo cd /Library/Frameworks/Python.framework/Versions/ cp -p 2.5/Resources/version.plist 2.6/Resources/ Or look at the one in the Apple-supplied

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I think this situation can be easily reproduced by installing Pyhton to other than the default path on Windows Vista. I could not reproduce it that way. I just installed Python 2.6.1 into c:\tmp\python26, on Vista SP1 x64 (although I

[issue4077] Py_FatalError cleanup patch

2009-01-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: committed with r68667. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4077 ___

[issue3881] IDLE won't start in custom directory.

2009-01-17 Thread Jacob
Jacob jacobe...@gmail.com added the comment: Okay, i'll try to find a key for Vista in all my drawers, and install a clean version, try it, and then i'll tell you the result. I just can't see what could produce the error at our computers. ___ Python tracker

[issue4838] md_state is not released

2009-01-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a patch. I'm not sure if I'm missing something here, since it looks trivial. -- keywords: +patch nosy: +pitrou Added file: http://bugs.python.org/file12777/issue4838.patch ___ Python tracker

[issue4838] md_state is not released

2009-01-17 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Looks fine, please apply. -- assignee: - pitrou resolution: - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4838 ___

[issue4974] Redundant mention of lists and tuples at start of Sequence Types documentation

2009-01-17 Thread Mitchell Model
New submission from Mitchell Model m...@acm.org: Under Built-in Types in the Library documentation the section on Sequence Types begins with the paragraph: There are five sequence types: strings, byte sequences, byte arrays, lists, tuples, and range objects. (For other containers see the

[issue3997] zipfile and winzip

2009-01-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Reopening, some tests have started deterministically failing: == ERROR: testAbsoluteArcnames (test.test_zipfile.TestZip64InSmallFiles)

[issue4975] 3.0 base64 doc examples lack bytes 'b' indicator

2009-01-17 Thread Terry J. Reedy
New submission from Terry J. Reedy tjre...@udel.edu: This unconverted example in the 3.1a doc needs a 'b' for 'bytes' added before the three input and output string literals. import base64 encoded = base64.b64encode('data to be encoded') # here encoded 'ZGF0YSB0byBiZSBlbmNvZGVk' # here data

[issue4976] Documentation of the set intersection and difference operators is inaccurate

2009-01-17 Thread Mitchell Model
New submission from Mitchell Model m...@acm.org: A quibble about the documentation of sets in the library documentation: the union and intersection operators are shown with ellipsis, as is the difference operator. However, they inaccurately refer to both sets in their documentation. They

[issue3997] zipfile and winzip

2009-01-17 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc amaur...@gmail.com: Added file: http://bugs.python.org/file12779/zip64-alwaystry2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997 ___

[issue4954] native build of python win32 using msys under wine.

2009-01-17 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: workarounds for a couple of wine bugs, also includes e.g. #4977 64-bit assumptions on 32-bit systems. Added file: http://bugs.python.org/file12780/f ___ Python tracker rep...@bugs.python.org

[issue4954] native build of python win32 using msys under wine.

2009-01-17 Thread Luke Kenneth Casson Leighton
Changes by Luke Kenneth Casson Leighton l...@lkcl.net: Removed file: http://bugs.python.org/file12764/x ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4954 ___

[issue1225107] inspect.isclass() fails with custom __getattr__

2009-01-17 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Finally fixed in r68676. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1225107

[issue4910] Remove uses of nb_long slot, and rename to nb_reserved.

2009-01-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Here's a patch that deprecates PyNumber_Int in favour of PyNumber_Long: - move PyNumber_Int definition from abstract.h to intobject.h (and fix up comments at the top of intobject.h) - mark PyNumber_Int as deprecated in the c-api docs, with

[issue2614] Console UnicodeDecodeError s once more

2009-01-17 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I think this had been addressed by PEP 3138 [1]. [1] http://www.python.org/dev/peps/pep-3138/ -- nosy: +benjamin.peterson resolution: - out of date status: open - closed ___ Python tracker

[issue3997] zipfile and winzip

2009-01-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Applied the zip64-alwaystry2.patch in trunk, waiting for buildbots. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3997 ___

[issue4977] test_maxint64 fails on 32-bit systems due to assumption that 64-bit fits into long

2009-01-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: From the included patch, I assume you're talking about a failure of test_pickle. I'm not seeing any such failure on my (32-bit) system, and the code in Modules/cPickle.c looks correct to me. I suspect that the problem is that in your

[issue4977] test_maxint64 fails on 32-bit systems due to assumption that 64-bit fits into long

2009-01-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: You might try replacing the strtol call with a call to PyOS_strtol. Please let us know if this works! ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4977

[issue4954] native build of python win32 using msys under wine.

2009-01-17 Thread Martin v. Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- nosy: -loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4954 ___ ___ Python-bugs-list

[issue4978] allow unicode keyword args

2009-01-17 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- keywords: +patch Added file: http://bugs.python.org/file12782/unicode_kwds.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4978 ___

[issue4971] Incorrect title case

2009-01-17 Thread John Machin
John Machin sjmac...@users.sourceforge.net added the comment: Martin:Considering this note, the simple titlecase of U+01C5 *is* U+01C4: the titlecase value is omitted, hence it is the same as uppercase, hence it is U+01C4. Perhaps we are looking at different files; in the Unicode 5.1

[issue4979] random.uniform can return its upper limit

2009-01-17 Thread Max Hailperin
New submission from Max Hailperin m...@gustavus.edu: The documentation for random.uniform says that random.uniform(a,b) should return a number strictly less than b, assuming ab. (The result should be strictly less than a if ab.) Thus both of the following expressions should always evaluate

[issue4971] Incorrect title case

2009-01-17 Thread Martin v. Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Perhaps we are looking at different files; Indeed, I was looking at the 3.2.0 database (assuming that it would be the same in subsequent versions). ISTM the problem is that implementing the default-to-uppercase was not done in

[issue4879] Allow buffering for HTTPResponse

2009-01-17 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Kristján, could you merge this change into the Py3k branch, please? -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4879

[issue4508] distutils compiler not handling spaces in path to output/src files

2009-01-17 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I couldn't reproduce the problem yet, using your sample. I tried to compile on Mac OSX (Python 2.5 GCC) and Windows XP (Python 2.5 , MinGW 5.1.4 and SWIG 1.2.3) and it worked well. The output was right, (the .o file has a space, but the

[issue4981] Incorrect statement regarding mutable sequences in datamodel Reference

2009-01-17 Thread Mitchell Model
New submission from Mitchell Model m...@acm.org: Early in the datamodel document in the Reference documentation is the statement: There is currently a single intrinsic mutable sequence type: This statement is followed by the documentation of Lists and Byte Arrays. The statement should

[issue4981] Incorrect statement regarding mutable sequences in datamodel Reference

2009-01-17 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r68707. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4981

[issue4981] Incorrect statement regarding mutable sequences in datamodel Reference

2009-01-17 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Never mind, I meant r68706. ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4981 ___ ___

[issue4982] Running python 3 as Non-admin User requests the Runtime to terminate in an unusual way.

2009-01-17 Thread William Stevenson
New submission from William Stevenson yhvh2...@googlemail.com: AMD64 msi install seemed to work fine when running python3.0 as admin but fails immediately as any other user. Command Line output: C:\Python30python.exe Fatal Python error: Py_Initialize: can't initialize sys standard streams

[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2009-01-17 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: FYI, there was a small issue in the patch - namely the only way to get the AttributeError to raise in the Value/Array creation is to not pass in a lock, True/None or False - the latter three get to a lock/RLock while the former will have the

[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2009-01-17 Thread Jesse Noller
Changes by Jesse Noller jnol...@gmail.com: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4449 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2009-01-17 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: FYI, there was a small issue in the patch - namely the only way to get the AttributeError to raise in the Value/Array creation is to not pass in a lock, True/None - the latter two get to a lock/RLock while the former will have the acquire

[issue4449] AssertionError in Doc/includes/mp_benchmarks.py

2009-01-17 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Checked into trunk in r68708 - I pinged benjamin to see how we're handling merges right now as this needs to go into py3k -- status: open - closed ___ Python tracker rep...@bugs.python.org

[issue4983] Spurious reference to byte sequences in Library stdtypes sequence documentation

2009-01-17 Thread Mitchell Model
New submission from Mitchell Model m...@acm.org: The first sentence under Sequence Types in the Library stdtypes document is: There are five sequence types: strings, byte sequences, byte arrays, lists, tuples, and range objects However, subsequent discussion, as well as reality, use the term

[issue4347] Circular dependency causes SystemError when adding new syntax

2009-01-17 Thread Thomas Lee
Thomas Lee t...@vector-seven.com added the comment: Brett, any feedback on this one? ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4347 ___ ___

[issue4984] Inconsistent count of sequence types in Library stdtypes document

2009-01-17 Thread Mitchell Model
New submission from Mitchell Model m...@acm.org: Sorry I didn't notice all the problems I've reported today about this paragraph at one time so I could have submitted only one report. Anyway, here's another problem with the first sentence of the Sequence Types section of the library stdtypes

[issue4981] Incorrect statement regarding mutable sequences in datamodel Reference

2009-01-17 Thread Mitchell Model
Mitchell Model m...@acm.org added the comment: Benjamin Peterson benja...@python.org added the comment: Fixed in r68707. Sorry if I missed that. I checked some of the documentation problems I reported today against an updated subversion copy of 3.0 and 3.1, but I didn't check all. Got

[issue4981] Incorrect statement regarding mutable sequences in datamodel Reference

2009-01-17 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: On Sat, Jan 17, 2009 at 10:29 PM, Mitchell Model rep...@bugs.python.org wrote: Mitchell Model m...@acm.org added the comment: Benjamin Peterson benja...@python.org added the comment: Fixed in r68707. Sorry if I missed that. I

[issue4985] Idle hangs when given a nonexistent filename.

2009-01-17 Thread Romeo Victor Dellarocco
New submission from Romeo Victor Dellarocco della...@gmail.com: Idle hangs when given the name of a nonexistent file. The idle window briefly appears, then disappears, the process hangs and has to be terminated. Platform: Linux 2.6.22-16-rt #1 SMP PREEMPT RT Mon Nov 24 21:03:25 GMT 2008 i686

[issue4347] Circular dependency causes SystemError when adding new syntax

2009-01-17 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: I will take a look when I can. -- assignee: - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4347 ___