[issue45855] Replace PyImport_ImportModuleNoBlock with PyImport_ImportModule in std modules
Change by Georg Brandl : -- status: closed -> open ___ Python tracker <https://bugs.python.org/issue45855> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45855] Replace PyImport_ImportModuleNoBlock with PyImport_ImportModule in std modules
Georg Brandl added the comment: New changeset f4095e53ab708d95e019c909d5928502775ba68f by Georg Brandl in branch 'main': bpo-45855: document that `no_block` has no use anymore in PyCapsule_Import (#29665) https://github.com/python/cpython/commit/f4095e53ab708d95e019c909d5928502775ba68f -- ___ Python tracker <https://bugs.python.org/issue45855> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue45855] Replace PyImport_ImportModuleNoBlock with PyImport_ImportModule in std modules
Change by Georg Brandl : -- status: open -> closed ___ Python tracker <https://bugs.python.org/issue45855> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25927] add dir_fd for mkstemp, and also maybe to all tempfile.*
Change by Georg Brandl : -- nosy: -georg.brandl ___ Python tracker <https://bugs.python.org/issue25927> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue32696] Fix pickling exceptions with multiple arguments
Change by Georg Brandl : -- nosy: -georg.brandl ___ Python tracker <https://bugs.python.org/issue32696> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19479] textwrap.dedent doesn't work properly with strings containing CRLF
Change by Georg Brandl : -- nosy: -georg.brandl ___ Python tracker <https://bugs.python.org/issue19479> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42238] Deprecate suspicious.py?
Georg Brandl added the comment: > I was not here 21 years ago when it was introduced You gave me a small shock, but I checked and it was only 11/12 years ago :D I'm fine with moving this out of tree; please coordinate with the Sphinx maintainers whether it should be an "official" extension or completely separate. -- ___ Python tracker <https://bugs.python.org/issue42238> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42238] Deprecate suspicious.py?
Georg Brandl added the comment: Sure! -- ___ Python tracker <https://bugs.python.org/issue42238> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42238] Deprecate suspicious.py?
Georg Brandl added the comment: Looks good. I should have rights automatically for everything in that org. -- ___ Python tracker <https://bugs.python.org/issue42238> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12029] [doc] clarify that except does not match virtual subclasses of the specified exception type
Change by Georg Brandl : -- nosy: -georg.brandl ___ Python tracker <https://bugs.python.org/issue12029> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1000] x
Changes by Georg Brandl: -- severity: normal status: open title: x __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1000> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1624674] webbrowser.open_new() suggestion
Georg Brandl added the comment: webbrowser uses the default GNOME browser if a GNOME session is running and kfmclient if a KDE session is running. Closing as "works for me". -- resolution: -> works for me status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1624674> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1753371] Open always create new tab or new browser
Georg Brandl added the comment: With Firefox, that's probably because you have set the default behavior to "open a new tab", so there's nothing webbrowser.py can do about that. In Windows, os.startfile() is used, which doesn't allow remote settings like "new window" etc., so there's nothing webbrowser.py can do about that, too. Setting tentatively to "Won't fix". -- nosy: +gbrandl resolution: -> wont fix status: open -> pending _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1753371> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1776696] tempfile.TemporaryFile differs between platforms
Georg Brandl added the comment: I agree with tiran. TemporaryFile(...) returns a file-like object, the details are implementation specific. -- nosy: +gbrandl resolution: -> invalid status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1776696> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1742889] Pickling of exceptions broken
Georg Brandl added the comment: Closing in favor of #1692335. -- status: open -> closed superseder: -> Move initial args assignment to BaseException.__new__ _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1742889> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1744398] Improve exception pickling support
Georg Brandl added the comment: Closing in favor of #1692335. -- nosy: +gbrandl status: open -> closed superseder: -> Move initial args assignment to BaseException.__new__ _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1744398> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__
Georg Brandl added the comment: Raising priority. -- priority: normal -> urgent severity: normal -> major title: Move initial args assignment to BaseException.__new__ -> Fix exception pickling: Move initial args assignment to BaseException.__new__ versions: +Python 2.6 _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1692335> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1772481] urllib2 hangs with some documents.
Georg Brandl added the comment: The fix seems safe to apply. -- nosy: +gbrandl _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1772481> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1768121] Byte code WITH_CLEANUP missing, MAKE_CLOSURE wrong
Georg Brandl added the comment: Fixed in rev. 57324, thanks for the report. -- assignee: -> gbrandl nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1768121> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1766421] poll() returns "status code", not "return code"
Georg Brandl added the comment: Thanks for the report, fixed in rev. 57326, 57327. -- assignee: -> gbrandl nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1766421> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1752175] fixing 2.5.1 build with unicode and dynamic loading disabled
Georg Brandl added the comment: Okay, fixed both and backported in rev. 57328, 57330. -- assignee: -> gbrandl nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1752175> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1757118] utilize 2.5 try/except/finally in contextlib
Georg Brandl added the comment: Committed in rev. 57331. -- assignee: -> gbrandl nosy: +gbrandl resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1757118> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1756389] reference count discrepancy, PyErr_Print vs. PyErr_Clear
Georg Brandl added the comment: Closing as invalid. -- nosy: +gbrandl resolution: -> invalid status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1756389> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1757072] Zipfile robustness
Georg Brandl added the comment: Alan? -- assignee: -> aimacintyre nosy: +gbrandl _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1757072> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1764044] copy 2
Georg Brandl added the comment: Which "time" is that? Windows three timestamps, IIRC: creation, modification, access. -- nosy: +gbrandl _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1764044> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1753395] struni: assertion in Windows debug build
Georg Brandl added the comment: Attaching a patch, should fix this. -- nosy: +gbrandl _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1753395> _Index: Objects/typeobject.c === --- Objects/typeobject.c(Revision 57337) +++ Objects/typeobject.c(Arbeitskopie) @@ -1563,28 +1563,16 @@ static int valid_identifier(PyObject *s) { - Py_UNICODE *p; - Py_ssize_t i, n; - if (!PyUnicode_Check(s)) { PyErr_Format(PyExc_TypeError, "__slots__ items must be strings, not '%.200s'", Py_Type(s)->tp_name); return 0; } - p = PyUnicode_AS_UNICODE(s); - n = PyUnicode_GET_SIZE(s); - /* We must reject an empty name. As a hack, we bump the - length to 1 so that the loop will balk on the trailing \0. */ - if (n == 0) - n = 1; - for (i = 0; i < n; i++, p++) { - if (*p > 127 || - (!(i == 0 ? isalpha(*p) : isalnum(*p)) && *p != '_')) { - PyErr_SetString(PyExc_TypeError, - "__slots__ must be identifiers"); - return 0; - } + if (!PyUnicode_IsIdentifier(s)) { + PyErr_SetString(PyExc_TypeError, + "__slots__ must be identifiers"); + return 0; } return 1; } ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1757072] Zipfile robustness
Changes by Georg Brandl: -- assignee: aimacintyre -> _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1757072> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1209562] add single html files
Georg Brandl added the comment: The new docs (see http://docs.python.org/dev) have much longer individual HTML pages, perhaps this is already enough for your needs (a single Library Reference page would be several Megabytes in size...) -- nosy: +gbrandl status: open -> pending _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1209562> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1752703] chown() does not handle UID > INT_MAX
Georg Brandl added the comment: Closing, superseder has more information and same patch. -- nosy: +gbrandl resolution: -> duplicate status: open -> closed superseder: -> chown broken on 64bit _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1752703> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue457493] include SQL interface module
Georg Brandl added the comment: With DB API and sqlite3 in the stdlib, I think this can be closed. -- nosy: +gbrandl status: open -> closed Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue457493> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue514532] Add "eu#" parser marker
Georg Brandl added the comment: I guess this can be closed in the light of Py3k. -- nosy: +gbrandl status: open -> closed Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue514532> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue714469] Easy tutorial printing should be possible
Georg Brandl added the comment: Assigning to me to remind myself about writing a PDF-producing Sphinx builder. -- assignee: -> gbrandl nosy: +gbrandl resolution: invalid -> Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue714469> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue447143] exception item from mapped function
Georg Brandl added the comment: Closing, see PEP 3134. -- nosy: +gbrandl status: open -> closed title: exception item from mapped function -> exception item from mapped function Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue447143> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue223599] Need user-centered info for Windows users.
Georg Brandl added the comment: issue469773 subsumes this. -- nosy: +gbrandl -nobody resolution: -> duplicate status: open -> closed superseder: -> Write 'Using Python on Platform X' documents Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue223599> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue698900] Provide "plucker" format docs.
Georg Brandl added the comment: Plucker seems to be dead for at least two years, so closing. -- nosy: +gbrandl resolution: -> out of date status: open -> closed Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue698900> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1086642] Compile of _socket fails on IRIX with 2.4
Changes by Georg Brandl: -- title: Compile of _socket fails on 2.4 -> Compile of _socket fails on IRIX with 2.4 _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1086642> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue765228] Subclassing from Modules
Georg Brandl added the comment: In 2.5, the message says "module.__init__() takes at most 2 arguments (3 given)", which is at least a bit more specific. You get similar errors when "deriving" from other arbitrary objects, so I don't know if a special case makes sense here. -- nosy: +gbrandl Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue765228> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue924771] work around to compile \r\n file
Georg Brandl added the comment: The offending open() call in trace.py is fixed, so closing this. -- nosy: +gbrandl resolution: -> out of date status: open -> closed Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue924771> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue881765] configure warning / sys/un.h: present but cannot be compiled
Georg Brandl added the comment: No followup for 3 years, so this can probably be closed. -- nosy: +gbrandl status: open -> closed Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue881765> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue547537] cStringIO should provide a binary option
Georg Brandl added the comment: I think this can be closed, cStringIO won't change and Py3k won't have StringIO unicode problems anyway. -- nosy: +gbrandl resolution: -> wont fix status: open -> closed Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue547537> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1767242] os.chmod failure
Changes by Georg Brandl: -- status: open -> pending _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1767242> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1697820] __getslice__ still used in built-in types
Georg Brandl added the comment: Fixed in rev. 57343. -- assignee: rhettinger -> gbrandl nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1697820> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1293790] python.sty: [EMAIL PROTECTED] correction
Georg Brandl added the comment: Obsolete now that we're using reST sources. -- nosy: +gbrandl resolution: -> out of date status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1293790> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1293788] python.sty correction - verbatim environment
Georg Brandl added the comment: Obsolete now that we're using reST sources. -- nosy: +gbrandl resolution: -> out of date status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1293788> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1573854] sqlite3 documentation on rowcount is contradictory
Georg Brandl added the comment: Fixed now in rev. 57345. -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1573854> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1694833] Bad documentation for existing imp methods
Georg Brandl added the comment: Thanks for the report, fixed in rev. 57347. -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1694833> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1594966] doctest simple usage recipe is misleading
Georg Brandl added the comment: Fixed in rev. 57348. -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1594966> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1095328] Add 'update FAQ' to release checklist
Georg Brandl added the comment: Updated FAQ once again; there is an item in PEP 101 already. -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1095328> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1119439] Python Programming FAQ should be updated for Python 2.4
Georg Brandl added the comment: Fixed in my pydotorg tree, will commit as soon as I find out how :) -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1119439> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1635217] Add example of distutils setup() with "requires" argument
Changes by Georg Brandl: -- title: Little mistake in docs -> Add example of distutils setup() with "requires" argument _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1635217> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1752332] getaddrinfo no longer used in httplib
Georg Brandl added the comment: Fixed in rev. 57351. -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1752332> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1734111] struct.Struct.size is not documented
Georg Brandl added the comment: Fixed in rev. 57352. -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1734111> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1707497] generation errors in PDF-A4 tags for lib.pdf
Georg Brandl added the comment: Obsolete; the sources from which these PDFs are generated are no longer used. -- nosy: +gbrandl resolution: -> out of date status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1707497> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1708326] imp.find_module doc ambiguity
Georg Brandl added the comment: IMO it is your responsibility to make sure that the module name you pass is a valid Python module name. -- nosy: +gbrandl status: open -> pending _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1708326> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1699759] pickle example contains errors
Georg Brandl added the comment: The example is already fixed; also, a note is in the docs that you must use binary mode for protocols >= 1. -- nosy: +gbrandl resolution: -> out of date status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1699759> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1688564] os.path.join.__doc__ should mention absolute paths
Georg Brandl added the comment: Fixed in rev. 57353. -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1688564> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1630515] doc misleading in re.compile
Georg Brandl added the comment: Normal usage is to create a RE object and then using its methods. Why would you pass a RE object to a module-level function instead? Therefore, documenting this possibility would just confuse the reader. Closing as "won't fix". -- nosy: +gbrandl resolution: -> wont fix status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1630515> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1421839] Inconsistency in Programming FAQ
Georg Brandl added the comment: Fixed in my pydotorg tree, will commit ASAP. -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1421839> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1625381] re module documentation on search/match is unclear
Georg Brandl added the comment: Clarified in rev. 57354. -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1625381> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1758696] Documentation of descriptors needs more detail
Georg Brandl added the comment: Added a footnote in rev. 57355. -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1758696> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1742164] Incorrect docs for optparse OptionParser add_help_option
Georg Brandl added the comment: This is finally fixed with the new sources and toolset. -- nosy: +gbrandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1742164> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1743846] Examples dropped from PDF version of SQLite docs
Georg Brandl added the comment: Obsolete now, the toolset that generated these PDFs is no longer used for new versions. -- nosy: +gbrandl resolution: -> out of date status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1743846> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue780725] Compile error messages and PEP-263
Georg Brandl added the comment: #1031213 contains a patch, marking as superseder. -- nosy: +gbrandl resolution: -> duplicate status: open -> closed superseder: -> Patch for bug #780725 Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue780725> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1031213] Use correct encoding for printing SyntaxErrors
Changes by Georg Brandl: -- title: Patch for bug #780725 -> Use correct encoding for printing SyntaxErrors _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1031213> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1779550] Remove redundancies inside class logging.Logger
Georg Brandl added the comment: Thanks, applied as rev. 57357. -- assignee: -> gbrandl nosy: +gbrandl resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1779550> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1766304] improve xrange.__contains__
Changes by Georg Brandl: -- keywords: +py3k _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1766304> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1686597] descrintro: error describing __new__ behavior
Georg Brandl added the comment: Fixed in pydotorg rev. 10972. -- assignee: -> georg.brandl nosy: +georg.brandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1686597> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1728488] -q (quiet) option for python interpreter
Changes by Georg Brandl: -- superseder: -> -q (quiet) option for python interpreter _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1728488> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1772833] -q (quiet) option for python interpreter
Georg Brandl added the comment: Guido, is this okay to check in? -- assignee: -> gvanrossum _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1772833> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1765375] setup.py trashes LDFLAGS
Georg Brandl added the comment: Thanks for the report, fixed in rev. 57389, 57390 (2.5). -- assignee: -> georg.brandl nosy: +georg.brandl resolution: -> fixed status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1765375> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1765558] small improvement for peephole conditional jump optimizer
Changes by Georg Brandl: -- assignee: -> rhettinger _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1765558> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1764986] generic and more efficient removal of unreachable code
Changes by Georg Brandl: -- assignee: -> rhettinger _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1764986> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1757062] Pickle fails on BeautifulSoup's navigableString instances
Georg Brandl added the comment: This is indeed tricky. The docs say __unicode__ "should return a Unicode object", so I'm inclined to blame BeautifulSoup. Asking Neal for a second opinion. -- assignee: -> nnorwitz nosy: +georg.brandl _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1757062> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1010] Broken bug tracker url
Georg Brandl added the comment: Fixed in rev. 57394. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1010> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1011] Wrong documentation for rfc822.Message.getheader
Georg Brandl added the comment: Thanks, fixed in rev. 57395. -- assignee: -> georg.brandl nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1011> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1006] Refactor test_winreg.py to use unittest.
Georg Brandl added the comment: Thanks! Committed as rev. 57397. -- assignee: -> georg.brandl nosy: +georg.brandl resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1006> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1012] Broken URL at Doc/install/index.rst
Georg Brandl added the comment: Fixed in rev. 57398. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1012> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1008] Refactor test_signal.py to use unittest.
Georg Brandl added the comment: Fixed and committed as rev. 57399. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1008> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue736962] Port tests to unittest (Part 2)
Georg Brandl added the comment: The patches in here have long been applied, and the remaining converts are handled using individual issues. -- nosy: +georg.brandl status: open -> closed Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue736962> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1399935] enhance unittest to define tests that *should* fail
Georg Brandl added the comment: Shouldn't the decorator name be lowercase? -- nosy: +georg.brandl _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1399935> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1703379] Refactor test_frozen.py to use unittest.
Georg Brandl added the comment: I've already ported this test a little differently before seeing this patch. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1703379> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1671298] Refactor test_class to use unittest lib
Georg Brandl added the comment: I've figured out the problem with your call stack: the comparison of callLst with the expected calls adds more calls to callLst, leading to a failing comparison. I've fixed this, but the new test still fails with regrtest -R:: -- will investigate. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1671298> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1671298] Refactor test_class to use unittest lib
Georg Brandl added the comment: Argh, the test modified the state of one of its classes. Fixed that and committed now as rev. 57409. -- assignee: collinwinter -> georg.brandl resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1671298> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1706039] Added clearerr() to clear EOF state
Changes by Georg Brandl: -- assignee: -> loewis _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1706039> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1013] eval error
Georg Brandl added the comment: This is not a bug. Integers beginning with "0" are octal literals in Python 2.x, and "9" is not a valid octal digit. Closing as Invalid. -- nosy: +georg.brandl resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1013> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue815646] thread unsafe file objects cause crash
Changes by Georg Brandl: -- priority: normal -> urgent severity: normal -> major type: -> crash Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue815646> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1778376] Segfault closing a file from concurrent threads
Georg Brandl added the comment: Actually, this is a dupe of #815646. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> thread unsafe file objects cause crash _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1778376> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1057] Incorrect URL with webbrowser and firefox under Gnome
Georg Brandl added the comment: The current code in the 2.5 branch uses shlex.split to postprocess the command line returned by gconftool too, so this should be already fixed. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1057> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1058] Code Example for 'property' bug
Georg Brandl added the comment: Kenneth Love schrieb: > New submission from Kenneth Love: > > The code example for 'property' in the online documentation appears to > have several syntax errors. > > In the class C, the functions getx, setx, and delx all refer to '_x', > but __init__ assigns '__x'. In other words, single underscores were > used where double underscores were intended (or vice versa?). This is already fixed in SVN and will be in the next released docs version. Thanks for reporting! -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1058> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1059] *args and **kwargs in function definitions
Georg Brandl added the comment: Lars Gustäbel schrieb: > For example in tarfile.rst and logging.rst there are function > definitions using *args and/or **kwargs like: > > .. function:: debug(msg[, *args[, **kwargs]]) > > The * and ** should be escaped IMO, so that they are not mistaken as > reStructuredText markup, which confuses the syntax coloring of my Vim. > While escaping * with a backslash works fine in normal text, it does not > work in a function definition and the backslash appears in the HTML output. This was done deliberately since for C function descriptions .. cfunction:: PyObject *Py_DoSomething(PyObject *obj1, ...) it's a PITA to escape all the stars. The reST highlighting of Vim seems to be insufficient not only in this regard (inline markup can't span paragraphs); may I convince you to use a real editor like Emacs? :) *ducks* Fine, fine, I'll see if I can add backslash processing there. But I won't add backslashes for all of the existing definitions. -- nosy: +georg.brandl __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1059> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1059] *args and **kwargs in function definitions
Georg Brandl added the comment: Lars Gustäbel schrieb: > Lars Gustäbel added the comment: > > Oh, I thought Emacs was an operating system, I didn't know you could > edit text files with it. You live and learn ;-) > > I suspected that this was intentional. If you make backslash escaping > optional, that's fine with me. Okay, fixed in rev. 57712. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1059> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1170311] zipfile UnicodeDecodeError
Georg Brandl added the comment: The docs say (at least the development docs) that Unicode filenames must be encoded to str before passing them to ZipFile.write(). (This issue will have to be solved differently for Py3k, I'll look into it.) -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1170311> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1193061] Python and Turkish Locale
Georg Brandl added the comment: Dupe of #1528802. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> Turkish Character _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1193061> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1528802] Turkish Character
Georg Brandl added the comment: If I'm not mistaken, "i".upper() will never be LATIN CAPITAL LETTER I WITH DOT ABOVE, regardless of the locale? _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1528802> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue883466] quopri encoding & Unicode
Georg Brandl added the comment: This is the same issue you can see with cStringIO.StringIO(u"abc").getvalue(). This behavior will not be changed, as per #1730114. Marc-Andre: would it be okay to add an explicit str() call in the StringIO calls in quopri_codec and uu_codec, so that non-ASCII unicode strings give an error on decode(), as binascii.b2a_qp() does? -- nosy: +georg.brandl Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue883466> ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1709599] run test_1565150(test_os.py) only on NTFS
Georg Brandl added the comment: Affects 2.5 only. -- nosy: +georg.brandl versions: +Python 2.5 -Python 2.6 _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1709599> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1680959] Add tests for pipes module (test_pipes)
Georg Brandl added the comment: Committed as rev. 57716. -- assignee: facundobatista -> georg.brandl nosy: +georg.brandl resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1680959> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1753395] struni: assertion in Windows debug build
Georg Brandl added the comment: Martin v. Löwis schrieb: > Martin v. Löwis added the comment: > > The patch looks fine to me, please apply. Done in rev. 57752. -- status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1753395> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1061] ABC caches should use weak refs
Georg Brandl added the comment: Guido van Rossum schrieb: > Guido van Rossum added the comment: > > On 8/30/07, Thomas Wouters <[EMAIL PROTECTED]> wrote: >> >> Thomas Wouters added the comment: >> >> Here's a working version of that idea, with a WeakSet implementation I >> had lying around (but never really used.) It seems to work, and fixes >> the refcount issues, but the WeakSet could do with some extra tests ;-) > > I was torturing the WeakSet implementation, but didn't get very far: > > Python 3.0x (py3k, Aug 30 2007, 09:27:35) > [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> from weakref import WeakSet as WS > [40407 refs] >>>> a = WS([1, 2, 3]) > Fatal Python error: Cannot recover from stack overflow. > Aborted The update() method can not be implemented in terms of converting the argument to a WeakSet, since that leads to infinite recursion on creation (as to why you get this fatal error, not a RuntimeError, no idea). Also, the fact that the operator-versions of set operations only support other sets as their second operands, while the method-versions support any iterable, is not preserved. Georg -- nosy: +georg.brandl __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1061> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1528802] Turkish Character
Changes by Georg Brandl: -- resolution: -> invalid status: open -> closed _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1528802> _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com