[issue25051] 'compile' refuses BOM.

2015-09-10 Thread Piotr
New submission from Piotr: Similar to Issue 679880 >>> compile(open("bom3.py").read(), "bom3.py", 'exec') Traceback (most recent call last): File "", line 1, in File "bom3.py", line 1 # coding: utf-8 ^ SyntaxEr

[issue25051] 'compile' refuses BOM.

2015-09-10 Thread Piotr
Piotr added the comment: Ok I have tried it(I had to remove ЉЊЈЁЂ from *.txt - my cp is 1250): c:\tmp>type test.py compile(open("tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt").read(), "bom3.py", 'exec') c:\tmp>c:\Python34\python.exe test.py Trace

[issue23930] SimpleCookie doesn't parse comma-only separated cookies correctly

2015-04-13 Thread Piotr
New submission from Piotr: Skype WISPr and iPassConnect (and maybe other bots) return cookies as a comma separated list. It's not a comma + space (which works). C = cookies.SimpleCookie() C.load('a=b,z=zz') >>> C['a'] I wonder what would those bots do if t

[issue1660009] continuing problem with httplib multiple set-cookie headers

2011-12-04 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <http://bugs.python.org/issue1660009> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3276] httplib.HTTPConnection._send_request should not blindly assume dicts for headers

2011-12-04 Thread Piotr Dobrogost
Changes by Piotr Dobrogost : -- nosy: +piotr.dobrogost status: pending -> open ___ Python tracker <http://bugs.python.org/issue3276> ___ ___ Python-bugs-lis

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2012-01-02 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @Lehmann You have to have either Visual Studio 2008 or Visual C++ Express 2008 installed. The folder where vcvarsall.bat file is being looked for is read from the registry. It's either HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudi

[issue12339] logging.Formatter.format() assumes exception to support str() method which is not true for many libraries.

2011-06-15 Thread Piotr Czachur
New submission from Piotr Czachur : If I want my application to be bullet-proof against external libraries that can (and often do) raise Exception(u'nonascii'), I cannot use python's logger.exception() directly, as it will end up with UnicodeDecodeError. The reas

[issue12562] calling mmap twice fails on Windows

2011-07-14 Thread Piotr Zolnierczuk
New submission from Piotr Zolnierczuk : Hi, I am trying to migrate from Python 2.5 to Python 2.7 I found though the mmap behaves differently on Windows XP between the two versions. It boils down to the following code: import mmap map1 = mmap.mmap(fileno=0, tagname='MyData', length=

[issue12562] calling mmap twice fails on Windows

2011-07-14 Thread Piotr Zolnierczuk
Changes by Piotr Zolnierczuk : -- components: +Windows type: -> behavior ___ Python tracker <http://bugs.python.org/issue12562> ___ ___ Python-bugs-list mai

[issue2733] mmap resize fails on anonymous memory

2011-07-27 Thread Piotr Zolnierczuk
Piotr Zolnierczuk added the comment: I wonder if this is related to the problem I reported about two weeks ago http://bugs.python.org/issue12562? -- nosy: +zolnie ___ Python tracker <http://bugs.python.org/issue2

[issue12562] calling mmap twice fails on Windows

2011-08-01 Thread Piotr Zolnierczuk
Piotr Zolnierczuk added the comment: OK. I will work around it. I was using 'mapping object of a specified size that is backed by the system paging file instead of by a file in the file system' - map->handle == INVALID_HANDLE_VALUE (-1), i.e. shared memory for inter-process

[issue12562] calling mmap twice fails on Windows

2011-08-01 Thread Piotr Zolnierczuk
Piotr Zolnierczuk added the comment: Just looked into my "partner" C++ code and he's using it very much like in Python 2.5: m_obj->map_handle = CreateFileMapping (INVALID_HANDLE_VALUE, NULL,

[issue10208] add mazovia.py to encodings/

2010-10-26 Thread Piotr Matuszewski
New submission from Piotr Matuszewski : mazovia is an old encoding for Polish language, it's modified cp437 (more info at http://en.wikipedia.org/wiki/Mazovia_encoding and (in Polish, but tables are useful anyway) http://pl.wikipedia.org/wiki/Mazovia_(kod) ) -- components: Li

[issue10208] add mazovia.py to encodings/

2010-10-29 Thread Piotr Matuszewski
Piotr Matuszewski added the comment: it's still used by some business in Poland, who have DOS based systems, but I don't think any new deployments are using it -- ___ Python tracker <http://bugs.python.o

[issue11507] Misspelled exercises

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_exercises.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled exercises type: behavior versions: Python 3.4 Added file: http://bugs.python.org/file21132

[issue11514] Misspelled access

2011-03-14 Thread Piotr Kasprzyk
New submission from Piotr Kasprzyk : Misspelled: access -- components: Extension Modules files: misspelled_access.patch keywords: patch messages: 130933 nosy: kwadrat priority: normal severity: normal status: open title: Misspelled access type: behavior versions: Python 3.3 Added file

[issue11515] Misspelled actually

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_actually.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled actually versions: Python 3.3 Added file: http://bugs.python.org/file21156/misspelled_actually.patch

[issue11516] Misspelled additionally

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Windows files: misspelled_additionally.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled additionally type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21157

[issue11517] Misspelled

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- assignee: ronaldoussoren components: Extension Modules, Macintosh nosy: kwadrat, ronaldoussoren priority: normal severity: normal status: open title: Misspelled type: behavior ___ Python tracker <http://bugs.python.

[issue11517] Misspelled aforementioned

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: -Macintosh keywords: +patch title: Misspelled -> Misspelled aforementioned versions: +Python 3.3 Added file: http://bugs.python.org/file21158/misspelled_aforementioned.patch ___ Python tracker &l

[issue11518] Misspelled algorithm 2

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_algorithm2.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled algorithm 2 type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21159

[issue11519] Misspelled algorithm

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_algorithm.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled algorithm type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21160

[issue11520] Misspelled alignment 2

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_alignment2.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled alignment 2 type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21161

[issue11521] Misspelled alignment3

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- nosy: kwadrat priority: normal severity: normal status: open title: Misspelled alignment3 type: behavior ___ Python tracker <http://bugs.python.org/issue11

[issue11521] Misspelled alignment3

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: +Library (Lib) keywords: +patch versions: +Python 3.3 Added file: http://bugs.python.org/file21162/misspelled_alignment3.patch ___ Python tracker <http://bugs.python.org/issue11

[issue11521] Misspelled alignment3

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: +Extension Modules -Library (Lib) ___ Python tracker <http://bugs.python.org/issue11521> ___ ___ Python-bugs-list mailin

[issue11522] Misspelled alignment 4

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Extension Modules files: misspelled_alignment4.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled alignment 4 type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21164

[issue11523] Misspelled alignment 5

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Extension Modules files: misspelled_alignment5.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled alignment 5 type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21165

[issue11524] Misspelled alignment 6

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Extension Modules files: misspelled_alignment6.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled alignment 6 type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21166

[issue11525] Misspelled alignment

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Extension Modules files: misspelled_alignment.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled alignment type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21167

[issue11526] Misspelled alignment

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Extension Modules files: misspelled_alignment.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled alignment type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21168

[issue11526] Misspelled alignment

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : Removed file: http://bugs.python.org/file21168/misspelled_alignment.patch ___ Python tracker <http://bugs.python.org/issue11526> ___ ___ Pytho

[issue11526] Misspelled along

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: +Library (Lib) -Extension Modules title: Misspelled alignment -> Misspelled along Added file: http://bugs.python.org/file21169/misspelled_along.patch ___ Python tracker <http://bugs.python.org/issu

[issue11527] Misspelled ambiguous

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Installation files: misspelled_ambiguous.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled ambiguous type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21170

[issue11528] Misspelled anonymously

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_anonymously.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled anonymously type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21171

[issue11529] Misspelled application 2

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_application2.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled application 2 type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21172

[issue11530] Misspelled application

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_application.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled application type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21173

[issue11531] Misspelled applications

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_applications.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled applications type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21174

[issue11532] Misspelled arbitrary 2

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Interpreter Core files: misspelled_arbitrary2.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled arbitrary 2 type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21175

[issue11533] Misspelled arbitrary

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Interpreter Core files: misspelled_arbitrary.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled arbitrary type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21176

[issue11534] Misspelled architecture, control

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- assignee: ronaldoussoren components: Macintosh files: misspelled_architecture_control.patch keywords: patch nosy: kwadrat, ronaldoussoren priority: normal severity: normal status: open title: Misspelled architecture, control type: behavior versions: Python

[issue11535] Misspelled architecture

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Windows files: misspelled_architecture.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled architecture type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21178

[issue11536] Misspelled arguments 2

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_arguments2.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled arguments 2 type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21179

[issue11537] Misspelled arguments

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Extension Modules files: misspelled_arguments.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled arguments type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21180

[issue11538] Misspelled assign

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_assign.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled assign type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21181

[issue11539] Misspelled associated

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- nosy: kwadrat priority: normal severity: normal status: open title: Misspelled associated type: behavior ___ Python tracker <http://bugs.python.org/issue11

[issue11539] Misspelled associated

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: +Extension Modules keywords: +patch versions: +Python 3.3 Added file: http://bugs.python.org/file21182/misspelled_associated.patch ___ Python tracker <http://bugs.python.org/issue11

[issue11540] Misspelled assume

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- assignee: ronaldoussoren components: Macintosh files: misspelled_assume.patch keywords: patch nosy: kwadrat, ronaldoussoren priority: normal severity: normal status: open title: Misspelled assume type: behavior versions: Python 3.3 Added file: http

[issue11541] Misspelled attribute

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_attribute.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled attribute type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21184

[issue11542] Misspelled augmented

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Extension Modules files: misspelled_augmented.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled augmented type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21185

[issue11543] Misspelled available, instances

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_available_instances.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled available, instances type: behavior versions: Python 3.3 Added file: http

[issue11544] Misspelled avoid

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_avoid.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled avoid type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21187

[issue11545] Misspelled backtracking

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Interpreter Core files: misspelled_backtracking.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled backtracking type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21189

[issue11546] Misspelled between

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_between.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled between type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21190

[issue11547] Misspelled between

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- components: Library (Lib) files: misspelled_between.patch keywords: patch nosy: kwadrat priority: normal severity: normal status: open title: Misspelled between type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file21191

[issue11547] Misspelled between

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : Removed file: http://bugs.python.org/file21191/misspelled_between.patch ___ Python tracker <http://bugs.python.org/issue11547> ___ ___ Pytho

[issue11547] Misspelled builtin

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : -- title: Misspelled between -> Misspelled builtin Added file: http://bugs.python.org/file21192/misspelled_builtin.patch ___ Python tracker <http://bugs.python.org/issu

[issue11515] Misspelled actually

2011-03-14 Thread Piotr Kasprzyk
Piotr Kasprzyk added the comment: Good idea, I will try to group the rest of comments. -- ___ Python tracker <http://bugs.python.org/issue11515> ___ ___ Pytho

[issue11515] Misspelled actually

2011-03-14 Thread Piotr Kasprzyk
Piotr Kasprzyk added the comment: I will connect everything in one file. -- ___ Python tracker <http://bugs.python.org/issue11515> ___ ___ Python-bugs-list mailin

[issue11515] Misspelled actually

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : Added file: http://bugs.python.org/file21194/misspelled_together.patch ___ Python tracker <http://bugs.python.org/issue11515> ___ ___ Pytho

[issue11515] Misspelled actually

2011-03-14 Thread Piotr Kasprzyk
Changes by Piotr Kasprzyk : Removed file: http://bugs.python.org/file21156/misspelled_actually.patch ___ Python tracker <http://bugs.python.org/issue11515> ___ ___ Pytho

[issue11565] Another (the last) group of misspellings

2011-03-15 Thread Piotr Kasprzyk
New submission from Piotr Kasprzyk : This it the second (and last) part of misspellings. Please also close/reject issue 11507 - it is outdated. -- components: None files: another_misspellings.patch keywords: patch messages: 131061 nosy: ezio.melotti, kwadrat priority: normal severity

[issue10154] locale.normalize strips "-" from UTF-8, which fails on Mac

2011-04-22 Thread Piotr Sikora
Piotr Sikora added the comment: It's the same on OpenBSD (and I'm pretty sure it's true for other BSDs as well). >>> locale.resetlocale() Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.6/locale.py", line

[issue11991] test_distutils fails because of bad filename match

2011-05-03 Thread Piotr Husiatyński
New submission from Piotr Husiatyński : I'm using Arch Linux, which instead of compress, provides symlink to gzip (AFAIK this will be replaced with xz). Because of that, instead of .Z extension, .gz is being used to create compressed file name. $ ./python -m test test_distutils

[issue10923] Python 2.7 hangs on Unicode+threading

2011-01-16 Thread Piotr Maślanka
New submission from Piotr Maślanka : Python 2.7.1(x86 MSI), binary downloaded from python.org, hangs quite reliably. Code: with open(threadspecific, 'ab') as x: txt = unicode(str_or_unicode_parameter).encode('utf8') x.write(txt+'\r\n') However, it doesn't

[issue10923] Python 2.7 hangs on Unicode+threading

2011-01-16 Thread Piotr Maślanka
Piotr Maślanka added the comment: I runned it over again with code: print 'Acquiring lock' self.loglock.acquire() print 'Attempting to convert' if type(text) == unicode: text = text.encode('utf8', errors='strict') print 'Opening '+threadspec

[issue10923] Python 2.7 hangs on Unicode+threading

2011-01-17 Thread Piotr Maślanka
Piotr Maślanka added the comment: I ripped some stuff from the project I'm working on, undependencing it on any my libraries. Can someone with similar conf(Win7 x86-64, Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32) confirm this? Dire

[issue3228] mailbox.mbox creates files with execute bit set

2008-06-28 Thread Piotr Lewandowski
New submission from Piotr Lewandowski <[EMAIL PROTECTED]>: #v+ $ umask 0077 $ stat /tmp/foobar stat: cannot stat `/tmp/foobar': No such file or directory $ python -c "from mailbox import mbox; m=mbox('/tmp/foobar', create=True); m.add(''); m.close()"

[issue3465] doctest unable to use '...' for unicode literals

2008-07-29 Thread Piotr Wysocki
New submission from Piotr Wysocki <[EMAIL PROTECTED]>: Might be related to 2811 -- components: Library (Lib) files: doctest_problem.py messages: 70382 nosy: wysek severity: normal status: open title: doctest unable to use '...' for unicode literals versions: Python 2.5

[issue3465] doctest unable to use '...' for unicode literals

2008-07-29 Thread Piotr Wysocki
Piotr Wysocki <[EMAIL PROTECTED]> added the comment: As I would like to use '...' in order not to care about some part of a unicode string containing unicode literals (using ELLIPSIS). The unicode string is inside the value of a dict returned by a function. It is working on Pyth

[issue3465] doctest unable to use '...' for unicode literals

2008-07-29 Thread Piotr Wysocki
Piotr Wysocki <[EMAIL PROTECTED]> added the comment: I am attaching the output of doctest_problem.py on Python 2.5.2 in case it is necessary. At the moment I haven't a clue where to look for a bug. Anybody? ;) -- components: +Tests, Unicode Added file: http://bugs.python.or

[issue3445] Ignore missing attributes in functools.update_wrapper

2008-08-21 Thread Piotr Findeisen
Piotr Findeisen <[EMAIL PROTECTED]> added the comment: IMO, I'd be better to always ignore missing attributes. Consider another use case (following code I've posted also on comp.lang.python): from functools import wraps, partial def never_throw(f): @wraps(f) def wrapper

[issue8233] extend py_compile to compile files from stdin

2010-03-25 Thread Piotr Ożarowski
New submission from Piotr Ożarowski : Following issue 8140 - attached patches add functionality to take file names to be compiled from standard input in py_compile module (if '-' is the only parameter in args) -- components: Library (Lib) files: py_compile.py.diff keywo

[issue8233] extend py_compile to compile files from stdin

2010-03-25 Thread Piotr Ożarowski
Changes by Piotr Ożarowski : Added file: http://bugs.python.org/file16659/py_compile.py.diff ___ Python tracker <http://bugs.python.org/issue8233> ___ ___ Python-bug

[issue1054967] bdist_deb - Debian packager

2010-04-30 Thread Piotr Ożarowski
Changes by Piotr Ożarowski : -- nosy: +piotr ___ Python tracker <http://bugs.python.org/issue1054967> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3876] multiprocessing does not compile on systems which do not define sem_timedwait

2008-10-25 Thread Piotr Meyer
Piotr Meyer <[EMAIL PROTECTED]> added the comment: I confirm build failure on NetBSD 4.0.1 (latest stable) - but NetBSD-current is - probably - also affected: *** WARNING: renaming "_multiprocessing" since importing it failed: build/lib.netbsd-4.0.1-i386-2.6/_multiprocessing.s

[issue43312] Interface to select preferred "user" or "home" sysconfig scheme for an environment

2021-03-11 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue43312> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44677] CSV sniffing falsely detects space as a delimiter

2021-07-19 Thread Piotr Tokarski
New submission from Piotr Tokarski : Let's consider the following CSV content: "a|b\nc| 'd\ne|' f". The real delimiter in this case is '|' character while ' ' is sniffed. Find verbose example attached. Problem lays in csv.py file in the followin

[issue44677] CSV sniffing falsely detects space as a delimiter

2021-07-20 Thread Piotr Tokarski
Piotr Tokarski added the comment: Test sample: ``` import csv from io import StringIO def csv_text(): return StringIO("a|b\nc| 'd\ne|' f") with csv_text() as input_file: print('The following text is going to be parsed:') print(input_file.read(

[issue44677] CSV sniffing falsely detects space as a delimiter

2021-07-20 Thread Piotr Tokarski
Piotr Tokarski added the comment: I think changing `(?P["\']).*?(?P=quote)` to `(?P["\'])[^\n]*?(?P=quote)` in all regexes does the trick, doesn't it? -- ___ Python tracker <https:

[issue24132] Direct sub-classing of pathlib.Path

2020-04-03 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue24132> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5654] Add C hook in PyDict_SetItem for debuggers

2020-04-07 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue5654> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42481] Add to pathlib function to check permission similar to os.access

2020-11-27 Thread Piotr Kopalko
New submission from Piotr Kopalko : Path('example.toml').permissions() == Permissions(owner=(READ, WRITE, EXECUTE), group=(READ), other=(,)) -- ___ Python tracker <https://bugs.python.o

[issue42443] Provide Thread creation hook support

2020-12-16 Thread Piotr Stanczyk
Piotr Stanczyk added the comment: Friendly ping - does the proposal sound fine? -- ___ Python tracker <https://bugs.python.org/issue42443> ___ ___ Python-bug

[issue36318] Adding support for setting the "disabled" attribute of loggers from logging.config.dictConfig

2020-08-31 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue36318> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36318] Adding support for setting the "disabled" attribute of loggers from logging.config.dictConfig

2020-10-13 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: I strongly agree with arguments given by the original poster. Stackoverflow's questions cited show the functionality of disabling logger is something people are looking for. Disabling logger by setting high enough level seems to be a workaround at

[issue42443] Provide Thread creation hook support

2020-11-23 Thread Piotr Stanczyk
New submission from Piotr Stanczyk : For monitoring purposes we would like to have a way of registering newly created Python threads with a runtime. For that reason we ask to add a thread creation hook inside threading.py. There are 2 similar hooks already (_profile_hook and _trace_hook

[issue42443] Provide Thread creation hook support

2020-11-24 Thread Piotr Stanczyk
Piotr Stanczyk added the comment: Thanks Christian for looking into this, please find my responses inlined: > * IMO it should be called after profiling and tracing hook, so non-trivial > hooks can be profiled and traced. Makes sense, Done. > * It's important to define and d

[issue42481] Add to pathlib function to check permission similar to os.access

2020-11-27 Thread Piotr Kopalko
Change by Piotr Kopalko : -- nosy: copalco priority: normal severity: normal status: open title: Add to pathlib function to check permission similar to os.access type: enhancement ___ Python tracker <https://bugs.python.org/issue42

[issue4080] pyunit - display time of each test case - patch

2012-02-29 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: @Michael Foord > I am in the process of creating an extension mechanism for unittest > which will make adding this sort of use case to unittest much easier How is it going? -- nosy: +piotr.dobrogost ___

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-05-28 Thread Piotr Karkut
Piotr Karkut added the comment: Bump? -- ___ Python tracker <https://bugs.python.org/issue36053> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-07-24 Thread Piotr Karkut
Piotr Karkut added the comment: bump -- ___ Python tracker <https://bugs.python.org/issue36053> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2517] Error when printing an exception containing a Unicode string

2019-01-08 Thread Piotr Dobrogost
Change by Piotr Dobrogost : -- nosy: +piotr.dobrogost ___ Python tracker <https://bugs.python.org/issue2517> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2517] Error when printing an exception containing a Unicode string

2019-01-10 Thread Piotr Dobrogost
Piotr Dobrogost added the comment: Benjamin Peterson in comment https://bugs.python.org/issue2517#msg64771 wrote: "That is because Python encodes it's error messages as ASCII by default…" Could somebody please point where in the source code of Python

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.pah

2019-02-20 Thread Piotr Karkut
New submission from Piotr Karkut : When walk_packages encounter a package with a name that is available in sys.path, it will abandon the current package, and start walking the package from the sys.path. Consider this file layout: ``` PYTHONPATH/ ├──package1/ | ├──core

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-02-20 Thread Piotr Karkut
Change by Piotr Karkut : -- title: pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.pah -> pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path ___ Pyt

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-02-20 Thread Piotr Karkut
Change by Piotr Karkut : -- keywords: +patch pull_requests: +11982 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36053> ___ ___ Py

[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-18 Thread Piotr Wysocki
Changes by Piotr Wysocki : -- nosy: +Piotr Wysocki ___ Python tracker <http://bugs.python.org/issue30395> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-03-28 Thread Piotr Karkut
Piotr Karkut added the comment: Bump -- ___ Python tracker <https://bugs.python.org/issue36053> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36053] pkgutil.walk_packages jumps out from given path if there is package with the same name in sys.path

2019-04-08 Thread Piotr Karkut
Piotr Karkut added the comment: Nick: From what I've checked, it jumps in case the module is already imported. The problem is that the original implementation is quite naive, and it's trying to import the module before looking for it in `sys.modules` - So if the module with a c

  1   2   3   >