[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: At this point a feature change seems unlikely, Amaury, it is not too late to fix anything that's broken. New features are out, but we are free to fix anything hosed this badly. --

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: But there are probably working usages with unicode strings out there. For example, I've seen code like struct.pack('6sHHBBB', 'GIF87a', ...) Do you suggest to make this 3.1 code stop working in 3.2? In any case, the 'c' format should

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Amaury At this point a feature change seems unlikely, Amaury but it's not too late to emit a DeprecationWarning. I prefer to break the API today than having to maintain a broken API for 10 or 20 years :-) And we have a very small

[issue10773] Building C and C++ Extensions on Windows documentation shows 2.x way of initializing module

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r87524. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10773

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fine with me to fix this API during beta. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1823 ___

[issue10738] webbrowser.py bug with Opera on Linux

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: By all means. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10738 ___ ___ Python-bugs-list

[issue10766] optparse uses %s in gettext calls

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Hmm, argparse is new, so that is a different story. Not so sure about optparse, so I would not put this into 3.2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10766

[issue9824] SimpleCookie should escape commas and semi-colons

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Looks good. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9824 ___ ___ Python-bugs-list

[issue10679] make altinstall may clobber OS provided scripts

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed in r87525. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10679 ___

[issue2775] Implement PEP 3108

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Alas, too late for 3.2 now. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2775 ___

[issue10784] os.getpriority() and os.setpriority()

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Looks good. Would there be a point in making any of the parameters optional? -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10784

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I agree this automatic conversion is broken and should be fixed. Not sure if emitting a DeprecationWarning now and fixing it 18 months later is the right thing, especially since DeprecationWarnings are now silent. As Victor says, the

[issue10784] os.getpriority() and os.setpriority()

2010-12-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Looks good. Would there be a point in making any of the parameters optional? No. The API should look exactly as it does on the system level. Anybody calling these functions should know how call them. --

[issue10777] xml.etree.register_namespace dictionary changed size during iteration

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, this should be fixed in r87526. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10777

[issue10768] Bug in scrolledtext

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87527. Terry, the reason why calling example() interactively failed is the strange way __doc__ is imported -- it is None in your case and that causes the Tkinter type error. I fixed this as well. -- nosy: +georg.brandl

[issue10767] Lib/test/crashers/README is out of date

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87530. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10767 ___

[issue10742] memoryview.readonly attribute is not documented

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Added in r87531. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10742 ___

[issue10781] minidom Node.writexml method doesn't manage encoding parameter correctly

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87532. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10781 ___

[issue10708] Misc/porting should be folded in to the development FAQ

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Same for Misc/SpecialBuilds. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10708 ___

[issue6785] IncompleteRead / BadStatus when parsing http://peakoil.mobi

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

[issue10739] Subprocess behavior on Windows

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I agree that this belongs in the makefile docs. Fixed in r87535. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10670] Provide search scope limits

2010-12-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- Removed message: http://bugs.python.org/msg123928 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10670 ___

[issue10609] dbm documentation example doesn't work (iteritems())

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87536. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10609 ___

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Since the Release Manager agrees with the change, I withdraw my objection. I have three remarks to the patch: - Some examples in the documentation should be fixed: http://docs.python.org/dev/py3k/library/struct.html#examples

[issue6210] Exception Chaining missing method for suppressing context

2010-12-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I'm not sure how that's going to help as I don't want my library code to be responsible for printing out exceptions, I just want them to print reasonably -- and it seems very unreasonable to have the exception I'm converting /from/ show up in

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread David Beazley
David Beazley d...@dabeaz.com added the comment: As a user of Python 3, I would like echo Victor's comment about fixing the API right now as opposed to having to deal with it later. I can only speak for myself, but I would guess that anyone using Python 3 already understands that it's

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fixed by r87537. Thanks Amaury for your review! I also removed some ugly (implicit) conversions from test_struct. -- resolution: - fixed status: open - closed ___ Python tracker

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, Victor! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10783 ___ ___ Python-bugs-list

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread David Beazley
David Beazley d...@dabeaz.com added the comment: Thanks everyone for looking at this! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10783 ___

[issue10348] multiprocessing: use SysV semaphores on FreeBSD

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Informations about SysV semaphores: - functions: semget(), semop(), semctl(), ftok() - http://perldoc.perl.org/IPC/SysV.html - http://beej.us/guide/bgipc/output/html/multipage/semaphores.html --

[issue10348] multiprocessing: use SysV semaphores on FreeBSD

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Examples of programs using SysV semaphores: http://firebird.cvs.sourceforge.net/viewvc/firebird/firebird2/src/jrd/isc_sync.cpp?revision=HEADview=markup (Firebird, search #ifdef USE_SYS5SEMAPHORE sections)

[issue9333] Expose a way to enable os.symlink on Windows

2010-12-28 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Thanks for having a look. Checked in with the suggested changes to r87539. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker

[issue10759] HTMLParser.unescape() fails on HTML entities with incorrect syntax (e.g. #hearts; )

2010-12-28 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed this in r87542 in (py3k). unescape is undocumented helper method, so no docs are added. There was already an issue ( Issue6662) on malformed charref handling and it is fixed. -- resolution: - fixed stage: patch review -

[issue10759] HTMLParser.unescape() fails on HTML entities with incorrect syntax (e.g. #hearts; )

2010-12-28 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: r87544 (release27-maint) and r87545 (release31-maint). -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10759 ___

[issue10254] unicodedata.normalize('NFC', s) regression

2010-12-28 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed backports: r87540 (3.1) r87541 (2.7) r87546 (2.6) -- resolution: - fixed stage: commit review - committed/rejected status: open - closed versions: +Python 3.2 ___

[issue10786] unittest.TextTextRunner does not respect redirected stderr

2010-12-28 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +easy nosy: +michael.foord versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10786

[issue10786] unittest.TextTextRunner does not respect redirected stderr

2010-12-28 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: TextTestRunner is initialised with a stream to output messages on that defaults to sys.stderr. The correct way to redirect messages is to construct it with a different stream. If you want a redirectable stream then construct the

[issue10786] unittest.TextTextRunner does not respect redirected stderr

2010-12-28 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Actually I can't see a good reason why not to just lookup the *current* sys.stderr at instantiation time instead of binding at import time as is the current behaviour. Patch with tests will make it more likely that this change goes in

[issue10787] [random.gammavariate] Add the expression of the distribution in a comprehensive form for random.gammavariate

2010-12-28 Thread David Kremer
New submission from David Kremer david.kremer...@gmail.com: Could you please add the exact form of the distribution, because it's rather confusing in the current form. In this url, the role of k and theta is precised with a formula : [http://tinyurl.com/24jxfrk]* It seems that in

[issue9333] Expose a way to enable os.symlink on Windows

2010-12-28 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Checked in a small doc update in r87547. Removes the part about os.symlink not being available, and mentions the OSError. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9333

[issue6027] test_xmlrpc_net fails when the ISP returns 302 Found

2010-12-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: +1 on simply removing this test. *.xmlrpc.com look(s) totally unmaintained. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6027

[issue1772833] -q (quiet) option for python interpreter

2010-12-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Is it on purpose that no sys.flags attribute has been added for quiet? -- nosy: +eric.araujo versions: +Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue10764] sysconfig and alternative implementations

2010-12-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I suggest this bug is superseded by #9878. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10764 ___

[issue10788] test_logging failure

2010-12-28 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: This on the Windows Server 2008 buildbot: (http://www.python.org/dev/buildbot/all/builders/AMD64%20Windows%20Server%202008%203.x) Re-running test 'test_logging' in verbose mode test_flat (test.test_logging.BuiltinLevelsTest) ... FAIL

[issue10774] test_logging leaves temp files

2010-12-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Great, thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10774 ___ ___ Python-bugs-list

[issue10787] [random.gammavariate] Add the expression of the distribution in a comprehensive form for random.gammavariate

2010-12-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10787 ___ ___ Python-bugs-list

[issue10764] sysconfig and alternative implementations

2010-12-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Indeed -- resolution: - duplicate status: open - closed superseder: - Avoid parsing pyconfig.h and Makefile by autogenerating extension module ___ Python tracker rep...@bugs.python.org

[issue10764] sysconfig and alternative implementations

2010-12-28 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: No, issue 9878 can't be implemented for Python 2.7 whereas the issues other implementations have with sysconfig *could* still be resolved in 2.7 as a bugfix. (Specifically for IronPython on Mac OS X it would mean not assuming that

[issue1772833] -q (quiet) option for python interpreter

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: No, pure ignorance -- should be fixed in r87549. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1772833 ___

[issue6027] test_xmlrpc_net fails when the ISP returns 302 Found

2010-12-28 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: See also issue 6533. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6027 ___ ___

[issue9824] SimpleCookie should escape commas and semi-colons

2010-12-28 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Committed to py3k in r87550. Since the only application that would trip up would be one not using SimpleCookie to read SimpleCookie generated cookies *and* that doesn't implement unescaping (in which case it wasn't really handling

[issue10738] webbrowser.py bug with Opera on Linux

2010-12-28 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: 3.2,3.1,2.7: r87553, r87554, r87555 -- assignee: - terry.reedy components: +Library (Lib) resolution: - fixed status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-12-28 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: issue2636-20101228a.zip is a new version of the regex module. It now compiles the pattern quickly. -- Added file: http://bugs.python.org/file20182/issue2636-20101228a.zip ___ Python

[issue10766] optparse uses %s in gettext calls

2010-12-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: argparse is not new if you consider that it’s present in 2.7. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10766 ___

[issue10626] Bad interaction between test_logging and test_concurrent_futures

2010-12-28 Thread Brian Quinlan
Brian Quinlan br...@sweetapp.com added the comment: Fixed in r87556. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10626 ___

[issue8618] test_winsound fails when no playback devices configured

2010-12-28 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Looks like this might be an issue with the Windows Server 2008 build slave. I restarted it last night and a bunch of builds after that have failed due to this test. -- resolution: fixed - stage: committed/rejected - status: closed -

[issue6210] Exception Chaining missing method for suppressing context

2010-12-28 Thread Ethan Furman
Ethan Furman et...@stoneleaf.us added the comment: Besides, if you are writing library code (as opposed to application code), you shouldn't care at all how tracebacks are displayed, should you? I care when it lies: During handling of the above exception, another exception occurred: This is

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-12-28 Thread Jacques Grove
Jacques Grove jacq...@tripitinc.com added the comment: Thanks, issue2636-20101228a.zip also resolves my compilation speed issues I had on other (very) complex regexes. Found this one: re.search((X.*?Y\s*){3}(X\s*)+AB:, XY\nX Y\nX Y\nXY\nXX AB:) produces a search hit with stock python 2.6.5

[issue6210] Exception Chaining missing method for suppressing context

2010-12-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: During handling of the above exception, another exception occurred: This is a blatant falsehood -- another exception did not occur, a different exception was raised. This doesn't make any difference in any other context, so why would it

[issue10785] parser: store the filename as an unicode object

2010-12-28 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I like the idea, but I don't like the trend that parser code continues to diverge from pgen. I understand that most of the Python runtime is not available to pgen, but maybe a more elegant solution than changing the type

[issue6210] Exception Chaining missing method for suppressing context

2010-12-28 Thread Ethan Furman
Ethan Furman et...@stoneleaf.us added the comment: During handling of the above exception, another exception occurred: This is a blatant falsehood -- another exception did not occur, a different exception was raised. This doesn't make any difference in any other context, so why would it

[issue10716] Modernize pydoc to use CSS

2010-12-28 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Here is a tentative start on this. (css_v1.diff) The css file is much better. It's shorter, simpler and validated. The header and navbar panel use it in the new server. Added a markup call to the topic page contents. (The same

[issue10785] parser: store the filename as an unicode object

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: maybe a more elegant solution than changing the type conditional on PGEN can be found In pgen, the filename is only used to display the following warning, in indenterror(): filename: inconsistent use of tabs and spaces in

[issue10785] parser: store the filename as an unicode object

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: When testing my patch, I found and fixed two bugs in pgen: - r87557: PGEN was not defined to compile pgenmain.c and printgrammar.c - r87558: pgen error was ignored on make Parser/pgen.stamp (when executing pgen to compile the

[issue10785] parser: store the filename as an unicode object

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Version 2 of the patch: - remove filename attribute from perrdetail and tok_state structure in PGEN mode, and add a comment to explain why - rename filename_obj to filename - indenterror() no longer print the input filename in

[issue5672] Implement a way to change the python process name

2010-12-28 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5672 ___ ___

[issue6210] Exception Chaining missing method for suppressing context

2010-12-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: and, finally, if all I have is except ValueError as exc: raise AttributeError(blah) I just get the normal, previous context free, traceback. And what if the exception is raised from a subroutine? --

[issue6210] Exception Chaining missing method for suppressing context

2010-12-28 Thread Ethan Furman
Ethan Furman et...@stoneleaf.us added the comment: And what if the exception is raised from a subroutine? Well, if I have it surrounded by a try/except block, presumably I'm aware that an exception could be raised. ;) And if I'm aware that an exception could be raised, it may also be

[issue10348] multiprocessing: use SysV semaphores on FreeBSD

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also #5725. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10348 ___ ___

[issue6210] Exception Chaining missing method for suppressing context

2010-12-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: And what if the exception is raised from a subroutine? Well, if I have it surrounded by a try/except block, presumably I'm aware that an exception could be raised. ;) I'm talking about the exception raised from the except block.

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-12-28 Thread Jacques Grove
Jacques Grove aquara...@gmail.com added the comment: Here is a somewhat crazy pattern (slimmed down from something much larger and more complex, which didn't finish compiling even after several minutes):

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-12-28 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: issue2636-20101229.zip is a new version of the regex module. It now compiles the pattern quickly. -- Added file: http://bugs.python.org/file20185/issue2636-20101229.zip ___ Python tracker

[issue9333] Expose a way to enable os.symlink on Windows

2010-12-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Tests now fail on windows XP: http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/3874/steps/test/logs/stdio os.symlink() may raise NotImplementedError, and test.support.can_symlink() should catch it. --

[issue6210] Exception Chaining missing method for suppressing context

2010-12-28 Thread Ethan Furman
Ethan Furman et...@stoneleaf.us added the comment: I'm talking about the exception raised from the except block. So was I -- why should this: try: x = y / z except ZeroDivisionError as exc: raise InvalidInput() be different from this: try: x = divide_and_conquer(y, z) except

[issue5672] Implement a way to change the python process name

2010-12-28 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: If somebody would provide a patch that adds prctl to the posix module, that would be fine with me - we have a long tradition of exposing all available system calls if somebody wants them. Just for the record, I was about to try to do

[issue10348] multiprocessing: use SysV semaphores on FreeBSD

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: See also http://semanchuk.com/philip/sysv_ipc/: System V IPC for Python - Semaphores, Shared Memory and Message Queues -- ___ Python tracker rep...@bugs.python.org

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-28 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Sat, Nov 27, 2010 at 5:03 PM, Marc-Andre Lemburg rep...@bugs.python.org wrote: ..  * this version should be slightly faster and is also easier to read: #define Py_UCS4_READ_CODE_POINT(ptr, end) \ ..      

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-12-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8654 ___ ___ Python-bugs-list

[issue6210] Exception Chaining missing method for suppressing context

2010-12-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6210 ___ ___ Python-bugs-list

[issue9333] Expose a way to enable os.symlink on Windows

2010-12-28 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Oops, sorry. Fixed in r87561. -- stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9333

[issue5672] Implement a way to change the python process name

2010-12-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Just for the record, I was about to try to do this, when I realized that exposing prctl requires expecting a variable number of arguments with variable types. It turns out providing a Python wrapper for such a kind of C API is just a

[issue10542] Py_UNICODE_NEXT and other macros for surrogates

2010-12-28 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I am attaching a patch for commit review. I added an underscore prefix to all new macros. This way I am not introducing new features and we will have a full release cycle to come up with better names. i would just note

[issue8618] test_winsound fails when no playback devices configured

2010-12-28 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: This isn't failing in manual runs of regrtest -uall on that machine. -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8618

[issue10753] request_uri method of wsgiref module does not support RFC1808 params.

2010-12-28 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: r87564 (py3k), r87565 (release31-maint) and r87566 (release27-maint). Just a Note. These kind of minor changes have many a times resulted in regression for developers who relied upon previous bad behavior. I have added NEWS to explain