psychopy 2024.1.1__py3-none-any.whl → 2024.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of psychopy might be problematic. Click here for more details.

Files changed (81) hide show
  1. psychopy/__init__.py +2 -2
  2. psychopy/alerts/_alerts.py +6 -2
  3. psychopy/alerts/alertsCatalogue/alertmsg.py +15 -0
  4. psychopy/app/builder/dialogs/paramCtrls.py +4 -2
  5. psychopy/app/builder/localizedStrings.py +16 -4
  6. psychopy/app/locale/ar_001/LC_MESSAGE/messages.mo +0 -0
  7. psychopy/app/locale/cs_CZ/LC_MESSAGE/messages.mo +0 -0
  8. psychopy/app/locale/da_DK/LC_MESSAGE/messages.mo +0 -0
  9. psychopy/app/locale/de_DE/LC_MESSAGE/messages.mo +0 -0
  10. psychopy/app/locale/el_GR/LC_MESSAGE/messages.mo +0 -0
  11. psychopy/app/locale/en_NZ/LC_MESSAGE/messages.mo +0 -0
  12. psychopy/app/locale/en_US/LC_MESSAGE/messages.mo +0 -0
  13. psychopy/app/locale/es_ES/LC_MESSAGE/messages.mo +0 -0
  14. psychopy/app/locale/fa_IR/LC_MESSAGE/messages.mo +0 -0
  15. psychopy/app/locale/fi_FI/LC_MESSAGE/messages.mo +0 -0
  16. psychopy/app/locale/fr_FR/LC_MESSAGE/messages.mo +0 -0
  17. psychopy/app/locale/he_IL/LC_MESSAGE/messages.mo +0 -0
  18. psychopy/app/locale/hi_IN/LC_MESSAGE/messages.mo +0 -0
  19. psychopy/app/locale/hu_HU/LC_MESSAGE/messages.mo +0 -0
  20. psychopy/app/locale/it_IT/LC_MESSAGE/messages.mo +0 -0
  21. psychopy/app/locale/ja_JP/LC_MESSAGE/messages.mo +0 -0
  22. psychopy/app/locale/ja_JP/LC_MESSAGE/messages.po +3548 -5422
  23. psychopy/app/locale/ko_KR/LC_MESSAGE/messages.mo +0 -0
  24. psychopy/app/locale/ms_MY/LC_MESSAGE/messages.mo +0 -0
  25. psychopy/app/locale/nl_NL/LC_MESSAGE/messages.mo +0 -0
  26. psychopy/app/locale/nn_NO/LC_MESSAGE/messages.mo +0 -0
  27. psychopy/app/locale/pl_PL/LC_MESSAGE/messages.mo +0 -0
  28. psychopy/app/locale/pt_PT/LC_MESSAGE/messages.mo +0 -0
  29. psychopy/app/locale/ro_RO/LC_MESSAGE/messages.mo +0 -0
  30. psychopy/app/locale/ru_RU/LC_MESSAGE/messages.mo +0 -0
  31. psychopy/app/locale/sv_SE/LC_MESSAGE/messages.mo +0 -0
  32. psychopy/app/locale/tr_TR/LC_MESSAGE/messages.mo +0 -0
  33. psychopy/app/locale/zh_CN/LC_MESSAGE/messages.mo +0 -0
  34. psychopy/app/locale/zh_TW/LC_MESSAGE/messages.mo +0 -0
  35. psychopy/app/plugin_manager/plugins.py +1 -1
  36. psychopy/app/preferencesDlg.py +2 -1
  37. psychopy/demos/builder/Hardware/EEG_parallel_component/EEG_triggers_parallel_comp.psyexp +552 -550
  38. psychopy/demos/builder/Hardware/EEG_serial_component/EEG_triggers_serial_comp.psyexp +572 -570
  39. psychopy/demos/coder/timing/timeByFrames.py +7 -1
  40. psychopy/experiment/components/_base.py +122 -0
  41. psychopy/experiment/components/aperture/__init__.py +6 -2
  42. psychopy/experiment/components/brush/__init__.py +3 -1
  43. psychopy/experiment/components/button/__init__.py +6 -2
  44. psychopy/experiment/components/buttonBox/__init__.py +2 -1
  45. psychopy/experiment/components/camera/__init__.py +13 -0
  46. psychopy/experiment/components/code/__init__.py +34 -1
  47. psychopy/experiment/components/form/formItems.xltx +0 -0
  48. psychopy/experiment/components/polygon/__init__.py +14 -3
  49. psychopy/experiment/components/settings/__init__.py +4 -1
  50. psychopy/experiment/components/sound/__init__.py +1 -1
  51. psychopy/experiment/components/text/__init__.py +1 -1
  52. psychopy/experiment/params.py +17 -0
  53. psychopy/experiment/routines/_base.py +122 -0
  54. psychopy/hardware/button.py +4 -3
  55. psychopy/hardware/camera/__init__.py +6 -0
  56. psychopy/hardware/keyboard.py +7 -2
  57. psychopy/iohub/devices/eyetracker/hw/gazepoint/__init__.py +1 -1
  58. psychopy/iohub/devices/eyetracker/hw/gazepoint/gp3/__init__.py +1 -1
  59. psychopy/iohub/devices/eyetracker/hw/gazepoint/gp3/calibration.py +1 -1
  60. psychopy/iohub/devices/eyetracker/hw/gazepoint/gp3/eyetracker.py +1 -1
  61. psychopy/localization/generateTranslationTemplate.py +45 -19
  62. psychopy/localization/messages.pot +5049 -3418
  63. psychopy/preferences/Darwin.spec +2 -0
  64. psychopy/preferences/FreeBSD.spec +2 -0
  65. psychopy/preferences/Linux.spec +2 -0
  66. psychopy/preferences/Windows.spec +2 -0
  67. psychopy/preferences/baseNoArch.spec +2 -0
  68. psychopy/preferences/generateHints.py +2 -1
  69. psychopy/preferences/hints.py +118 -97
  70. psychopy/tools/fontmanager.py +1 -1
  71. psychopy/tools/versionchooser.py +1 -1
  72. psychopy/visual/noise.py +9 -0
  73. psychopy/visual/radial.py +8 -0
  74. psychopy/visual/secondorder.py +9 -0
  75. psychopy/visual/textbox2/textbox2.py +19 -21
  76. {psychopy-2024.1.1.dist-info → psychopy-2024.1.2.dist-info}/METADATA +2 -2
  77. {psychopy-2024.1.1.dist-info → psychopy-2024.1.2.dist-info}/RECORD +81 -53
  78. {psychopy-2024.1.1.dist-info → psychopy-2024.1.2.dist-info}/WHEEL +1 -1
  79. {psychopy-2024.1.1.dist-info → psychopy-2024.1.2.dist-info}/entry_points.txt +0 -0
  80. {psychopy-2024.1.1.dist-info → psychopy-2024.1.2.dist-info}/licenses/AUTHORS.md +0 -0
  81. {psychopy-2024.1.1.dist-info → psychopy-2024.1.2.dist-info}/licenses/LICENSE +0 -0
@@ -169,7 +169,7 @@ class PluginInfo:
169
169
  if ext in pil.registered_extensions():
170
170
  content = requests.get(self._requestedIcon).content
171
171
  writeOut = os.path.join(appPluginCacheDir, fname)
172
- with open(writeOut, 'wb', encoding='utf-8') as f:
172
+ with open(writeOut, 'wb') as f:
173
173
  f.write(content)
174
174
  self._icon = utils.ImageData(os.path.join(
175
175
  appPluginCacheDir, fname))
@@ -521,7 +521,8 @@ class PreferencesDlg(wx.Dialog):
521
521
  # set default locale ''
522
522
  default = locales.index('')
523
523
  # '' must be appended after other labels are translated
524
- labels = [_translate('system locale') + i for i in self.app.localization.available]
524
+ labels = self.app.localization.available.copy()
525
+ labels.insert(0, _translate('system locale'))
525
526
  self.proPrefs.addEnumItem(
526
527
  sectionName,
527
528
  pLabel,