[issue22790] some class attributes missing from dir(Class)

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: Why are __flags__, __basicsize__, __itemsize__, __dictoffset__, and __weakrefoffset__ interesting? I haven't said they are, but on the other hand I don't see why consistency is a bad thing. -- ___ Python tracker

[issue22796] Support for httponly/secure cookies reintroduced lax parsing behavior

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: These are unknown attributes after a key=value pair. What this issue is about is accepting attributes *before* any key=value pair. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22796

[issue22725] improve documentation for enumerate() (built-in function)

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: Missing keyword argument support is not the norm, it's the exception that is only due to implementation details in C code. Eventually, we'd like every C function to support keyword arguments. Converting everything is tedious work, though, and still makes things

[issue22650] set up and use VM for net access in the test suite

2014-11-03 Thread Georg Brandl
Georg Brandl added the comment: Nice! How do you plan to organize its setup? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22650 ___ ___ Python

[issue22780] NotImplemented doc section needs update

2014-11-03 Thread Georg Brandl
Georg Brandl added the comment: You add a label before that section and then reference it with :ref:. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22780

[issue22775] SimpleCookie not unpicklable with protocol 2+

2014-11-03 Thread Georg Brandl
Georg Brandl added the comment: Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22775 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue22758] Regression in Python 3.2 cookie parsing

2014-11-03 Thread Georg Brandl
Georg Brandl added the comment: That seems like the best course of action. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22758 ___ ___ Python

[issue22695] open() declared deprecated in python 3 docs

2014-11-03 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22695 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue22539] Table formatting errors in pydoc

2014-10-31 Thread Georg Brandl
Georg Brandl added the comment: Couldn't reproduce in 3.4.2. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22539

[issue22771] shutil.make_archive() doesn't use its verbose argument

2014-10-31 Thread Georg Brandl
New submission from Georg Brandl: It seems like verbose should be passed to the archival function, but it isn't. -- components: Library (Lib) messages: 230324 nosy: georg.brandl priority: normal severity: normal status: open title: shutil.make_archive() doesn't use its verbose argument

[issue22613] Several minor doc issues

2014-10-31 Thread Georg Brandl
Georg Brandl added the comment: All remaining points have been fixed. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22613

[issue22771] shutil.make_archive() doesn't use its verbose argument

2014-10-31 Thread Georg Brandl
Georg Brandl added the comment: That makes sense. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22771 ___ ___ Python-bugs-list mailing list

[issue22767] `separators` argument to json.dumps() behaves unexpectedly across 2.x vs 3.x

2014-10-30 Thread Georg Brandl
Georg Brandl added the comment: IMO the snowman should be a Unicode string in the second example for Python 2.7. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22767

[issue22767] `separators` argument to json.dumps() behaves unexpectedly across 2.x vs 3.x

2014-10-30 Thread Georg Brandl
Georg Brandl added the comment: in the second example or even, in both examples. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22767

[issue22758] Regression in Python 3.2 cookie parsing

2014-10-29 Thread Georg Brandl
Georg Brandl added the comment: OK, so there are two root issues here: * Django uses __init__(str()) roundtripping, which is not explicitly supported by the library, and worked by accident with previous versions. That it works again with 3.3+ is another accident, and a bug. (The change

[issue22760] re.sub does only first 16 replacements if re.S is used

2014-10-29 Thread Georg Brandl
Georg Brandl added the comment: The fourth parameter is not flags, but count, the max. number of substitutions. flags is the fifth parameter, or give it as a keyword argument. -- nosy: +georg.brandl resolution: - not a bug status: open - closed

[issue22759] pathlib: Path.exists broken

2014-10-29 Thread Georg Brandl
Georg Brandl added the comment: os.path.exists() ignores *all* OSErrors from stat. This is probably too broad, but only ignoring ENOENT is probably too narrow. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue22758] Regression in Python 3.2 cookie parsing

2014-10-29 Thread Georg Brandl
Georg Brandl added the comment: Thanks, this is indeed a regression. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22758 ___ ___ Python-bugs

[issue22748] Porting Extension Modules to Python 3 documentation mention about PyString_* functions in Python 3

2014-10-28 Thread Georg Brandl
Georg Brandl added the comment: Correct, there are no PyString_ functions in 3.x. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22748

[issue22749] remove obsolete remark in time.clock() docs

2014-10-28 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22749 ___ ___ Python-bugs-list mailing

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-28 Thread Georg Brandl
Georg Brandl added the comment: rdm: your suggestion sounds good. Note that the argument name is iterable in Py3. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22725

[issue22736] tutorial links at top, book recommendations at bottom of module documentation

2014-10-28 Thread Georg Brandl
Georg Brandl added the comment: I agree, the see also box is better off near the bottom, probably before the examples. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22736

[issue22305] Documentation on deepcopy's problems is misleading

2014-10-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22305 ___ ___ Python-bugs-list

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-27 Thread Georg Brandl
Georg Brandl added the comment: next() is quite unlike match() and search(), as you almost never use next() on iterators directly. Rather, the iterator is iterated by constructs like a for loop or a comprehension, or another function that consumes it (list, map, ...) -- nosy

[issue22740] Cache error

2014-10-27 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22740

[issue22650] set up and use VM for net access in the test suite

2014-10-26 Thread Georg Brandl
Georg Brandl added the comment: OK, a hopefully complete overview of the network-using tests and the services they use, checked by tracing connect() calls during a test run: * test_codecencodings_*, test_normalization, test_ucn: some Unicode-related data files from unicode.org:80 icu

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-25 Thread Georg Brandl
Georg Brandl added the comment: I felt the problem was self evident with sequence must be a sequence. The two words are not used in the same sense: the first names the argument of the function, the second is one of several possible object types you can pass for that argument

[issue22725] improve documentation for enumerate() (built-in function)

2014-10-25 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: -georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22725 ___ ___ Python-bugs-list

[issue22727] Improve benchmarks precision

2014-10-25 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22727 ___ ___ Python-bugs-list mailing

[issue22723] visited-link styling is not accessible

2014-10-24 Thread Georg Brandl
Georg Brandl added the comment: Sounds good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22723 ___ ___ Python-bugs-list mailing list

[issue22713] print()

2014-10-23 Thread Georg Brandl
Georg Brandl added the comment: This is as expected; the new global name print overrides the builtin name print. (What you could also have done to remove your binding is del print, which removes the global binding.) -- nosy: +georg.brandl resolution: - not a bug status: open

[issue13918] locale.atof documentation is missing func argument

2014-10-23 Thread Georg Brandl
Georg Brandl added the comment: And the first quote is wrong. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13918 ___ ___ Python-bugs-list

[issue22676] Creating the string representation of a module is slower

2014-10-21 Thread Georg Brandl
Georg Brandl added the comment: HasAttr would just call GetAttr and discard the exception. @ OP: what objects are you pickling? You can give them a __module__ attribute to save the lookup in sys.modules. -- nosy: +georg.brandl ___ Python tracker

[issue22676] _pickle's whichmodule() is slow

2014-10-21 Thread Georg Brandl
Georg Brandl added the comment: Attached patch addresses the repeated __repr__ calling and gives a 4x speedup here. -- keywords: +patch Added file: http://bugs.python.org/file36985/whichmodule_speedup.diff ___ Python tracker rep...@bugs.python.org

[issue22676] _pickle's whichmodule() is slow

2014-10-21 Thread Georg Brandl
Georg Brandl added the comment: I didn't have numpy anyway, I tested on a function with __module__ set to None manually. But I see the same speedup for Ellipsis. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22676

[issue22674] strsignal() missing from signal module

2014-10-20 Thread Georg Brandl
Georg Brandl added the comment: Is it possible to determine the range of signal numbers? Otherwise it would be a guessing game where to stop querying when filling up the dictionary. A problem is also that if the signal number is not valid, the return value of strsignal() is unspecified

[issue22675] typo in argparse.py

2014-10-20 Thread Georg Brandl
Georg Brandl added the comment: Yes, but those are no longer maintained. It's not a critical bug :) -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22675

[issue22674] strsignal() missing from signal module

2014-10-20 Thread Georg Brandl
Georg Brandl added the comment: Nice. However, strsignal() returns not just SIGINT, but Interrupted etc. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22674

[issue22670] wrong site-package installation even if correct libdir passed

2014-10-19 Thread Georg Brandl
Georg Brandl added the comment: It seems that you should give SCRIPTDIR=/usr/lib64 to the make install step, not the make step. Are you sure the slackbuild instructions are missing that? -- nosy: +georg.brandl resolution: - third party status: open - closed

[issue22663] patchcheck alters content of .png files

2014-10-19 Thread Georg Brandl
Georg Brandl added the comment: What's actually curious is Getting the list of files that have been added/changed ... 448 files. What does hg status say? Why are there 448 changed files? This is of course still a bug in patchcheck.py, it shouldn't touch non-RST files

[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-18 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- Removed message: http://bugs.python.org/msg229654 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22648

[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-18 Thread Georg Brandl
Georg Brandl added the comment: Removed the message containing the log. It is making it very clumsy to view this issue. Please resubmit as a file attachment. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22648

[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-18 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- Removed message: http://bugs.python.org/msg229655 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22648

[issue22653] Crash in insertdict

2014-10-17 Thread Georg Brandl
Georg Brandl added the comment: This is not a crash, but an abort, so it's not a security issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22653

[issue22644] Update Windows installers to OpenSSL 1.0.1j

2014-10-17 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22644 ___ ___ Python

[issue22644] Update Windows installers to OpenSSL 1.0.1j

2014-10-17 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: +benjamin.peterson, larry versions: +Python 2.7, Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22644

[issue21298] Cheese shop registration stopped working for me recently

2014-10-17 Thread Georg Brandl
Georg Brandl added the comment: Is this still a problem? If yes, I would contact the PyPI team directly, this tracker is not the right place for PyPI bugs. (It is unlikely to be a distutils bug.) -- nosy: +georg.brandl resolution: - third party status: open - pending

[issue21298] Cheese shop registration stopped working for me recently

2014-10-17 Thread Georg Brandl
Georg Brandl added the comment: OK, thanks for the feedback. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21298

[issue22651] Python 2: Open file in a+ mode on Windows doesn't go to the end

2014-10-16 Thread Georg Brandl
Georg Brandl added the comment: This is a somewhat unfortunate difference between the major C libs and Python's new IO, but probably too late to change. What's left to do is to document the behavior properly. -- assignee: - docs@python components: +Documentation -IO, Windows nosy

[issue22570] Better stdlib support for Path objects

2014-10-16 Thread Georg Brandl
Georg Brandl added the comment: `path = str(path)` is minimal, but has the side effect of accepting almost any object, which is definitely not what you'd like (where did that file named 'type object at ...' come from?!) -- ___ Python tracker rep

[issue22570] Better stdlib support for Path objects

2014-10-16 Thread Georg Brandl
Georg Brandl added the comment: Making old functions support `Path` sounds trivial to me We're looking forward to trivial patches that enable Path handling consistently throughout the stdlib. Fine, so you add an `if isinstance...` in front of it and you're done. Easier said than done in C

[issue22648] Unable to install Python 3.4.2 amd64 on Windows 8.1

2014-10-15 Thread Georg Brandl
Georg Brandl added the comment: Can you describe a bit more in detail at which step of the installer the error occurs? -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22648

[issue22650] set up and use VM for net access in the test suite

2014-10-15 Thread Georg Brandl
New submission from Georg Brandl: Our test suite currently contacts a range of hosts for different online tests, including python.org hosts. This has led to sudden breakages in the past, e.g. when www.python.org changed URLs or switched to https by default. It would probably a good idea

[issue22237] sorted() docs should state that the sort is stable

2014-10-14 Thread Georg Brandl
Georg Brandl added the comment: PyId_sort is not a function, it's a somewhat complicated way of getting a Python string sort (in this case, for looking up a method using PyObject_GetAttrId). The string object is cached, with is faster than constructing one every time

[issue22632] Official IDLE web page address is not valid

2014-10-14 Thread Georg Brandl
Georg Brandl added the comment: I guess a redirect could be added again. -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22632

[issue22634] importing _ctypes failed: undefined symbol: ffi_call_win32

2014-10-14 Thread Georg Brandl
Georg Brandl added the comment: This appears to be caused by the update to libffi version 3.1 in 3.4.2. -- keywords: +3.4regression nosy: +doko, georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22634

[issue22621] Please make it possible to make the output of hash() equal between 32 and 64 bit architectures

2014-10-13 Thread Georg Brandl
Georg Brandl added the comment: While I can feel your pain regarding the use case you describe, I don't think this has enough general value to add to CPython. It is not really related to PYTHONHASHSEED, since we never made guarantees about hash values being stable across platforms and Python

[issue9311] os.access can return bogus values when run as superuser

2014-10-13 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9311

[issue22621] Please make it possible to make the output of hash() equal between 32 and 64 bit architectures

2014-10-13 Thread Georg Brandl
Georg Brandl added the comment: Would your decision be more favorable if you received a patch implementing this feature? I'll keep this on pending for other devs to weigh in with opinions. In general, we are not keen on keeping text representations stable, as they do not form part

[issue22594] Add a link to the regex module in re documentation

2014-10-13 Thread Georg Brandl
Georg Brandl added the comment: currently more bugfree and intended to replace re The first part is spreading FUD if not explained in more detail. The second is probably never going to happend :( -- nosy: +georg.brandl ___ Python tracker rep

[issue22625] When cross-compiling, don’t try to execute binaries

2014-10-13 Thread Georg Brandl
Georg Brandl added the comment: You're right, this can be avoided (although you will also have to patch the extension module build, which uses the just-built python executable). This problem occurs twice in the build process, once for pgen and once for _freeze_importlib. The problem

[issue22625] When cross-compiling, don’t try to execute binaries

2014-10-13 Thread Georg Brandl
Georg Brandl added the comment: Indeed, that is an issue :( -- nosy: +doko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22625 ___ ___ Python-bugs

[issue22617] Jobs Opportunities in France/Canada

2014-10-12 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22617

[issue22617] spam

2014-10-12 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- title: Jobs Opportunities in France/Canada - spam ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22617

[issue22617] spam

2014-10-12 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- Removed message: http://bugs.python.org/msg229142 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22617

[issue22607] find by dichotomy the failing test

2014-10-11 Thread Georg Brandl
Georg Brandl added the comment: I don't think this feature is generally useful enough to be included. * Since you need to modify the test code anyway (adding the try-except), it is probably just as much work to do the selection there. * Why only add selection of subtests, and not of all

[issue22607] find by dichotomy the failing test

2014-10-11 Thread Georg Brandl
Georg Brandl added the comment: I requested the feature because I regulary need bisect (once a month, or maybe two months). Always within subtests? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22607

[issue15569] Doc doc: incorrect description of some roles as format-only

2014-10-11 Thread Georg Brandl
Georg Brandl added the comment: Thanks! -- nosy: +georg.brandl resolution: fixed - stage: resolved - needs patch status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15569

[issue18959] Create a Superseded modules section in standard library ToC

2014-10-11 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the patch. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18959 ___ ___ Python

[issue15569] Doc doc: incorrect description of some roles as format-only

2014-10-11 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15569

[issue21189] Broken link to patch

2014-10-11 Thread Georg Brandl
Georg Brandl added the comment: Ping? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21189 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue22607] find by dichotomy the failing test

2014-10-11 Thread Georg Brandl
Georg Brandl added the comment: You seem to be confusing the feature itself with the implementation. The fact that there is an acceptable implementation is another matter (and subtest_in_range.diff is not an implementation). You yourself were calling it a solution. A feature proposal

[issue22607] find by dichotomy the failing test

2014-10-11 Thread Georg Brandl
Georg Brandl added the comment: Sorry for not being more explicit and for being lazy doing a copy paste from msg 229022: I see, this was split off another issue (which was already closed). I agree that a bit more verbosity in the initial description would have prevented confusion

[issue22568] Use of utime as variable name in Modules/posixmodule.c causes errors

2014-10-09 Thread Georg Brandl
Georg Brandl added the comment: UTIME_TO_UTIMBUF actually still looks dodgy and UTIME_TO_TIME_T is completely broken. * There should be only one utimbuf structure, because it already contains both times (see man 2 utime). * UTIME_TO_TIME_T uses a type called struct timet which I don't think

[issue22586] urljoin allow_fragments doesn't work

2014-10-09 Thread Georg Brandl
Georg Brandl added the comment: The not allowed should be clarified. What is meant is that if allow_fragments is false, a fragment is parsed as part of the path. This doesn't make a difference for urljoin if the fragment is part of the second part. It does make a difference for the first

[issue22568] Use of utime as variable name in Modules/posixmodule.c causes errors

2014-10-09 Thread Georg Brandl
Georg Brandl added the comment: Jeffrey: I did not mean to devalue your patch, I just wanted to bring even more issues to Victor's attention. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22568

[issue22568] Use of utime as variable name in Modules/posixmodule.c causes errors

2014-10-09 Thread Georg Brandl
Georg Brandl added the comment: I'm sure you've improved the code. Without looking at the hg history, you've likely just inherited the broken C code from the previous version and made it prettier :) Since this breakage has not been reported so far, the last two #elses appear

[issue22579] Posix module init function name should not be compiler-dependent

2014-10-09 Thread Georg Brandl
Georg Brandl added the comment: There is also #if !defined(__QNX__) #if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) #define SEP L'\\' #define ALTSEP L'/' #define MAXPATHLEN 256 #define DELIM L';' #endif #endif in Include/osdefs.h -- nosy

[issue22568] Use of utime as variable name in Modules/posixmodule.c causes errors

2014-10-07 Thread Georg Brandl
Georg Brandl added the comment: Patch LGTM. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22568 ___ ___ Python-bugs-list

[issue22507] PyType_IsSubtype doesn't call __subclasscheck__

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: This is indeed intended. I'll update the docs. -- nosy: +georg.brandl resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22507

[issue9417] Declaring a class creates circular references

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: I don't think this can go somewhere useful. -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9417

[issue21480] A build now requires...

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: asdl.py is fixed to work with 2.7 as of 3b2af26f4638. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21480

[issue6359] pyexpat.c calls trace function incorrectly for exceptions

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: A more complete patch that also fixes up pyexpat's frame trickery is tracked in #22462. -- nosy: +georg.brandl resolution: - duplicate status: open - closed superseder: - Modules/pyexpat.c violates PEP 384

[issue22462] Modules/pyexpat.c violates PEP 384

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: Not sure how this can violate PEP 384, as it doesn't make it mandatory for builtin extensions to use the stable ABI. The other concerns seem valid, although I don't like how the patch includes an unrelated change to ctypes. -- nosy: +georg.brandl

[issue16429] Emit SyntaxWarning for code that risks UnboundLocalError

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: I seem to recall that this was rejected into the realm of linters in a python-dev discussion. If there is a chance of false positives, having Python emit the warning would be annoying because there is no convenient way of telling it to shut up about

[issue16518] add buffer protocol to glossary

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: Please open a new issue for those. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16518

[issue21784] __init__.py can be a directory

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: I agree, closing. -- nosy: +georg.brandl resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21784

[issue13101] Module Doc viewer closes when browser window closes on Windows 8

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: pydoc.gui() no longer exists in supported versions. -- nosy: +georg.brandl resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13101

[issue21072] Python docs and downloads not available for Egypt

2014-10-06 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: - fixed status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21072

[issue22570] Better stdlib support for Path objects

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: Since we're unlikely to ever change all the places, I'd say it's better to be consistent. I'd rather write str(path) all over the place than having to look up in the docs each time if that specific API happens to support passing Paths directly. However

[issue17078] string.Template.safe_substitute hard-wires braces as {}

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: Done in 8a98ee6baa1e. Thanks! -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17078

[issue17078] string.Template.safe_substitute hard-wires braces as {}

2014-10-06 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17078

[issue16155] Some minor doc fixes in Doc/faq

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: Thanks! -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16155 ___ ___ Python-bugs-list

[issue22570] Better stdlib support for Path objects

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: I was about to suggest deriving your own Path class from Path and str, but got a base class layout conflict because Path objects define lots of __slots__ :( -- ___ Python tracker rep...@bugs.python.org http

[issue22570] Better stdlib support for Path objects

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: That would be a rather horrible solution. I know :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22570

[issue10583] Encoding issue with chm help in 2.7.1

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: Agreed, closing. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10583

[issue22462] Modules/pyexpat.c violates PEP 384

2014-10-06 Thread Georg Brandl
Georg Brandl added the comment: I think it is unreasonable to expect authors of 3rd party modules to respect PEP 384 if the standard library does not. I don't understand why you think that. PEP 384 is intended to provide the means to maintain binary compatibility of extension modules so

[issue20997] Wrong URL fragment identifier in search result

2014-10-05 Thread Georg Brandl
Georg Brandl added the comment: Not a Python issue. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20997 ___ ___ Python

[issue18043] No mention of `match.regs` in `re` documentation

2014-10-04 Thread Georg Brandl
Georg Brandl added the comment: I'm wondering what regs is supposed to stand for. It might be for regions, but that term is used nowhere else. It should really be named spans to be consistent. -- nosy: +georg.brandl ___ Python tracker rep

[issue22540] speed up isinstance and issubclass for the usual cases

2014-10-04 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22540

<    1   2   3   4   5   6   7   8   9   10   >